<!-- Begin Pix Display
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);

window.onload = function()
{
	document.mainpic.className = 'mainpic';
	
	// this line of code will remove background the repeat of the main table.
	// it look for the first table in the HTML body and set the background repeat property
	document.body.getElementsByTagName('table')[0].style.backgroundRepeat = 'no-repeat';
}

var activeImgName = false;
function doPic(imgName)
{
	activeImgName = imgName;
	
	if (ns3up || ie4up)
	{
		var pic = document.mainpic;
		
		pic.src = 'images/loader.gif';
		imgOn = ("" + imgName);
		
		var imgobj = new Image();
		
		imgobj.onload = function()
		{
			document.mainpic.src = activeImgName;
		}
		imgobj.src = imgOn;
	}
}
//  End Pix Display -->
<!--Pop Up Windows
//function MM_openBrWindow(theURL,winName,features) { //v2.0
//  window.open(theURL,winName,features);
//}
function Launch(page, width, height) { 
		OpenWin = this.open(page, "kirupa", "toolbar=no, menubar=no ,location=no, status=no, scrollbars=no, resizable=no, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
		OpenWin.focus(); 
}
// End Pop Up Windows-->

// Function drop menu navigation
// this function is used in side menu sub pages
// when user select a category in the side menu, this function will navigate

function dropMenuNavigate(obj)
{
	location = obj.value;
}