noBrkFrame=false
if(window.parent!=this){
	if(!window.parent.document.getElementById("toc")) window.open(window.location,"_top")
	else noBrkFrame=true
}
document.write("<link rel='SHORTCUT ICON' href='../favicon.ico' title='Judex a/s'>")

redirect = true
verPoint=navigator.appVersion.indexOf("MSIE ")
iVersion=0
if(verPoint>0){
		iVersion = eval(navigator.appVersion.substring(verPoint+5,verPoint+6))
	if(iVersion>=4) redirect=false
}
//if(redirect) window.location="Unsupported/InvalidBrowser.html"
//fontColor="#666666"
//fontColorHigh="#005A7B" Judex logo dark blue
//fontColorDot="#00D6E7"  Judex logo light blue 002931 Judex logo dot in header
//fontColorHigh="#0000A0"

fontColor="#000000"
fontColorHeaderHigh="#0096C8"
fontColorHigh="#0066FF"
fontColorTitle="#000000"
fontColorSubTitle="#000000"
fontColorSubSubTitle="#000000"
fontColorDot="#00D6E7"

fontWeightHeaderLinks="bold"
fontSizeHeaderLinks="13px"

if(iVersion>=4) document.body.style.visibility="hidden"
window.onload=doOnLoad
window.onresize=windowResized

document.oncontextmenu=showMenu; 
rotate=new Array("../projects/amphi.html","../_icons/amphi","amPHI - a Telemedicine project","../projects/treat.html","../_icons/treat","Treat - a Decision Support project","../projects/viking.html","../_icons/viking","Viking - a Biomedical Engineering project")

tabArray = null
if(typeof(useTab)=="undefined") useTab=-1
if(typeof(useSubTab)=="undefined") useSubTab=-1
if(typeof(globalTab)=="undefined") globalTab=-1

/*
if(typeof(DKlink)=="string"){
// English menu's
	if(useTab==1) tabArray = new Array("products.html","EMG;Electromyography",new Array("products.html#viking","VikingSelect","products.html#quest","VikingQuest","products.html#tst","Triple Stimulation Technique;TST","products.html#nicoletone","NicoletOne"),"iom.html","IOM;Interoperative Monitoring",new Array("iom.html#vik","VikingSelect","iom.html#endeavor","Endeavor CR","iom.html#neuro100","Neurosign 100","iom.html#neuro400","Neurosign 400","iom.html#neuro800","Neurosign 800"),"ep.html","EP;Evoked Potientials",new Array("ep.html#viking","VikingSelect","ep.html#quest","VikingQuest","ep.html#ganzfeld","Ganzfeld","ep.html#2015","2015 Visual Stimulator","ep.html#erg","ERG/EOG","ep.html#nicoletone","NicoletOne"),"eeg.html","EEG;Electroencephalography",new Array("eeg.html#nicoletone","NicoletOne","eeg.html#endeavor","Endeavor CR","eeg.html#bmsi","BMSI 6000","eeg.html#image","ImageVue"),"magnetic_stim.html","Magnetic Stim.;Magnetic Stimulation",new Array("magnetic_stim.html#mag200","Magstim Model 200","magnetic_stim.html#mag220","Magstim Model 220","magnetic_stim.html#bistim","Bistim Module","magnetic_stim.html#rapid","Magstim Rapid","magnetic_stim.html#coils","Coils"),"pain_measur.html","Pain;Pain Measurement",new Array("pain_measur.html#vonfrey","VonFrey Aesthesiometer","pain_measur.html#evonfrey","Electronic VonFrey","pain_measur.html#msa","MSA Thermotester","pain_measur.html#algo","Algometer II","pain_measur.html#thermo","Thermoroller","pain_measur.html#pain","Painroller"),"rehabilitation.html","Rehab.;Rehabilitation",new Array("rehabilitation.html#automove","AutoMove AM800","rehabilitation.html#e3000","Upper Limb Exerciser E3000","rehabilitation.html#V900S","V900S","rehabilitation.html#h400","pointer Accessory Kit H400","rehabilitation.html#h400s","Stand Alone pointer Kit H400s","rehabilitation.html#l300","Lever Arm L300","rehabilitation.html#pinch","Pinchmeter","rehabilitation.html#FP1","Force Plate FP1","rehabilitation.html#dyna","Dynamometer","rehabilitation.html#R400","R400 Range of Motion Kit","rehabilitation.html#cx4","CX4 Accessory Communications Unit","rehabilitation.html#gonio","Goniometer/Torsiometer",
"rehabilitation.html#adu301","Angle Display Unit ADU301","rehbilitation.html#dl1001","Data Logger DL1001","rehabilitation.html#systems","Complete Systems"),"neuro_acces_elektrocaps.html","Supplies",new Array("neuro_acces_elektrocaps.html","Electro-Caps & Supplies","neuro_acces_elektrodes.html","Electrodes & Accessories","neuro_acces_paste.html","Paste, Gel & Skin Prep"))
	if(useTab==2) tabArray = new Array("defibrillator.html","AED Defibrillators",new Array("defibrillator.html#zollaed","ZOLL AED Plus"),"vascular_diag.html","Vascular Diagnostic",new Array("vascular_diag.html#vasoguard","Vasoguard","vascular_diag.html#microlite","Vasoguard MicroLite","vascular_diag.html#versalab","VersaLab"),"cardiovascular.html","Dopplers;TCD Dopplers & Pocket Dopplers",new Array("cardiovascular.html#4040","Pioneer 4040 TCD","cardiovascular.html#legend","Legend TC22","cardiovascular.html#companion","Companion II TCD","cardiovascular.html#8080","Pioneer 8080 TCD","cardiovascular.html#sim","TCD Simulator","cardiovascular.html#caredop","Caredop","cardiovascular.html#FreeDop","FreeDop","cardiovascular.html#dopct","DopCT+","cardiovascular.html#elite","Elite","cardiovascular.html#stetho","Stethodop","cardiovascular.html#pocket","PocketDop II"),"cardio_acces_gel_fixation.html","Supplies",new Array("cardio_acces_gel_fixation.html","Gel & Fixation","cardio_acces_probe_cuff.html","Probes, Cuffs & Supplies"))
	if(useTab==3) tabArray = new Array("apnea.html","Screening",new Array("apnea.html#SOMNOCheck","SOMNOcheck","apnea.html#effort","SOMNOcheck - Effort"),"sleep_respiration.html","PSG;Polysomnography",new Array("sleep_respiration.html#somnolab","SOMNOlab","sleep_respiration.html#ultrasom","UltraSom"),"cpap.html","CPAP;nCPAP & auto-CPAP",new Array("cpap.html#SOMNOTronE","SOMNOtron E","cpap.html#SOMNOtron","SOMNOtron 4","cpap.html#SOMNOComfort","SOMNOcomfort","cpap.html#SOMNOsmart","SOMNOsmart","cpap.html#click","SOMNOclick Humidifier","cpap.html#somnowave","SOMNOwave Humidifier","cpap.html#support","SOMNOsupport"),"bipap.html","BiPAP",new Array("bipap.html#vent","SOMNOvent S","bipap.html#SOMNOventst","SOMNOvent ST"),"masks.html","Masks;Masks&nbsp;and&nbsp;Exhalation",new Array("masks.html#SOMNOmask","SOMNOmask","masks.html#SOMNOplus","SOMNOplus","masks.html#strap","SOMNOstrap","masks.html#strapext","SOMNOstrap extra","masks.html#cap","SOMNOcap","masks.html#noise","Exhalation Units"),"pulsoximetry.html","Pulse Oximetry",new Array("pulsoximetry.html#WristOx","NONIN WristOx 3100","pulsoximetry.html#palm","NONIN PalmSat 2500","pulsoximetry.html#onyx","NONIN Onyx 9500","pulsoximetry.html#avant","NONIN Avant 2120","pulsoximetry.html#4000","NONIN Avant 4000","pulsoximetry.html#9600","NONIN Avant 9600","pulsoximetry.html#9700","NONIN Avant 9700","pulsoximetry.html#8500","NONIN Avant 8500","pulsoximetry.html#8600","NONIN Avant 8600","pulsoximetry.html#9840","NONIN Avant 9840","pulsoximetry.html#sensor1","NONIN Sensors Reusable","pulsoximetry.html#sensor2","NONIN Sensors Disposable","pulsoximetry.html#nvision","NONIN nVISION Software","pulsoximetry.html#oxycount","Weinmann OxyCount","pulsoximetry.html#capnocount","Weinmann CapnoCount"),"oxygen.html","Oxygen",new Array("oxygen.html#totalo2","TOTAL-O2","oxygen.html#oxymat","OXYMAT 3","oxygen.html#oxytron","OXYTRON 3","oxygen.html#oxybag","OXYBAG","oxygen.html#oxycon","OXYCONTROL"),"sleep_acces_belts_sensors.html","Supplies",new Array("sleep_acces_belts_sensors.html","Respiration Belts and Other Sensors","sleep_acces_disposable_sensors.html","Dymedix Sleep Sensors","sleep_acces_flow.html","Flows & Snore Sensors")) 
	if(useTab==4) tabArray = new Array("telemedicin.html","Telemedicine",new Array("telemedicin.html","amPHI"),"epj.html","EHCR;Electronic HealthCare Records",new Array("epj.html#miro","MI-ro™;MI-ro™ Registration of Anesthesia and Surgery system","epj.html#dagkir","DagKir"),"kliniske_databaser.html","Clinical Databases",new Array("kliniske_databaser.html#hysko","Hyskobase","kliniske_databaser.html#musica","MusicaHumana"),"beslutnings.html","DSS;Decision Support Systems",null,"projektstyring.html","Project Management",null)

	header1= new Array()
	header2= new Array()
	header1[0]="<"+"script>makeLink('Home','firstpage.html',null,'headerStyle')<"+"/script>"
	header1[1]="<"+"script>makeLink('Company','company.html',null,'headerStyle')<"+"/script>"
	header1[2]="<"+"script>makeLink('Products','telemedicin.html',null,'headerStyle')<"+"/script>"
	header1[3]="<"+"script>makeLink('News','news.html',null,'headerStyle')<"+"/script>"
	header1[4]="<"+"script>makeLink('Links','links.html',null,'headerStyle')<"+"/script>"
	header1[5]="<"+"script>makeLink('Download','download.html',null,'headerStyle')<"+"/script>"
	header1[6]="<"+"script>makeLink('Contact','comment.html',null,'headerStyle')<"+"/script>"
	header1[7]="<"+"script>makeLink('Search','search.html',null,'headerStyle')<"+"/script>"

	header2[0]="<"+"script>makeLink('Medical&nbsp;Informatics','telemedicin.html',null,'headerStyle')<"+"/script>"
	header2[1]="<"+"script>makeLink('Neurocare','products.html',null,'headerStyle')<"+"/script>"
	header2[2]="<"+"script>makeLink('Cardiovascular','defibrillator.html',null,'headerStyle')<"+"/script>"
	header2[3]="<"+"script>makeLink('Sleep/Respiration','apnea.html',null,'headerStyle')<"+"/script>"

	title = "Neuromuscular"
} else {
// Danish menu's
	if(useTab==1) tabArray = new Array("products.html","EMG;Electromyography",new Array("products.html#viking","VikingSelect","products.html#quest","VikingQuest","products.html#tst","Triple Stimulation Technique;TST","products.html#nicoletone","NicoletOne"),"iom.html","IOM;Interoperative Monitoring",new Array("iom.html#vik","VikingSelect","iom.html#endeavor","Endeavor CR","iom.html#neuro100","Neurosign 100","iom.html#neuro400","Neurosign 400","iom.html#neuro800","Neurosign 800"),"ep.html","EP;Evoked Potientials",new Array("ep.html#viking","VikingSelect","ep.html#quest","VikingQuest","ep.html#ganzfeld","Ganzfeld","ep.html#2015","2015 Visual Stimulator","ep.html#erg","ERG/EOG","ep.html#nicoletone","NicoletOne"),"eeg.html","EEG;Electroencephalography",new Array("eeg.html#nicoletone","NicoletOne","eeg.html#endeavor","Endeavor CR","eeg.html#bmsi","BMSI 6000","eeg.html#image","ImageVue"),"magnetic_stim.html","Magnetic Stim.;Magnetic Stimulation",new Array("magnetic_stim.html#mag200","Magstim Model 200","magnetic_stim.html#mag220","Magstim Model 220","magnetic_stim.html#bistim","Bistim Module","magnetic_stim.html#rapid","Magstim Rapid","magnetic_stim.html#coils","Coils"),"pain_measur.html","Pain;Pain Measurement",new Array("pain_measur.html#vonfrey","VonFrey Aesthesiometer","pain_measur.html#evonfrey","Electronic VonFrey","pain_measur.html#msa","MSA Thermotester","pain_measur.html#algo","Algometer II","pain_measur.html#thermo","Thermoroller","pain_measur.html#pain","Painroller"),"rehabilitation.html","Rehab.;Rehabilitation",new Array("rehabilitation.html#automove","AutoMove AM800","rehabilitation.html#e3000","Upper Limb Exerciser E3000","rehabilitation.html#V900S","V900S","rehabilitation.html#h400","pointer Accessory Kit H400","rehabilitation.html#h400s","Stand Alone pointer Kit H400s","rehabilitation.html#l300","Lever Arm L300","rehabilitation.html#pinch","Pinchmeter","rehabilitation.html#FP1","Force Plate FP1","rehabilitation.html#dyna","Dynamometer","rehabilitation.html#R400","R400 Range of Motion Kit","rehabilitation.html#cx4","CX4 Accessory Communications Unit","rehabilitation.html#gonio","Goniometer/Torsiometer",
"rehabilitation.html#adu301","Angle Display Unit ADU301","rehbilitation.html#dl1001","Data Logger DL1001","rehabilitation.html#systems","Complete Systems"),"neuro_acces_elektrocaps.html","Supplies",new Array("neuro_acces_elektrocaps.html","Electro-Caps & Supplies","neuro_acces_elektrodes.html","Electrodes & Accessories","neuro_acces_paste.html","Paste, Gel & Skin Prep"))
	if(useTab==2) tabArray = new Array("defibrillator.html","AED Defibrillators",new Array("defibrillator.html#zollaed","ZOLL AED Plus"),"vascular_diag.html","Vascular Diagnostic",new Array("vascular_diag.html#vasoguard","Vasoguard","vascular_diag.html#microlite","Vasoguard MicroLite","vascular_diag.html#versalab","VersaLab"),"cardiovascular.html","Dopplers;TCD Dopplers & Pocket Dopplers",new Array("cardiovascular.html#4040","Pioneer 4040 TCD","cardiovascular.html#legend","Legend TC22","cardiovascular.html#companion","Companion II TCD","cardiovascular.html#8080","Pioneer 8080 TCD","cardiovascular.html#sim","TCD Simulator","cardiovascular.html#caredop","Caredop","cardiovascular.html#FreeDop","FreeDop","cardiovascular.html#dopct","DopCT+","cardiovascular.html#elite","Elite","cardiovascular.html#stetho","Stethodop","cardiovascular.html#pocket","PocketDop II"),"cardio_acces_gel_fixation.html","Supplies",new Array("cardio_acces_gel_fixation.html","Gel & Fixation","cardio_acces_probe_cuff.html","Probes, Cuffs & Supplies"))
	if(useTab==3) tabArray = new Array("apnea.html","Screening",new Array("apnea.html#SOMNOCheck","SOMNOcheck","apnea.html#effort","SOMNOcheck - Effort"),"sleep_respiration.html","PSG;Polysomnography",new Array("sleep_respiration.html#somnolab","SOMNOlab","sleep_respiration.html#ultrasom","UltraSom"),"cpap.html","CPAP;nCPAP & auto-CPAP",new Array("cpap.html#SOMNOTronE","SOMNOtron E","cpap.html#SOMNOtron","SOMNOtron 4","cpap.html#SOMNOComfort","SOMNOcomfort","cpap.html#SOMNOsmart","SOMNOsmart","cpap.html#click","SOMNOclick Humidifier","cpap.html#somnowave","SOMNOwave Humidifier","cpap.html#support","SOMNOsupport"),"bipap.html","BiPAP",new Array("bipap.html#vent","SOMNOvent S","bipap.html#SOMNOventst","SOMNOvent ST"),"masks.html","Masks;Masks&nbsp;and&nbsp;Exhalation",new Array("masks.html#SOMNOmask","SOMNOmask","masks.html#SOMNOplus","SOMNOplus","masks.html#strap","SOMNOstrap","masks.html#strapext","SOMNOstrap extra","masks.html#cap","SOMNOcap","masks.html#noise","Exhalation Units"),"pulsoximetry.html","Pulse Oximetry",new Array("pulsoximetry.html#WristOx","NONIN WristOx 3100","pulsoximetry.html#palm","NONIN PalmSat 2500","pulsoximetry.html#onyx","NONIN Onyx 9500","pulsoximetry.html#avant","NONIN Avant 2120","pulsoximetry.html#4000","NONIN Avant 4000","pulsoximetry.html#9600","NONIN Avant 9600","pulsoximetry.html#9700","NONIN Avant 9700","pulsoximetry.html#8500","NONIN Avant 8500","pulsoximetry.html#8600","NONIN Avant 8600","pulsoximetry.html#9840","NONIN Avant 9840","pulsoximetry.html#sensor1","NONIN Sensors Reusable","pulsoximetry.html#sensor2","NONIN Sensors Disposable","pulsoximetry.html#nvision","NONIN nVISION Software","pulsoximetry.html#oxycount","Weinmann OxyCount","pulsoximetry.html#capnocount","Weinmann CapnoCount"),"oxygen.html","Oxygen",new Array("oxygen.html#totalo2","TOTAL-O2","oxygen.html#oxymat","OXYMAT 3","oxygen.html#oxytron","OXYTRON 3","oxygen.html#oxybag","OXYBAG","oxygen.html#oxycon","OXYCONTROL"),"sleep_acces_belts_sensors.html","Supplies",new Array("sleep_acces_belts_sensors.html","Respiration Belts and Other Sensors","sleep_acces_disposable_sensors.html","Dymedix Sleep Sensors","sleep_acces_flow.html","Flows & Snore Sensors")) 
	if(useTab==4) tabArray = new Array("telemedicin.html","Telemedicin",new Array("telemedicin.html","amPHI"),"epj.html","EPJ;Elektroniske Patient Journaler",new Array("epj.html#miro","MI-ro™ Operations & anæstesiregistrering","epj.html#dagkir","DagKir"),"kliniske_databaser.html","Kliniske Databaser",new Array("kliniske_databaser.html#hysko","Hyskobase","kliniske_databaser.html#musica","MusicaHumana"),"beslutnings.html","Beslutningsstøtte",null,"projektstyring.html","Projektstyring",null)

	header1= new Array()
	header2= new Array()
	header1[0]="<"+"script>makeLink('Home','firstpage.html',null,'headerStyle')<"+"/script>"
	header1[1]="<"+"script>makeLink('Company','company.html',null,'headerStyle')<"+"/script>"
	header1[2]="<"+"script>makeLink('Products','telemedicin.html',null,'headerStyle')<"+"/script>"
	header1[3]="<"+"script>makeLink('News','news.html',null,'headerStyle')<"+"/script>"
	header1[4]="<"+"script>makeLink('Links','links.html',null,'headerStyle')<"+"/script>"
	header1[5]="<"+"script>makeLink('Download','download.html',null,'headerStyle')<"+"/script>"
	header1[6]="<"+"script>makeLink('Contact','comment.html',null,'headerStyle')<"+"/script>"
	header1[7]="<"+"script>makeLink('Search','search.html',null,'headerStyle')<"+"/script>"

	header2[0]="<"+"script>makeLink('Medical&nbsp;Informatics','telemedicin.html',null,'headerStyle')<"+"/script>"
	header2[1]="<"+"script>makeLink('Neurocare','products.html',null,'headerStyle')<"+"/script>"
	header2[2]="<"+"script>makeLink('Cardiovascular','defibrillator.html',null,'headerStyle')<"+"/script>"
	header2[3]="<"+"script>makeLink('Sleep/Respiration','apnea.html',null,'headerStyle')<"+"/script>"

	title = "Neuromuscular"
}
*/

header1= new Array()
if(useTab!=0) header1[0]="<"+"script>makeLink('Judex','../judex/about.html',null,'headerStyle')<"+"/script>"
else header1[0]= "Judex"
if(useTab!=1) header1[1]="<"+"script>makeLink('Biomedical&nbsp;Engineering','../biomedical_engineering/about.html',null,'headerStyle')<"+"/script>"
else header1[1]= "Biomedical&nbsp;Engineering"
if(useTab!=2) header1[2]="<"+"script>makeLink('Medical&nbsp;Informatics','../medical_informatics/about.html',null,'headerStyle')<"+"/script>"
else header1[2]= "Medical&nbsp;Informatics"
if(useTab!=3) header1[3]="<"+"script>makeLink('Projects','../projects/about.html',null,'headerStyle')<"+"/script>"
else header1[3]= "Projects"

header2= new Array()
if(useTab==0){
	if(useSubTab!=0) header2[0]="<"+"script>makeLink('About','../judex/about.html',null,'headerStyle')<"+"/script>"
	else header2[0]= "About"
	if(useSubTab!=1) header2[1]="<"+"script>makeLink('Expertise','../judex/expertise.html',null,'headerStyle')<"+"/script>"
	else header2[1]= "Expertise"
	if(useSubTab!=2) header2[2]="<"+"script>makeLink('Business','../judex/business.html',null,'headerStyle')<"+"/script>"
	else header2[2]= "Business"
	if(useSubTab!=3) header2[3]="<"+"script>makeLink('References','../judex/references.html',null,'headerStyle')<"+"/script>"
	else header2[3]= "References"
}

if(useTab==1){
	if(useSubTab!=0) header2[0]="<"+"script>makeLink('About','../biomedical_engineering/about.html',null,'headerStyle')<"+"/script>"
	else header2[0]= "About"		
	if(useSubTab!=1) header2[1]="<"+"script>makeLink('Clinical&nbsp;Solutions','../biomedical_engineering/clinical.html',null,'headerStyle')<"+"/script>"
	else header2[1]= "Clinical&nbsp;Solutions"
	if(useSubTab!=2) header2[2]="<"+"script>makeLink('Biological&nbsp;Signals','../biomedical_engineering/bio_signals.html',null,'headerStyle')<"+"/script>"
	else header2[2]= "Biological&nbsp;Signals"
	if(useSubTab!=3) header2[3]="<"+"script>makeLink('Software','../biomedical_engineering/software.html',null,'headerStyle')<"+"/script>"
	else header2[3]= "Software"
	if(useSubTab!=4) header2[4]="<"+"script>makeLink('Hardware','../biomedical_engineering/hardware.html',null,'headerStyle')<"+"/script>"
	else header2[4]= "Hardware"
}

if(useTab==2){
	if(useSubTab!=0) header2[0]="<"+"script>makeLink('About','../medical_informatics/about.html',null,'headerStyle')<"+"/script>"
	else header2[0]= "About"
	if(useSubTab!=1) header2[1]="<"+"script>makeLink('Telemedicine','../medical_informatics/telemedicine.html',null,'headerStyle')<"+"/script>"
	else header2[1]= "Telemedicine"
	if(useSubTab!=2) header2[2]="<"+"script>makeLink('Decision&nbsp;Support','../medical_informatics/decision_support_system.html',null,'headerStyle')<"+"/script>"
	else header2[2]= "Decision&nbsp;Support"
	if(useSubTab!=3) header2[3]="<"+"script>makeLink('Healthcare&nbsp;Records','../medical_informatics/electronic_records.html',null,'headerStyle')<"+"/script>"
	else header2[3]= "Healthcare&nbsp;Records"
	if(useSubTab!=4) header2[4]="<"+"script>makeLink('Clinical&nbsp;Databases','../medical_informatics/clinical_databases.html',null,'headerStyle')<"+"/script>"
	else header2[4]= "Clinical&nbsp;Databases"
}

if(useTab==3){
	if(useSubTab!=0) header2[0]="<"+"script>makeLink('About','../projects/about.html',null,'headerStyle')<"+"/script>"
	else header2[0]= "About"
	if(useSubTab!=1) header2[1]="<"+"script>makeLink('amPHI','../projects/amphi.html',null,'headerStyle')<"+"/script>"
	else header2[1]= "amPHI"
	if(useSubTab!=2) header2[2]="<"+"script>makeLink('Treat','../projects/treat.html',null,'headerStyle')<"+"/script>"
	else header2[2]= "Treat"
	if(useSubTab!=3) header2[3]="<"+"script>makeLink('Viking','../projects/viking.html',null,'headerStyle')<"+"/script>"
	else header2[3]= "Viking"
	if(useSubTab!=4) header2[4]="<"+"script>makeLink('DagKir','../projects/dagkir.html',null,'headerStyle')<"+"/script>"
	else header2[4]= "DagKir"
	if(useSubTab!=5) header2[5]="<"+"script>makeLink('MI-ro','../projects/miro.html',null,'headerStyle')<"+"/script>"
	else header2[5]= "MI-ro"
	if(useSubTab!=6) header2[6]="<"+"script>makeLink('HyskoBase','../projects/hyskobase.html',null,'headerStyle')<"+"/script>"
	else header2[6]= "HyskoBase"
	if(useSubTab!=7) header2[7]="<"+"script>makeLink('MusicaHumana','../projects/musicahumana.html',null,'headerStyle')<"+"/script>"
	else header2[7]= "MusicaHumana"
	if(useSubTab!=8) header2[8]="<"+"script>makeLink('Stay@Home','../projects/stay_at_home.html',null,'headerStyle')<"+"/script>"
	else header2[8]= "Stay@Home"

}

if(globalTab<0 && useTab>=0 && useTab<=3 && useSubTab>=0 && useSubTab<=8) {title=header1[useTab]+" · "+header2[useSubTab]}
else {if(globalTab>=0 && globalTab<=3) title=(globalTab==0?"Downloads":(globalTab==1?"Links":(globalTab==2?"Sitemap":"Search")))}

document.title=title.replace("&nbsp;"," ")
nTimer = 2000
ActivePage=1

m_bSmallScreen = (screen.availWidth <= 1024) 
if(m_bSmallScreen) {
	leftSideOffsetY=0
	contact="<div style='padding-left:3px;color:#005A7B;font-size:12px;'><b>Contact</b></div><div style='padding-left:6px;font-size:9px;Color:#005A7B;'>Judex A/S<br>Lyngvej 8<br>DK-9000 Aalborg<br>Denmark<br>Tel.: +45 98186900<br>Fax: +45 98188019</div>"
}else{
	leftSideOffsetY=-13
	contact="<div style='padding-left:3px;padding-top:5px;font-size:12px;'><strong>Contact</strong></div><div style='padding-left:9px;font-size:12px;padding-bottom:5px;'>Judex A/S<br>Lyngvej 8<br>DK-9000 Aalborg<br>Denmark<br>Tel.: +45 98186900<br>Fax: +45 98188019</div>"
}
/* MH changed font size/padding above
if(m_bSmallScreen) {
	leftSideOffsetY=0
	contact="<div style='padding-left:3px;color:#005A7B;'><strong>Contact</strong></div><div style='padding-left:6px;font-size:9px;Color:#005A7B;'>Judex a/S<br>Lyngvej 8<br>DK-9000 Aalborg<br>Denmark<br>Tel.: +45 98186900<br>Fax: +45 98188019</div>"
}else{
	leftSideOffsetY=-13
	contact="<div style='padding-left:15px;padding-top:5px;'><strong>Contact</strong></div><div style='padding-left:18px;font-size:9px;padding-bottom:5px;'>Judex a/S<br>Lyngvej 8<br>DK-9000 Aalborg<br>Denmark<br>Tel.: +45 98186900<br>Fax: +45 98188019</div>"
}
*/

document.write("<STYLE>")
document.write("@media screen{")
document.write("A:link {FFONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHigh+";FONT-FAMILY: arial;TEXT-DECORATION: none;}")
document.write("A:visited {FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHigh+";FONT-FAMILY: arial;TEXT-DECORATION: none;}")
document.write("A:active {FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHigh+";FONT-FAMILY: arial;TEXT-DECORATION: none;}")
document.write("A:hover {FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHigh+";FONT-FAMILY: arial;TEXT-DECORATION: underline;}")
document.write("A.tabStyle:link {FONT-SIZE: 11px;FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColor+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.tabStyle:visited {FONT-SIZE: 11px;FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColor+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.tabStyle:active {FONT-SIZE: 11px;FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHeaderHigh+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.tabStyle:hover {FONT-SIZE: 11px;FONT-WEIGHT: ;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHeaderHigh+";FONT-FAMILY: arial;TEXT-DECORATION: underline}")

document.write("A.headerStyle:link {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColor+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerStyle:visited {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColor+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerStyle:active {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHeaderHigh+";FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerStyle:hover {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR: "+fontColorHeaderHigh+";FONT-FAMILY: arial;TEXT-DECORATION: underline}")
document.write("A.headerLink:link {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR:#FFFFFF;FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerLink:visited {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR:#FFFFFF;FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerLink:active {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR:#FFFFFF;FONT-FAMILY: arial;TEXT-DECORATION: none}")
document.write("A.headerLink:hover {FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: "+fontWeightHeaderLinks+";BACKGROUND: none transparent scroll repeat 0% 0%;COLOR:#FFFFFF;FONT-FAMILY: arial;TEXT-DECORATION: underline}")


document.write(".deadHeaderLink{FONT-SIZE: "+fontSizeHeaderLinks+";FONT-WEIGHT: bold;BACKGROUND: none transparent scroll repeat 0% 0%;COLOR:#FFFFFF;FONT-FAMILY: arial;TEXT-DECORATION: none;cursor:default;}")
document.write(".hr {height:1px;color:"+fontColorDot+"}")
document.write(".tabOffset{margin-left:10;margin-right:32;}")
document.write(".Title{font-size:"+(m_bSmallScreen?"1.4":"1.5")+"em;color:"+fontColorTitle+";FONT-WEIGHT:bold;}")
document.write(".SubTitle{font-size:"+(m_bSmallScreen?"1.1":"1.2")+"em;color:"+fontColorSubTitle+";FONT-WEIGHT:bold;}")
document.write(".SubSubTitle{font-size:"+(m_bSmallScreen?"0.8":"0.9")+"em;color:"+fontColorSubSubTitle+";FONT-WEIGHT:bold;}")
document.write("P {MARGIN-TOP:8px;MARGIN-BOTTOM:8px;}")
document.write(".TDStyle {border:1 solid "+fontColor+";border-top:0;border-right:0;}")
document.write(".TAStyle {border:1 solid "+fontColor+";border-bottom:0;border-left:0;width:98%;}")
document.write("li {list-style-image:url(../_images/bullet.gif);FONT-FAMILY:arial;font-size:"+(m_bSmallScreen?"0.9":"1.0")+"em;}")
document.write("ul {margin-left:17;}")
document.write("table {FONT-FAMILY:arial;font-size:"+(m_bSmallScreen?"0.9":"1.0")+"em;}")
document.write("body {margin:0;overflow-y:hidden;FONT-FAMILY:arial;color:"+fontColor+";scrollbar-face-color:#005A7B;scrollbar-shadow-color:#3D5054;scrollbar-highlight-color:#C3D6DA;scrollbar-3dlight-color:#3D5054;scrollbar-darkshadow-color:#85989C;scrollbar-track-color:#D0D8D9;scrollbar-arrow-color:#FFFFFF;}")
//document.write("A:link{COLOR:"+fontColor+";} A:visited{COLOR:"+fontColor+";} A:active{COLOR:"+fontColor+";} A:hover{COLOR:"+fontColorHigh+";}")

document.write("A.mainMenu:link {COLOR:black;cursor:default;TEXT-DECORATION: none;background-color:transparent;width:100%;height:100%;}")
document.write("A.mainMenu:visited {COLOR:black;cursor:default;TEXT-DECORATION: none;background-color:transparent;width:100%;height:100%;}")
document.write("A.mainMenu:active {COLOR:black;cursor:default;TEXT-DECORATION: none;background-color:transparent;width:100%;height:100%;}")
document.write("A.mainMenu:hover {COLOR:white;cursor:default;TEXT-DECORATION: none;background-color:#316AC5;width:100%;height:100%;}")
if(m_bSmallScreen) document.write("body {margin:5px 10px 0px 15px;}")
else document.write("body {margin:5px 10px 0px 15px;}")
document.write("}")

document.write("@media print {")
document.write("body {margin-left:2.5mm; padding: 0;}")
document.write(".hr {height:1px;color:"+fontColorDot+";page-break-before: always}")
document.write(".tabOffset{margin:0}")
document.write(".Title{font-size:16pt;color:"+fontColorTitle+";FONT-WEIGHT:bold;}")
document.write(".SubTitle{font-size:12pt;color:"+fontColorSubTitle+";FONT-WEIGHT:bold;}")
document.write(".SubSubTitle{font-size:9pt;color:"+fontColorSubSubTitle+";FONT-WEIGHT:bold;}")
document.write("P {MARGIN-TOP:8px;MARGIN-BOTTOM:8px;}")
document.write(".TDStyle {border:1 solid black;border-top:0;border-right:0;}")
document.write(".TAStyle {border:1 solid black;border-bottom:0;border-left:0;width:98%;}")
document.write(".nonprintable{display:none;}")
document.write("li {list-style-image:url(../_images/bullet.gif);FONT-FAMILY:arial;font-size:9pt;}")
document.write("ul {margin-left:17;}")
document.write("table {FONT-FAMILY:arial;font-size:9pt;}")
document.write("}")
document.write("</STYLE>")


document.onclick = hideShownDropDowns;
window.onscroll= scrollDoc

reloadTimeout=null;
justLoaded=true;
fakeFrameAjusted=false;
inFrame=true

function doOnLoad(){
	/*if(document.getElementById('main').offsetWidth+50>document.body.offsetWidth) {
		newSize=document.getElementById('main').offsetWidth+75
		if(newSize<screen.availWidth&&(newSize*0.8)<screen.availHeight){0
			window.resizeTo(newSize,(newSize*0.8))
			window.moveTo((screen.availWidth-newSize)/2,(screen.availHeight-(newSize*0.8))/2)
		}
	}*/
	document.getElementById('miantable').width=document.getElementById('header').offsetWidth
	/*DoRotate(1)
	DoRotate(2)
	DoRotate(3)
	DoRotate(4)
	if(document.getElementById('lastRotate').style.visibility!="hidden") DoRotate(5)
	*/
	setTimeout("documentLoaded()",100)
}

function documentLoaded(){
	window.scrollTo(0,0);
	strLocation=""+window.location
	noFrm=false;
	point=strLocation.indexOf("#noFrm")
	if(point>0) {
		noFrm=true;
		strLocation=strLocation.substring(0,point)
	}
	if(noFrm) BrakeFrame()
	if(strLocation.indexOf("#")>0) 
		setTimeout("window.location='"+strLocation+"';window.location='"+strLocation+(noFrm?"#noFrm":"")+"';if(!noFrm){window.scrollTo(0,0);};hideShownDropDowns();document.body.style.visibility='visible'",0)
	windowResized()
	hideShownDropDowns(null,true)
	if(document.getElementById('FlagsButton')) 
		document.getElementById('FlagsButton').style.left=document.getElementById('rotatetab').offsetWidth+document.getElementById('FakeFrame').offsetWidth+(m_bSmallScreen?+30:+61)
	if(!noFrm&&document.getElementById('FrameButton')){
		document.getElementById('FakeFrame').style.height=document.body.clientHeight+(m_bSmallScreen?-131:-172)+(tabArray?0:2)
		document.getElementById('FrameButton').style.left=document.getElementById('rotatetab').offsetWidth+document.getElementById('FakeFrame').offsetWidth+(m_bSmallScreen?+6:+22)
	}
	if(strLocation.indexOf("#")<=0) {
		hideShownDropDowns()
		document.body.style.visibility="visible"
	}
	if(typeof(OnDocumentLoaded) == "function") OnDocumentLoaded()
}

function windowResized(){
	if(justLoaded) justLoaded=false
	else {
		if(reloadTimeout) {clearTimeout(reloadTimeout);reloadTimeout=null}
		document.body.style.visibility="hidden"
		i=1; obj = eval("document.getElementById('LowBorder"+i+"')")
		while(obj) {
			obj.style.visibility='hidden'; i++
			obj = eval("document.getElementById('LowBorder"+i+"')")
		}
		strLocation=""+window.location
		point=strLocation.indexOf("#noFrm")
		if(point>0) strLocation=strLocation.substring(0,point)
		reloadTimeout=setTimeout("window.open('"+strLocation+(inFrame?"":"#noFrm")+"'"+(noBrkFrame?"'_self'":",'_top'")+")",200)
		
	}
}

function showMenu(){
	if(!document.getElementById('contextMenu')) return false
	posX=event.clientX;
	posY=event.clientY; 
	menuX=document.getElementById('contextMenu').offsetWidth
	menuY=document.getElementById('contextMenu').offsetHeight
	if(posX+menuX>document.body.clientWidth) posX-=menuX+2
	if(posY+menuY>document.body.clientHeight) posY-=menuY+3
	document.getElementById('contextMenu').style.pixelLeft = posX+document.body.scrollLeft; 
    document.getElementById('contextMenu').style.pixelTop = posY+document.body.scrollTop; 
    //if (typeof(fade) == "function") fade(document.getElementById('contextMenu'), true);
	//else 
	document.getElementById('contextMenu').style.visibility = 'visible'; 	
	return false; 
}

scrollTimer=null

function scrollDoc(){
  if(inFrame) return
  hideShownDropDowns()
  /*if(!scrollTimer) {
  	document.getElementById('FrameButton').style.visibility="hidden"
  	document.getElementById('rotatetab').style.visibility="hidden"
	document.getElementById('lastRotate').style.visibility="hidden"
	document.getElementById('rotate5').style.height=0
	if(lastRotateTimer) {clearTimeout(lastRotateTimer);lastRotateTimer=null}
  }  else {clearTimeout(scrollTimer);scrollTimer=null}*/
  scrollTimer = setTimeout("scrollDone()",500)
}

function scrollFakeFrame(){
	if(!fakeFrameAjusted) fakeFrameAjusted=true;
	else hideShownDropDowns()
}

function scrollDone(){
  scrollTimer=null
  document.getElementById('FrameButton').style.left=document.body.clientWidth+document.body.scrollLeft-16
  document.getElementById('FrameButton').style.top=document.body.scrollTop
  //if(document.body.scrollTop>(m_bSmallScreen?117:172)){
  	//document.getElementById('rotatetab').style.top=(document.body.scrollTop)+(m_bSmallScreen?20:30)
	//document.getElementById('rotate5').style.height=document.getElementById('rotate4').style.height
	//document.getElementById('lastRotate').style.visibility="visible"
	//if(!document.getElementById('rotate5').inUse) DoRotate(5)
  //}else{
  	//document.getElementById('rotatetab').style.top=(m_bSmallScreen?140:196)
    //document.getElementById('lastRotate').style.visibility="hidden"
	//document.getElementById('rotate5').style.height=0
	//document.getElementById('rotate5').inUse=null
	//if(lastRotateTimer) {clearTimeout(lastRotateTimer);lastRotateTimer=null}
  //}
  document.getElementById('FrameButton').style.visibility="visible"
  document.getElementById('rotatetab').style.visibility="visible"
}

function beginJudexHeader(start){
	if(!start) start=1
	if(header1){
		headerA="<strong><font color="+fontColorHeaderHigh+" style='FONT-SIZE: "+fontSizeHeaderLinks+";FONT-FAMILY:arial;'><div style='cursor:default;'>&nbsp;&nbsp;"
		for(i=0;i<header1.length;i++) {
			headerA+=header1[i]
			if(i<header1.length-1) headerA+="&nbsp;&nbsp;<img src='../_images/worddot.gif'>&nbsp;&nbsp;"
		}	
		headerA+="</div></font></strong>"
	} else headerA=""
	
	if(header2){
		headerB="<strong><font color="+fontColorHeaderHigh+" style='FONT-SIZE: "+fontSizeHeaderLinks+";FONT-FAMILY:arial;'><div style='cursor:default;'>&nbsp;&nbsp;"
		for(i=0;i<header2.length;i++) {
			headerB+=header2[i]
			if(i<header2.length-1) headerB+="&nbsp;&nbsp;<img src='../_images/worddot.gif'>&nbsp;&nbsp;"
		}	
		headerB+="</div></font></strong>"
	} else headerB=""

	document.write("<STYLE media='screen'>")
	document.write(".useFrame {font-size:"+(m_bSmallScreen?"0.9":"1")+"em;width:100%; height:"+document.body.clientHeight+(m_bSmallScreen?-141:-195)+(tabArray?0:2)+"px; border:0 solid;padding:14px;padding-top:0px;background-color:transparent;overflow-y:scroll;overflow-x:hidden;padding-right:17px;margin 0px 0px 0px 0px;}")
	document.write(".noFrame {font-size:"+(m_bSmallScreen?"0.9":"1")+"em;width: 100%; height: auto; border: 0 solid;padding:14px;padding-top:0px;background-color:transparent;padding-right:18px;margin:0px 16px 0px 0px;}")
	document.write(".headerLine{padding-left:4px}")
	document.write("</STYLE>")
	
	document.write("<STYLE media='print'>")
	document.write(".useFrame {FONT-FAMILY:arial;font-size:9pt;border:0;color:black;width:170 mm;}")
	document.write(".noFrame {FONT-FAMILY:arial;font-size:9pt;border:0;color:black;width:170 mm;}")
	document.write(".headerLine{padding-left:0px}")
	document.write("</STYLE>")	
	
	document.write("<MAP Name='LogoLink'><AREA onmouseover='setTimeout(\"writeHome()\",0);return true' onmouseout='window.status=\"Done\";return true' Shape='rect' coords = '0,0,"+(m_bSmallScreen?"210":"280")+","+(m_bSmallScreen?"85":"112")+"' HREF='../'></MAP>")
	document.write("<TABLE id='main' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'><TR><TD class='nonprintable' id='headerDiv' height='124px' style='padding-right:16px'>")
	document.write("<TABLE id='header' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0' onmouseover='if(tabArray&&!dropHideTimeout){dropHideTimeout=setTimeout(\"hideShownDropDowns(null,null,true,true)\",1000)};'><TR><TD width='220' valign='top'><IMG name='logo' border=0 USEMAP='#LogoLink'>")
	document.write("</TD><script>if(m_bSmallScreen){document.logo.src='../_images/smalllogo.gif'}else{document.logo.src='../_images/nylogo.gif'}</script><TD valign='top' height='123px'>")
	document.write("<table width='100%' height='123px' border=0 cellpadding=0 cellspacing=0><tr><td height="+(m_bSmallScreen?18:25)+"></td></tr><tr><td height="+(m_bSmallScreen?27:35)+">")
	document.write("<table width='100%' height='100%' border=0 cellpadding=0 cellspacing=0>")
	if(!m_bSmallScreen) document.write("<tr><td height='4' colspan=3 bgcolor='#005A7B'></td></tr>")
	document.write("<tr><td width='50%' bgcolor='#005A7B'></td><td width='0%' bgcolor='#005A7B' style='color:#FFFFFF;font-size:16pt;font-weight:bold;'>")
	//document.write(title)
	document.write("</td></td><td width='50%' bgcolor='#005A7B' align='right'>")
	document.write("<table><tr><td style='padding-right:10px;'>"+(globalTab!=0?"<"+"script>makeLink('Downloads','../other/downloads.html','Downloads','headerLink')<"+"/script>":"<div class='deadHeaderLink'>Downloads</div>")+"</td>"+/*"<td style='padding-right:10px;'>"+(globalTab!=1?"<"+"script>makeLink('Links','../other/links.html','Links','headerLink')<"+"/script>":"<div class='deadHeaderLink'>Links</div>")+"</td>"+*/"<td style='padding-right:10px;'>"+(globalTab!=2?"<"+"script>makeLink('Sitemap','../other/sitemap.html','Sitemap','headerLink')<"+"/script>":"<div class='deadHeaderLink'>Sitemap</div>")+"</td><td>"+(globalTab!=3?"<"+"script>makeLink('Search','../other/search.html','Search','headerLink')<"+"/script>":"<div class='deadHeaderLink'>Search</div>")+"</td><td style='padding-left:7px;'><"+"script>makeLink('eMail','mailto:info@judex.dk','eMail Judex','headerLink')<"+"/script></td></tr></table>")
	document.write("</td></tr>")
	if(!m_bSmallScreen) document.write("<tr><td height='4' colspan=3><IMG src='../_images/darkblue.gif' height='100%' width='100%' border='0'></td></tr>")
	document.write("</table></td></tr><tr><td valign='middle' height="+(m_bSmallScreen?25:35)+">"+headerA+"</td></tr><tr><td height=2 style='padding-right:3px'>")
	document.write("<IMG src='../_images/lightblue.gif' height='100%' width='100%' border='0'></td></tr><tr><td valign='middle' height="+(m_bSmallScreen?31:41)+">"+headerB+"</td></tr><tr><td height=2>")
	document.write("<IMG src='../_images/darkblue.gif' height='2px' width='100%' border='0'></td></tr><tr><td height='100%'></td></tr></table>")
	document.write("</TD><TD width='22' height='100%' valign='top'><IMG name='end' border='0'></TD>")
	document.write("<script>if(m_bSmallScreen){document.end.src='../_images/smallend.gif'}else{document.end.src='../_images/end.gif'}</script></TR></TABLE></TD></TR><TR><TD>")
	
	document.write("<TABLE id='miantable' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'><TR>")
	//if(m_bSmallScreen){width1=8;width2=94;height1=140+leftSideOffsetY} else {width1=15;width2=124;height1=196+leftSideOffsetY}
	if(m_bSmallScreen){width1=8;width2=94;height1=108+leftSideOffsetY} else {width1=15;width2=124;height1=156+leftSideOffsetY}
	document.write("<td id='rotatespacetab' ><hr class='nonprintable' id='rotatespace' width="+width1+" style='visibility:hidden;'></td><TD valign='top'><hr class='nonprintable' id='rotatespace' width='"+width2+"px' style='visibility:hidden;'>")
	
	// BEGIN: new icon column
	document.write("<TABLE border=0 class='nonprintable' id='rotatetab' width='"+(m_bSmallScreen?90:120)+" height='0' border='0' cellpadding='0' cellspacing='0' style='position: absolute;top:"+height1+"px;'><TR><TD></TD>")
	//Contact top
	document.write("<TD title='Send an e-mail!' onmouseout=\"window.status='Done'\" onmouseover=\"window.status='Contact Judex A/S - (Click mouse to send an e-mail..)'\" onclick='window.location=\"mailto:info@judex.dk\"' style='border:2px solid #005A7B;cursor:pointer;'>")
	//document.write("<TD>")
	document.write(contact)
	document.write("</TD><TD width='11'></TD></TR><TR><TD height='10'></TD></TR><TR><TD></TD>")
	
	q=0
	while(q<rotate.length){
		document.write("<TD title='"+rotate[q+2]+"'><a href='"+rotate[q]+"' onmouseover='window.status=\""+rotate[q+2]+"\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG src='"+rotate[q+1]+(m_bSmallScreen?90:120)+".jpg' width='"+(m_bSmallScreen?90:120)+"' style='BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
		document.write("</TD><TD width='11'></TD></TR><TR><TD height='10'></TD></TR><TR><TD></TD>")	
		q+=3
	}
	document.write("</TABLE>")
	// END: new icon column
	
	/*
	document.write("<TABLE class='nonprintable' id='rotatetab' width='120' height='0' border='0' cellpadding='0' cellspacing='0' style='position: absolute;top="+height1+"px;'><TR><TD></TD>")

	//Contact top
	document.write("<TD onmouseout=\"window.status='Done'\" onmouseover=\"window.status='Contact Judex A/S'\" onclick='window.location=\"mailto:info@judex.dk\"' style='border-left:1px solid #005A7B;border-top:1px solid #005A7B;border-right:1px solid #005A7B;border-bottom:1px solid #005A7B;cursor:pointer;'>")
	//document.write("<TD>")
	document.write(contact)
	document.write("</TD><TD width='11'></TD></TR><TR><TD height='10'></TD></TR><TR><TD></TD><TD>")
	
	//disable item 1
	//document.write("<a id='rotateLink1' href='' onmouseover='window.status=\"Read more about this..\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG id='rotate1' width='120' style='BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
	//document.write("</TD><script>if(m_bSmallScreen)document.getElementById('rotate1').width=90</script><TD width='11'></TD></TR><TR><TD height='10'></TD></TR><TR><TD></TD><TD>")
	document.write("<a id='rotateLink2' href='' onmouseover='window.status=\"Read more about this..\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG id='rotate2' width='120' style='BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
	document.write("</TD><script>if(m_bSmallScreen)document.getElementById('rotate2').width=90</script><TD width='11'></TD></TR><TR><TD height='10'></TD></TR><TR><TD></TD><TD>")
	document.write("<a id='rotateLink3' href='' onmouseover='window.status=\"Read more about this..\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG id='rotate3' width='120' style='BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
	document.write("</TD><script>if(m_bSmallScreen)document.getElementById('rotate3').width=90</script><TD width='11'></TD><TR><TD height='10'></TD></TR><TR><TD></TD><TD>")
	document.write("<a id='rotateLink4' href='' onmouseover='window.status=\"Read more about this..\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG id='rotate4' width='120' style='BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
	document.write("</TD><script>if(m_bSmallScreen)document.getElementById('rotate4').width=90</script><TD width='11'></TD><TR><TD height='10'></TD></TR><TR><TD></TD><TD id='lastRotate' style='visibility:hidden'>")
	document.write("<a id='rotateLink5' href='' onmouseover='window.status=\"Read more about this..\";return true;' onmouseout='window.status=\"Done\";return true;' target='_top'><IMG id='rotate5' width='120' style='height:0;BORDER-RIGHT: #00597b 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #00597b 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #00597b 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #00597b 2px solid'></a>")
	document.write("</TD><script>if(m_bSmallScreen)document.getElementById('rotate5').width=90;</script>")
	document.write("<TD width='11'></TD></TR><TR><TD></TD>")
	
	//Contact bottom
	//document.write("<TD style='border-left:1px solid #005A7B;border-top:1px solid #005A7B;border-right:1px solid #005A7B;border-bottom:1px solid #005A7B;'>")
	document.write("<TD>")
	//document.write(contact)
	//document.write("</TD><TD width='11'></TD></TR><TR><TD height='10'></TD></TR>")
	
	document.write("</TABLE><script>if(m_bSmallScreen){document.getElementById('rotatetab').width=90;document.getElementById('rotatespacetab').width=28;document.getElementById('rotatespace').width=document.getElementById('rotatespacetab').width}</script>")
	*/
	
	if(m_bSmallScreen){mywidth = 14} else {mywidth = 23} // Width = 23 !!!
	
	document.write("<td height='110'><hr class='nonprintable' width="+mywidth+" style='visibility:hidden;'></td></TD><TD width='2px'><table  width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'><tr><td>")
	document.write("<IMG class='nonprintable' src='../_images/darkblue.gif' height='100%' width='2px' border='0'></td>")
	document.write("</tr></table><TD id='tabframe' valign='top' width='100%'><div id='tabDiv' class='tabOffset'>")
	//if(start&&tabArray) 

	//insertTabs(start,tabArray);
	document.write("</div><div onmouseover='if(tabArray&&!dropHideTimeout){dropHideTimeout=setTimeout(\"hideShownDropDowns(null,null,true,true)\",500)};' id='FakeFrame' class='useFrame' onscroll='scrollFakeFrame()' style='")
	if(!document.all) document.write("width:"+(window.innerWidth-(m_bSmallScreen?215:260))+"px;")
	document.write("'>")
}

function writeHome(){
	// This function is needed, because MAP for some reason is unable to set window.sataus !!
	setTimeout("window.status='Home'",0)
}

function BrakeFrame(){
 //obj=document.getElementById('FakeFrame').style
 if(inFrame){
	inFrame=false
	document.body.style.overflowY="scroll"
	document.getElementById('FakeFrame').className="noFrame"
	document.getElementById('FrameButton').style.top=document.body.scrollTop
	document.getElementById('FrameButton').style.left=document.body.clientWidth+document.body.scrollLeft-16
	document.getElementById('FrameButton').src="../_images/minimized.gif"
	document.getElementById('headerDiv').style.padding="0px 0px 0px 0px"
	document.body.style.marginRight=9
 }else{ 
  	inFrame=true
 	document.body.style.overflowY="hidden"
	document.getElementById('FakeFrame').style.height=document.body.clientHeight+(m_bSmallScreen?-131:-172)+(tabArray?0:2)
	document.getElementById('FakeFrame').className="useFrame"
	document.getElementById('FakeFrame').scrollTop=window.document.body.scrollTop+(m_bSmallScreen?-64:-184)+(tabArray?0:38)
	document.getElementById('FrameButton').style.top=document.getElementById('FakeFrame').offsetTop+(m_bSmallScreen?129:170)
	document.getElementById('headerDiv').style.padding="0px 16px 0px 0px"
	document.getElementById('FrameButton').src="../_images/maximized.gif"
	//document.getElementById('FrameButton').style.left=document.getElementById('main').offsetWidth+(m_bSmallScreen?-33:-18)
	document.getElementById('FrameButton').style.left=document.getElementById('rotatetab').offsetWidth+document.getElementById('FakeFrame').offsetWidth+(m_bSmallScreen?+6:+22)
	//document.getElementById('rotatetab').style.top=(m_bSmallScreen?140:196)
    //document.getElementById('lastRotate').style.visibility="hidden"
	//document.getElementById('rotate5').style.height=0
	document.body.style.marginRight=10
	window.scrollTo(0,0);
  }
}

/*
lastRotateTimer=null
function DoRotate(id){
	nlength = rotate.length
	if(nlength<10) return
	obj=eval("document.getElementById('rotate"+id+"')");found=true
	while(found){
		number = Math.round(Math.random()*nlength)
		if(number==nlength)number=0
		number=Math.floor((number/2))
		i=2;found=false // 1 rotating tab has been disabled
		other=eval("document.getElementById('rotate"+i+"')")
		while(other&&!found){
  			found=(other.inUse==number)
			if(!found){i++;other=eval("document.getElementById('rotate"+i+"')")}
		}
	}
	obj.inUse=number
	if(obj.style.visibility!='hidden'){
		imgsrc=eval("rotate["+((number*2)+1)+"]")
		if(imgsrc.substring(imgsrc.length-4)==".gif")
			obj.src=imgsrc.substring(0,imgsrc.length-4)+(m_bSmallScreen?"90":"120")+".gif"
		else		
			obj.src=imgsrc+(m_bSmallScreen?"90":"120")+".jpg"
		strLink=eval("rotate["+(number*2)+"]")
		eval("document.getElementById('rotateLink"+id+"').href='"+strLink+"'")
		if(strLink.indexOf("http:")>=0) eval("document.getElementById('rotateLink"+id+"').target='blank'")
		else eval("document.getElementById('rotateLink"+id+"').target='_top'")
	}
	//timer = setTimeout("DoRotate('"+id+"');",Math.floor(10+Math.random()*10)*nTimer)
	//if(id=5) lastRotateTimer=timer
}
*/
function endJudexHeader(){
	document.write("</div></TD></TR></TABLE></TD></TR></TABLE>")
	if(iVersion>=4){
		if(""+typeof(GBlink)=="string"||""+typeof(DKlink)=="string"){
			if(""+typeof(GBlink)=="string") document.write("<img title='Change to English' onclick='window.location=\""+GBlink+"\"' id='FlagsButton' class='nonprintable' onmouseover='this.src=this.normsrc' onmouseout='this.src=this.dimsrc' src='../_images/_flag1.gif' normsrc='../_images/flag1.gif' dimsrc='../_images/_flag1.gif' style='cursor:pointer;position: absolute; top:"+(m_bSmallScreen?140:197)+"'>")
			else document.write("<img title='Skift til Dansk' onclick='window.location=\""+DKlink+"\"' id='FlagsButton' class='nonprintable' onmouseover='this.src=this.normsrc' onmouseout='this.src=this.dimsrc' src='../_images/_flag2.gif' normsrc='../_images/flag2.gif' dimsrc='../_images/_flag2.gif' style='cursor:pointer;position: absolute; top:"+(m_bSmallScreen?140:197)+"'>")
		}
		document.write("<img title='Frame Toggle' id='FrameButton' class='nonprintable' onmouseover='this.style.cursor=\"pointer\"' onclick='BrakeFrame()' src='../_images/maximized.gif' style='position: absolute; top:")

		document.write(document.getElementById('FakeFrame').offsetTop+(m_bSmallScreen?129:170))
		document.write("; left:")
		document.write(document.getElementById('main').offsetWidth+(m_bSmallScreen?-23:2))
		document.write("; width:16; height:17;'>")
		document.getElementById('FakeFrame').style.overflowX="hidden"	
	}
	//document.getElementById('FrameButton').style.left=document.getElementById('main').offsetWidth+(m_bSmallScreen?-33:-18)
	//setTimeout("document.getElementById('FrameButton').style.left=document.getElementById('rotatetab').offsetWidth+document.getElementById('FakeFrame').offsetWidth+(m_bSmallScreen?+27:+58)",0)
	// Main menu
	document.write("<div class='nonprintable' id='contextMenu' style='position:absolute;visibility:hidden;top:0px;left:0px;width:130px;height:100px;border:1 solid;border-color:#C0C0C0 #000000 #000000 #C0C0C0;'>")
	document.write("<table bgcolor='#ECE9D8' width='100%' height='100%' style='border:1 solid;border-color:#ffffff #808080 #808080 #ffffff;'><tr><td valign='top' align='center'>")
	document.write("<table width='100%' height='100%' cellpadding=0 cellspacing=0 border=0><tr><td><img src='../_images/menuheader.gif' width=122 height=45 border=0></td></tr><tr><td>")
	document.write("<table width='100%' height='100%' cellpadding=0 cellspacing=0 border=0 style='FONT-FAMILY:Microsoft Sans Serif;color:black;font-size:9pt;'>")
	document.write("<tr><td height='17px'>")
	strLocation=""+window.location
	if(strLocation.indexOf("judex/about")>=0) document.write("<div style='cursor:default;'><input class='mainMenu' type='text' disabled value='     Home' style='cursor:default;background:transparent;border:1;width:60px;FONT-FAMILY:Microsoft Sans Serif;font-size:9pt;'></div>")
	else document.write("<"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home</nobr>','../','Home','mainMenu')<"+"/script></a>")
	document.write("</td></tr>")
	document.write("<tr><td height=11><img src='../_images/line.gif' width='100%' height=2 border=0></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Top</nobr>',null,'Frame Toggle','mainMenu',null,'javascript:goToTop();')<"+"/script></a></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Back</nobr>',null,'Back','mainMenu',null,'javascript:history.back();')<"+"/script></a></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forward</nobr>',null,'Forward','mainMenu',null,'javascript:history.forward();')<"+"/script></a></td></tr>")
	document.write("<tr><td height=11><img src='../_images/line.gif' width='100%' height=2 border=0></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frame Toggle</nobr>',null,'Frame Toggle','mainMenu',null,'javascript:BrakeFrame();')<"+"/script></a></td></tr>")
	document.write("<tr><td height=11><img src='../_images/line.gif' width='100%' height=2 border=0></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print</nobr>',null,'Print current document','mainMenu',null,'javascript:window.print();')<"+"/script></a></td></tr>")
	//document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print Preview</nobr>',null,'Print preview','mainMenu',null,'javascript:PrintPreview();')<"+"/script></a></td></tr>")
	document.write("<tr><td height=11><img src='../_images/line.gif' width='100%' height=2 border=0></td></tr>")
	document.write("<tr><td height='17px'><"+"script>makeLink('<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mail to Judex</nobr>',null,'Mail to Judex','mainMenu',null,'mailto:info@judex.dk')<"+"/script></a></td></tr>")
	document.write("</table></td></tr></table></td></tr></table></div>")
	if(document.all){
		for (i = 0;i< document.images.length;i++){
			z = document.images(i);
			z.galleryImg = 'no'
			strLable=""+z.alt
			if(strLable.indexOf(".jpg")>0||strLable.indexOf(".gif")>0) z.alt=""
		}
	}
}

function HideBottom(obj,loadsite){
	if (!obj||!tabArray) return
	if(ActivePage!=0) {
		ths=eval("document.getElementById('LowBorder')"+ActivePage)
		if(ths) ths.style.visibility="visible"
	}
	ActivePage=obj
	if(ActivePage!=0) {
		ths=eval("document.getElementById('LowBorder')"+ActivePage)
		if(ths) ths.style.visibility="hidden"
	}
	if(loadsite) loadLocal(loadsite)
}

function goToTop(){
	if(inFrame && document.all) {
		// Makes fakefram scroll to top !!
		setTimeout("document.getElementById('FakeFrame').style.height="+document.getElementById('FakeFrame').offsetHeight,0)
		document.getElementById('FakeFrame').style.height=0
	} else window.scrollTo(0,0)
}

function loadLocal(url){
	if(!url) url="#top"
	if(url=="#top"){
		goToTop()
		return
	}
	point=url.indexOf("#")
	hasTag=true
	if(point>0) stripUrl=url.substring(0,point)
	else {
		stripUrl=url
		hasTag=false
	}
	strLoc=""+window.location
	if (point!=0) point=strLoc.indexOf(stripUrl)
	else {
		point=strLoc.indexOf("#")
		if(point>0) stripLoc=strLoc.substring(0,point)
		else stripLoc=strLoc
		url=stripLoc+url
		hasTag=true
		point=1
	}
	//if(point>0) {
		//if(hasTag&&!inFrame) window.location=url
		//else 
		//window.open(url+(inFrame?'':'#noFrm'),'_top')
	//} else {
		window.open(url+(inFrame?'':'#noFrm'),'_top')
	//}
}

/////////////////////////////////////////
dropDownTimeout = null
dropHideTimeout = null

function showDropDown(el,action) {
	if(dropDownTimeout) {clearTimeout(dropDownTimeout);dropDownTimeout=null}
	if(!action) {
		dropDownTimeout = setTimeout("showDropDown(document.getElementById('"+el.id+"'),true)",300); 
		return
	}
	if(el.style.visibility=='visible'||!tabArray) return
	hideShownDropDowns(el,null,true)
    if(ActivePage!=0) eval("if(document.getElementById('LowBorder"+ActivePage+"')){document.getElementById('LowBorder"+ActivePage+"').style.visibility='visible'}")
	eval("if(document.getElementById('LowBorder"+(eval(el.id.substring(4))+1)+"')){document.getElementById('LowBorder"+(eval(el.id.substring(4))+1)+"').style.visibility='hidden'}")
	if (typeof(swipe) == "function") swipe(el, 2);
	else el.style.visibility = "visible";
}

var swipeSteps = 10;
var swipemsec = 25;
var fadeSteps = 4;
var fademsec = 50;
var swipeArray = new Array();

function swipe(el, dir, steps, msec) {

	if (steps == null) steps = swipeSteps;
	if (msec == null) msec = swipemsec;
	if (el.swipeIndex == null)
		el.swipeIndex = swipeArray.length;
	if (el.swipeTimer != null)
		window.clearTimeout(el.swipeTimer);
	swipeArray[el.swipeIndex] = el;
	el.style.clip = "rect(-99999, 99999, 99999, -99999)";
	if (el.swipeCounter == null) {		// No animation yet!
		el.orgLeft  = el.offsetLeft;
		el.orgTop  = el.offsetTop;
		el.orgWidth = el.offsetWidth;
		el.orgHeight  = el.offsetHeight;
	}
	else if (el.swipeCounter == 0) {	// The Animation has stopped! It's now safe to update the position.
		el.orgLeft  = el.offsetLeft;
		el.orgTop  = el.offsetTop;
		el.orgWidth = el.offsetWidth;
		el.orgHeight  = el.offsetHeight;
	}
	el.style.left = el.orgLeft;
	el.style.top  = el.orgTop;
	el.swipeCounter = steps;
	el.style.clip = "rect(0,0,0,0)";
	el.swipeTimer = window.setTimeout("repeat(" + dir + "," + el.swipeIndex + "," + steps + "," + msec + ")", msec);
}

function repeat(dir, index, steps, msec) {
	el = swipeArray[index];
	var left   = el.orgLeft;
	var top    = el.orgTop;
	var width  = el.orgWidth;
	var height = el.orgHeight;
	if (el.swipeCounter == 0) {
		el.style.clip = "rect(-99999, 99999, 99999, -99999)";
		return;
	}
	else {
		el.swipeCounter--;
		el.style.visibility = "visible";
		switch (dir) {
			case 2:		//down (see the numpad)
				el.style.clip = "rect(" + height*el.swipeCounter/steps + "," + width + "," + height + "," + 0 + ")";
				el.style.top  = top - height*el.swipeCounter/steps;
				break;
			case 8:
				el.style.clip = "rect(" + 0 + "," + width + "," + height*(steps-el.swipeCounter)/steps + "," + 0 + ")";
				el.style.top  = top + height*el.swipeCounter/steps;
				break;
			case 6:
				el.style.clip = "rect(" + 0 + "," + width + "," + height + "," + width*(el.swipeCounter)/steps + ")";
				el.style.left  = left - width*el.swipeCounter/steps;
				break;
			case 4:
				el.style.clip = "rect(" + 0 + "," + width*(swipeSteps - el.swipeCounter)/steps + "," + height + "," + 0 + ")";
				el.style.left  = left + width*el.swipeCounter/steps;
				break;
		}
		
		el.swipeTimer = window.setTimeout("repeat(" + dir + "," + index + "," + steps + "," + msec + ")", msec);
	}
}

var fadeArray = new Array();	// Needed to keep track of wich elements are animating

function fade(el, fadeIn, steps, msec) {

	if (steps == null) steps = fadeSteps;
	if (msec == null) msec = fademsec;
	
	if (el.fadeIndex == null)
		el.fadeIndex = fadeArray.length;
	fadeArray[el.fadeIndex] = el;
	
	if (el.fadeStepNumber == null) {
		if (el.style.visibility == "hidden")
			el.fadeStepNumber = 0;
		else
			el.fadeStepNumber = steps;
		if (fadeIn)
			el.style.filter = "Alpha(Opacity=0)";
		else
			el.style.filter = "Alpha(Opacity=100)";
	}
			
	window.setTimeout("repeatFade(" + fadeIn + "," + el.fadeIndex + "," + steps + "," + msec + ")", msec);
}

function repeatFade(fadeIn, index, steps, msec) {	
	el = fadeArray[index];
	
	c = el.fadeStepNumber;
	if (el.fadeTimer != null)
		window.clearTimeout(el.fadeTimer);
	if ((c == 0) && (!fadeIn)) {			//Done fading out!
		el.style.visibility = "hidden";		// If the platform doesn't support filter it will hide anyway
		el.style.filter = "Alpha(Opacity=100)";
		return;
	}
	else if ((c==steps) && (fadeIn)) {	//Done fading in!
		el.style.filter = "";
		el.style.visibility = "visible";
		return;
	}
	else {
		(fadeIn) ? 	c++ : c--;
		el.style.visibility = "visible";
		el.style.filter = "Alpha(Opacity=" + 100*c/steps + ")";

		el.fadeStepNumber = c;
		el.fadeTimer = window.setTimeout("repeatFade(" + fadeIn + "," + index + "," + steps + "," + msec + ")", msec);
	}
}


function hideShownDropDowns(execption,noLines,notContext,rollUp){
    //if (!notContext&&typeof(fade) == "function") fade(document.getElementById('contextMenu'), false);
	//else 
	if(!notContext) document.getElementById('contextMenu').style.visibility = 'hidden';
	//document.getElementById('contextMenu').fadeStepNumber=0
	if(dropHideTimeout) {clearTimeout(dropHideTimeout);dropHideTimeout=null}
	if(!tabArray) return
	if(ActivePage!=0) eval("if(document.getElementById('LowBorder"+ActivePage+"')){document.getElementById('LowBorder"+ActivePage+"').style.visibility='hidden'}")
	for(i=0;i<(tabArray.length/3);i++){
		obj=eval("document.getElementById('Menu')"+i)
		if((i+1)!=ActivePage&&!noLines)eval("if(document.getElementById('LowBorder"+(i+1)+"')){document.getElementById('LowBorder"+(i+1)+"').style.visibility='visible'}")
		if(obj && execption!=obj){
			clearTimeout(obj.swipeTimer)
			if((obj.style.visibility!="hidden"||obj.ajusted!="true")){
				obj.style.top=obj.offsetTop
				if(!rollUp) obj.style.visibility="hidden"
				else {
					obj.fadeStepNumber = fadeSteps;
					fade(obj,false)
				}
				if(obj.ajusted!="true"){
					obj.ajusted="true"
					if(obj.offsetWidth<eval("document.getElementById('tabSpace"+i+"').offsetWidth")) obj.style.width=eval("document.getElementById('tabSpace"+i+"').offsetWidth")
					obj.style.left=obj.offsetLeft-obj.offsetWidth+eval("document.getElementById('tabSpace"+i+"').offsetWidth")
				} else 	obj.style.left=obj.offsetLeft
			}
		}
	}
}

function makeLink(name,url,statusText,useStyle,hintText,code,target,useID){
	if(!name) name="Back to top"
	if(!url&&!code) url="#top"
	if(!statusText) {
		if(url=="#top") {
			statusText="Go to top.."
			useStyle="nonprintable"
		}else{
			if(hintText) statusText=hintText
			else statusText=name
		}
	}
	if(!code) document.write("<a href='javascript:loadLocal(\""+url+"\")' ")
	else document.write("<a href='"+code+"' ")
	document.write("onmouseover='window.status=\""+statusText+"\";return true' onmouseout='window.status=\"Done\";return true' ")
	if(hintText) document.write("title='"+hintText+"' ")
	if(useStyle) document.write("class='"+useStyle+"' ")
	if(target) document.write("target='"+target+"' ")
	if(useID) document.write("id='"+useID+"' ")
	document.write(">"+name+"</a>")	
}

// TEXT-DECORATION: underline

function insertTabs(start,linkArray){
	return // function disabled...
	if(start) ActivePage=start

	document.write("<table id='tabMain' border=0 cellpadding=0 cellspacing=0 height=20 ><tr><td width='100%'>")
	document.write("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%' >")
	document.write("<tr><td height='100%' class='headerLine'><font color='"+fontColorHeaderHigh+"' style='font-size:14;font-weight:;font-family:Arial;'>"+title+"</font></td></tr><tr><td height=1 class='headerLine'"+(linkArray?"":" style='padding-bottom:1 px'")+">")
	document.write("<img src='../_images/dot2.gif' width='100%' height=1 border=0>")
	document.write("</td></tr></table></td>")

	if(linkArray) {
		arrayLength = linkArray.length/3
		document.write("<td>")
		for(i=0; i<arrayLength; i++){
			hasSubMenu=false
			hasSubMenu=(linkArray[(i*3)+2]!=null)
			document.write("<table id='tab"+i+"' onmouseout='if(dropDownTimeout){clearTimeout(dropDownTimeout);dropDownTimeout=null}' onMouseOver='"+(hasSubMenu?"showDropDown(document.getElementById('Menu"+i+"'))":"hideShownDropDowns(document.getElementById('Menu"+i+"'),null,true)")+"' border=0 cellpadding=0 cellspacing=0>")
			document.write("<tr><td class='nonprintable' width=9 height=20><img src='../_images/terminator2.gif' border=0></td><td>")
			document.write("<table class='nonprintable' height='100%' border=0 cellpadding=0 cellspacing=0>")
			document.write("<tr><td valign='top'><img src='../_images/dot2.gif' width='100%' height=1 border=0></td></tr><tr>")
			tabText = null
			tabText = linkArray[(i*3)+1]
			hintText = tabText
			hintPoint = tabText.indexOf(";")
			if(hintPoint>0) {
				tabText = hintText.substring(hintPoint,-1)
				hintText = hintText.substring(hintPoint+1)
			} else hintText=null
			document.write("<td style='font-size:7;'>")
		
			if(i+1==start||!linkArray[(i*3)]) document.write("<div class='tabStyle' "+(hintText?("title='"+hintText+"' "):"")+"style='cursor:default;'><font color='"+(i+1==start?fontColorHeaderHigh:fontColor)+"' style='FONT-SIZE: 11px'>"+(i+1==start?"<strong>":"")+"<NOBR>"+tabText+"&nbsp;&nbsp;</NOBR>"+(i+1==start?"</strong>":"")+"</font></div>")
			else {document.write("<"+"script>makeLink('<NOBR>"+tabText+"&nbsp;&nbsp;</NOBR>','"+linkArray[(i*3)]+"',"+(hintText?("null"):("'"+tabText+"'"))+",'tabStyle',"+(hintText?("'"+hintText+"'"):("null"))+",'javascript:HideBottom("+(i+1)+",\""+linkArray[(i*3)]+"\");')<"+"/script>")}

			document.write("</td></tr></table></td><td width=1 height=20><img src='../_images/dot2.gif' width=1 height=20 border=0></td>")
			if(i+1==start) document.write("</tr><tr><td colspan=2 valign='bottom'><img id='LowBorder"+(i+1)+"' src='../_images/dot2.gif' width='100%' height=1 border=0 style='visibility: hidden;'></td>")
			else document.write("</tr><tr><td colspan=2 valign='bottom'><img id='LowBorder"+(i+1)+"' src='../_images/dot2.gif' width='100%' height=1 border=0 style='visibility: hidden;'></td>")
			document.write("<td><img class='nonprintable' src='../_images/dot2.gif' width=1 height=1 border=0></td></tr>")
			document.write("</table>")
	
			if (i<arrayLength-1) document.write("</td><td>")
			else document.write("</td></tr><tr><td></td>")
		}
	} else {
		arrayLength = 0
		document.write("<td valign='bottom' style=' padding-bottom:1 px'><img src='../_images/dot2.gif' width='100%' height=1 border=0></td></tr></table>")
	}
	for(j=0; j<arrayLength; j++){
		document.write("<td id='tabSpace"+j+"'>")
		subMenu=null
		if(linkArray) subMenu=linkArray[(j*3)+2]
		if(subMenu){
			document.write("<table onmouseover='if(dropHideTimeout){clearTimeout(dropHideTimeout);dropHideTimeout=null}' class='nonprintable' id='Menu"+j+"' cellpadding=3 cellspacing=0 style='position: absolute; visibility: hidden; border-right: 1 solid #00D6E7; border-bottom: 1 solid #00D6E7; border-left: 1 solid #00D6E7; background:#ffffff;'>")
			subLength=subMenu.length/2
			if(subLength>0){
				for(k=0; k<subLength; k++){
					document.write("<tr><td align='right'>")
					tabText = subMenu[(k*2)+1]
					hintText = tabText
					hintPoint = tabText.indexOf(";")
					if(hintPoint>0) {
						tabText = hintText.substring(hintPoint,-1)
						hintText = hintText.substring(hintPoint+1)
					} else hintText=""
					document.write("<"+"script>makeLink('<NOBR>&nbsp;"+tabText+"&nbsp;</NOBR>','"+subMenu[(k*2)]+"','"+tabText+"','tabStyle','"+hintText+"')</script"+">")
				}
				document.write("</td></tr></table>")
			}
		}
		if (j<arrayLength-1) document.write("</td>")
		else document.write("</td></tr></table>")
	}
}

function PrintPreview(){
	return;
	
	var OLECMDID = 7;
	// OLECMDID values:
	//* 6 - print
	//* 7 - print preview
	//* 1 - open window
	//* 4 - Save As
	var PROMPT = 1; // 2 DONTPROMPTUSER 
	var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
	document.body.insertAdjacentHTML('beforeEnd', WebBrowser); 
	WebBrowser1.ExecWB(OLECMDID, PROMPT);
	WebBrowser1.outerHTML = "";
}