if(document.images) { cadownloadoff = new Image(); cadownloadoff.src = "images/cadownload.gif"; cadownloadover = new Image(); cadownloadover.src = "images/cadownload-over.gif"; supportcaoff = new Image(); supportcaoff.src = "images/supportCA.gif"; supportcaover = new Image(); supportcaover.src = "images/supportCA-over.gif"; juniorblogoff = new Image(); juniorblogoff.src = "images/juniorblog.gif"; juniorblogover = new Image(); juniorblogover.src = "images/juniorblog-over.gif"; headbutton1off = new Image(); headbutton1off.src = "images/"; headbutton1over = new Image(); headbutton1over.src = "images/"; headbutton1on = new Image(); headbutton1on.src = "images/"; headbutton2off = new Image(); headbutton2off.src = "images/"; headbutton2over = new Image(); headbutton2over.src = "images/"; headbutton2on = new Image(); headbutton2on.src = "images/"; headbutton3off = new Image(); headbutton3off.src = "images/"; headbutton3over = new Image(); headbutton3over.src = "images/"; headbutton3on = new Image(); headbutton3on.src = "images/"; headbutton4off = new Image(); headbutton4off.src = "images/"; headbutton4over = new Image(); headbutton4over.src = "images/"; headbutton4on = new Image(); headbutton4on.src = "images/"; headbutton5off = new Image(); headbutton5off.src = "images/"; headbutton5over = new Image(); headbutton5over.src = "images/"; headbutton5on = new Image(); headbutton5on.src = "images/"; headbutton6off = new Image(); headbutton6off.src = "images/"; headbutton6over = new Image(); headbutton6over.src = "images/"; headbutton6on = new Image(); headbutton6on.src = "images/"; headbutton7off = new Image(); headbutton7off.src = "images/"; headbutton7over = new Image(); headbutton7over.src = "images/"; headbutton7on = new Image(); headbutton7on.src = "images/"; } function setOn(buttonname) { top.window.menu = buttonname ; if (document.images) { changeImages("headbutton1","headbutton1off") ; changeImages("headbutton2","headbutton2off") ; changeImages("headbutton3","headbutton3off") ; changeImages("headbutton4","headbutton4off") ; changeImages("headbutton5","headbutton5off") ; changeImages("headbutton6","headbutton6off") ; changeImages("headbutton7","headbutton7off") ; hideAll(); if (buttonname=="headbutton1") { top.window.menu="headbutton1" ; changeImages("headbutton1","headbutton1on") ; } if (buttonname=="headbutton2") { top.window.menu="headbutton2" ; changeImages("headbutton2","headbutton2on") ; } if (buttonname=="headbutton3") { top.window.menu="headbutton3" ; changeImages("headbutton3","headbutton3on") ; } if (buttonname=="headbutton4") { top.window.menu="headbutton4" ; changeImages("headbutton4","headbutton4on") ; } if (buttonname=="headbutton5") { top.window.menu="headbutton5" ; changeImages("headbutton5","headbutton5on") ; } if (buttonname=="headbutton6") { top.window.menu="headbutton6" ; changeImages("headbutton6","headbutton6on") ; } if (buttonname=="headbutton7") { top.window.menu="headbutton7" ; changeImages("headbutton7","headbutton7on") ; } } } function outCheck(bname) { if (document.images) { hideAll(); var showLayer = top.window.menu + "Layer"; if (bname=="headbutton1") { if (top.window.menu=="headbutton1") changeImages("headbutton1","headbutton1on") ; else changeImages("headbutton1","headbutton1off") ; } if (bname=="headbutton2") { if (top.window.menu=="headbutton2") changeImages("headbutton2","headbutton2on") ; else changeImages("headbutton2","headbutton2off") ; } if (bname=="headbutton3") { if (top.window.menu=="headbutton3") changeImages("headbutton3","headbutton3on") ; else changeImages("headbutton3","headbutton3off") ; } if (bname=="headbutton4") { if (top.window.menu=="headbutton4") changeImages("headbutton4","headbutton4on") ; else changeImages("headbutton4","headbutton4off") ; } if (bname=="headbutton5") { if (top.window.menu=="headbutton5") changeImages("headbutton5","headbutton5on") ; else changeImages("headbutton5","headbutton5off") ; } if (bname=="headbutton6") { if (top.window.menu=="headbutton6") changeImages("headbutton6","headbutton6on") ; else changeImages("headbutton6","headbutton6off") ; } if (bname=="headbutton7") { if (top.window.menu=="headbutton7") changeImages("headbutton7","headbutton7on") ; else changeImages("headbutton7","headbutton7off") ; } } } function overCheck(bname) { if (document.images) { if (bname=="headbutton1") { if (top.window.menu=="headbutton1") changeImages("headbutton1","headbutton1on") ; else changeImages("headbutton1","headbutton1over"); hideAll(); } if (bname=="headbutton2") { if (top.window.menu=="headbutton2") changeImages("headbutton2","headbutton2on") ; else changeImages("headbutton2","headbutton2over"); hideAll(); } if (bname=="headbutton3") { if (top.window.menu=="headbutton3") changeImages("headbutton3","headbutton3on") ; else changeImages("headbutton3","headbutton3over"); hideAll(); } if (bname=="headbutton4") { if (top.window.menu=="headbutton4") changeImages("headbutton4","headbutton4on") ; else changeImages("headbutton4","headbutton4over"); hideAll(); MM_showHideLayers('headbutton4Layer','','show'); } if (bname=="headbutton5") { if (top.window.menu=="headbutton5") changeImages("headbutton5","headbutton5on") ; else changeImages("headbutton5","headbutton5over"); hideAll(); } if (bname=="headbutton6") { if (top.window.menu=="headbutton6") changeImages("headbutton6","headbutton6on") ; else changeImages("headbutton6","headbutton6over"); hideAll(); } if (bname=="headbutton7") { if (top.window.menu=="headbutton7") changeImages("headbutton7","headbutton7on") ; else changeImages("headbutton7","headbutton7over"); hideAll(); } } } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i"; } // popup window var popupwin=0; function popup() { if(popupwin) { popupwin.close(); } popupwin = open('', 'popupwin', 'scrollbars=yes,resizable=yes,width=600,height=500'); }