if(document.images) { headbutton1off = new Image(); headbutton1off.src = "images/button.home.gif"; headbutton1over = new Image(); headbutton1over.src = "images/button.home-over.gif"; headbutton1on = new Image(); headbutton1on.src = "images/button.home-down.gif"; headbutton2off = new Image(); headbutton2off.src = "images/button.services.jpg"; headbutton2over = new Image(); headbutton2over.src = "images/button.services-over.jpg"; headbutton2on = new Image(); headbutton2on.src = "images/button.services-down.jpg"; headbutton3off = new Image(); headbutton3off.src = "images/button.publications.jpg"; headbutton3over = new Image(); headbutton3over.src = "images/button.publications-over.jpg"; headbutton3on = new Image(); headbutton3on.src = "images/button.publications-down.jpg"; headbutton4off = new Image(); headbutton4off.src = "images/button.about.jpg"; headbutton4over = new Image(); headbutton4over.src = "images/button.about-over.jpg"; headbutton4on = new Image(); headbutton4on.src = "images/button.about-down.jpg"; headbutton5off = new Image(); headbutton5off.src = "images/button.partners.jpg"; headbutton5over = new Image(); headbutton5over.src = "images/button.partners-over.jpg"; headbutton5on = new Image(); headbutton5on.src = "images/button.partners-down.jpg"; headbutton6off = new Image(); headbutton6off.src = "images/button.resources.jpg"; headbutton6over = new Image(); headbutton6over.src = "images/button.resources-over.jpg"; headbutton6on = new Image(); headbutton6on.src = "images/button.resources-down.jpg"; headbutton7off = new Image(); headbutton7off.src = "images/button.testimonials.jpg"; headbutton7over = new Image(); headbutton7over.src = "images/button.testimonials-over.jpg"; headbutton7on = new Image(); headbutton7on.src = "images/button.testimonials-down.jpg"; headbutton8off = new Image(); headbutton8off.src = "images/button.contact.jpg"; headbutton8over = new Image(); headbutton8over.src = "images/button.contact-over.jpg"; headbutton8on = new Image(); headbutton8on.src = "images/button.contact-down.jpg"; } function setOn(buttonname) { thismenuname = 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") ; changeImages("headbutton8","headbutton8off") ; hideAll(); if (buttonname=="headbutton1") { thismenuname="headbutton1" ; changeImages("headbutton1","headbutton1on") ; } if (buttonname=="headbutton2") { thismenuname="headbutton2" ; changeImages("headbutton2","headbutton2on") ; } if (buttonname=="headbutton3") { thismenuname="headbutton3" ; changeImages("headbutton3","headbutton3on") ; } if (buttonname=="headbutton4") { thismenuname="headbutton4" ; changeImages("headbutton4","headbutton4on") ; } if (buttonname=="headbutton5") { thismenuname="headbutton5" ; changeImages("headbutton5","headbutton5on") ; } if (buttonname=="headbutton6") { thismenuname="headbutton6" ; changeImages("headbutton6","headbutton6on") ; } if (buttonname=="headbutton7") { thismenuname="headbutton7" ; changeImages("headbutton7","headbutton7on") ; } if (buttonname=="headbutton8") { thismenuname="headbutton8" ; changeImages("headbutton8","headbutton8on") ; } } } function outCheck(bname) { if (document.images) { hideAll(); var showLayer = thismenuname + "Layer"; if (bname=="headbutton1") { if (thismenuname=="headbutton1") changeImages("headbutton1","headbutton1on") ; else changeImages("headbutton1","headbutton1off") ; } if (bname=="headbutton2") { if (thismenuname=="headbutton2") changeImages("headbutton2","headbutton2on") ; else changeImages("headbutton2","headbutton2off") ; } if (bname=="headbutton3") { if (thismenuname=="headbutton3") changeImages("headbutton3","headbutton3on") ; else changeImages("headbutton3","headbutton3off") ; } if (bname=="headbutton4") { if (thismenuname=="headbutton4") changeImages("headbutton4","headbutton4on") ; else changeImages("headbutton4","headbutton4off") ; } if (bname=="headbutton5") { if (thismenuname=="headbutton5") changeImages("headbutton5","headbutton5on") ; else changeImages("headbutton5","headbutton5off") ; } if (bname=="headbutton6") { if (thismenuname=="headbutton6") changeImages("headbutton6","headbutton6on") ; else changeImages("headbutton6","headbutton6off") ; } if (bname=="headbutton7") { if (thismenuname=="headbutton7") changeImages("headbutton7","headbutton7on") ; else changeImages("headbutton7","headbutton7off") ; } if (bname=="headbutton8") { if (thismenuname=="headbutton8") changeImages("headbutton8","headbutton8on") ; else changeImages("headbutton8","headbutton8off") ; } } } function overCheck(bname) { if (document.images) { if (bname=="headbutton1") { if (thismenuname=="headbutton1") changeImages("headbutton1","headbutton1on") ; else changeImages("headbutton1","headbutton1over"); hideAll(); } if (bname=="headbutton2") { if (thismenuname=="headbutton2") changeImages("headbutton2","headbutton2on") ; else changeImages("headbutton2","headbutton2over"); hideAll(); } if (bname=="headbutton3") { if (thismenuname=="headbutton3") changeImages("headbutton3","headbutton3on") ; else changeImages("headbutton3","headbutton3over"); hideAll(); MM_showHideLayers('headbutton3Layer','','show'); } if (bname=="headbutton4") { if (thismenuname=="headbutton4") changeImages("headbutton4","headbutton4on") ; else changeImages("headbutton4","headbutton4over"); hideAll(); } if (bname=="headbutton5") { if (thismenuname=="headbutton5") changeImages("headbutton5","headbutton5on") ; else changeImages("headbutton5","headbutton5over"); hideAll(); } if (bname=="headbutton6") { if (thismenuname=="headbutton6") changeImages("headbutton6","headbutton6on") ; else changeImages("headbutton6","headbutton6over"); hideAll(); MM_showHideLayers('headbutton6Layer','','show'); } if (bname=="headbutton7") { if (thismenuname=="headbutton7") changeImages("headbutton7","headbutton7on") ; else changeImages("headbutton7","headbutton7over"); hideAll(); } if (bname=="headbutton8") { if (thismenuname=="headbutton8") changeImages("headbutton8","headbutton8on") ; else changeImages("headbutton8","headbutton8over"); 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=640,height=500'); } function popupphotos() { if(popupwin) { popupwin.close(); } popupwin = open('', 'popupwin', 'scrollbars=yes,resizable=yes,width=700,height=700'); }