if(document.images) { bhomeoff = new Image(); bhomeoff.src = "images/button.bhome.gif"; bhomeover = new Image(); bhomeover.src = "images/button.bhome-over.gif"; bhomeon = new Image(); bhomeon.src = "images/button.bhome-down.gif"; bdatabaseoff = new Image(); bdatabaseoff.src = "images/button.bdatabase.gif"; bdatabaseover = new Image(); bdatabaseover.src = "images/button.bdatabase-over.gif"; bdatabaseon = new Image(); bdatabaseon.src = "images/button.bdatabase-down.gif"; blcspoff = new Image(); blcspoff.src = "images/button.blcsp.gif"; blcspover = new Image(); blcspover.src = "images/button.blcsp-over.gif"; blcspon = new Image(); blcspon.src = "images/button.blcsp-down.gif"; bcontactoff = new Image(); bcontactoff.src = "images/button.bcontact.gif"; bcontactover = new Image(); bcontactover.src = "images/button.bcontact-over.gif"; bcontacton = new Image(); bcontacton.src = "images/button.bcontact-down.gif"; } function setOn(buttonname) { if (document.images) { changeImages("bhome","bhomeoff") ; changeImages("bdatabase","bdatabaseoff") ; changeImages("blcsp","blcspoff") ; changeImages("bcontact","bcontactoff") ; if (buttonname=="bhome") { window.menu="bhome" ; changeImages("bhome","bhomeon") ; } if (buttonname=="bdatabase") { window.menu="bdatabase" ; changeImages("bdatabase","bdatabaseon") ; } if (buttonname=="blcsp") { window.menu="blcsp" ; changeImages("blcsp","blcspon") ; } if (buttonname=="bcontact") { window.menu="bcontact" ; changeImages("bcontact","bcontacton") ; } } } function outCheck(bname) { if (document.images) { if (bname=="bhome") { if (window.menu=="bhome") changeImages("bhome","bhomeon") ; else changeImages("bhome","bhomeoff") ; } if (bname=="bdatabase") { if (window.menu=="bdatabase") changeImages("bdatabase","bdatabaseon") ; else changeImages("bdatabase","bdatabaseoff") ; } if (bname=="blcsp") { if (window.menu=="blcsp") changeImages("blcsp","blcspon") ; else changeImages("blcsp","blcspoff") ; } if (bname=="bcontact") { if (window.menu=="bcontact") changeImages("bcontact","bcontacton") ; else changeImages("bcontact","bcontactoff") ; } } } function overCheck(bname) { if (document.images) { if (bname=="bhome") { if (window.menu=="bhome") changeImages("bhome","bhomeon") ; else changeImages("bhome","bhomeover") ; } if (bname=="bdatabase") { if (window.menu=="bdatabase") changeImages("bdatabase","bdatabaseon") ; else changeImages("bdatabase","bdatabaseover") ; } if (bname=="blcsp") { if (window.menu=="blcsp") changeImages("blcsp","blcspon") ; else changeImages("blcsp","blcspover") ; } if (bname=="bcontact") { if (window.menu=="bcontact") changeImages("bcontact","bcontacton") ; else changeImages("bcontact","bcontactover") ; } } } function changeImages() { if (document.images) { for (var i=0; i"; } // popup window var popupwin=0; function popup() { if(popupwin) { popupwin.close(); } popupwin = open('', 'popupwin', 'scrollbars=yes,resizable=yes,width=450,height=450'); } function popupvideo() { if(popupwin) { popupwin.close(); } popupwin = open('', 'popupwin', 'scrollbars=yes,resizable=yes,width=760,height=640'); }