// JavaScript Document
<!--
// highlight selected menu item
function highlight(elementID) {
	if(elementID != ""  && elementID != "@@@(menuHightlight)@@@" && elementID != "@@(menuHightlight)@@") {  // don't do it if nothing selected or if this is a template
		document.getElementById(elementID).className="selected";
	}
}

function openQuotationWindow()
{
	window.open('quotationpopup.html','','scrollbars=yes,menubar=no,height=600,width=650,resizable=yes,toolbar=no,ation=no,status=no');
}

function openGalleryWindow()
{
	window.open('gallerypopup.html','','scrollbars=yes,menubar=no,height=500,width=500,resizable=yes,toolbar=no,ation=no,status=no');
}

// Son of Suckerfish Dropdowns script
// http://www.htmldog.com/articles/suckerfish/dropdowns/
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


// Dreamweaver Netscape resize fix
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//-->