	//reusable/////////////////////////////
	//Drop down menu by http://www.dynamicdrive.com
	var zindex=100
	var ns4=document.layers
	var ns6=document.getElementById&&!document.all
	var ie4=document.all
	var opr=navigator.userAgent.indexOf("Opera")

	function dropit(e,whichone)
	{
		curmenuID=ns6? document.getElementById(whichone).id : eval(whichone).id
		if (window.themenu&&themenu.id!=curmenuID)
			themenuStyle.visibility=ns4?"hide" : "hidden"
		themenu=ns6? document.getElementById(whichone): eval(whichone)
		themenuStyle=(ns6||ie4)? themenu.style : themenu
		themenuoffsetX=(ie4&&opr==-1)? document.body.scrollLeft : 0
		themenuoffsetY=(ie4&&opr==-1)? document.body.scrollTop : 0
		themenuStyle.left=ns6||ns4? e.pageX-e.layerX : themenuoffsetX+event.clientX-event.offsetX
		themenuStyle.top=ns6||ns4? e.pageY-e.layerY+23 : themenuoffsetY+event.clientY-event.offsetY+23
		hiddenconst=(ns6||ie4)? "hidden" : "hide"
		if (themenuStyle.visibility==hiddenconst)
			{
			themenuStyle.visibility=(ns6||ie4)? "visible" : "show"
			themenuStyle.zIndex=zindex++
		}
		else
			//hidemenu()
		return false
	}
	function popUp(url) 
	{
		sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
		self.name = "mainWin";
	}

	function hidemenu()
	{
		if ((ie4||ns6)&&window.themenu)
			themenuStyle.visibility="hidden"
		else if (ns4)
			themenu.visibility="hide"
	}

	if (ie4||ns6)
		document.onclick=hidemenu
	//reusable/////////////////////////////

    var img_dir="../images/"
    section = new Array(0);
	browserName=navigator.appName;
	browserVer=parseInt(navigator.appVersion);
    if (browserVer >= 3) version = "n3";
        else version = "x";
	var loaded = 0;
	var selected = "none";
	var sect_count=section.length;
	var img_count=0;
	// load the images 
	window.onload=load_src;

	function refresh()
	{
		document.location=document.location;
	}
	function img_inact(imgName, isprimary)
	{
	    	if ( img_count>0 )  
	        {
		   	imgName="b_"+imgName+"a";
			if (isprimary=="false")
			{
				imgOn=eval(imgName+"on.src")
			}
			else
			{
				imgOn=eval(imgName+"hi.src")
			}
			document [imgName].src = imgOn;
		}
	}
	function img_act(imgName)
	{
    	var temp;
    	temp ="document.dropmenu" + imgName;
    	imgName="b_"+imgName+"a";
    	if(ns4) return dropit(event, temp)
	    	if ( img_count>0 )  
 	       	{
 	       		imgOff = eval(imgName+"off.src")
 		       	document [imgName].src = imgOff;
        	}
	};

	//
	// This function loads all the graphics
	//
	function load_src()
	{	
		if ( version == "n3" )
		{
			// look for all images that have names
			img_count=document.images.length
			var name_count=0;
			for ( var i=0; i<img_count; i++ ) 
			{
				img_name = document.images[i].name
				if ( img_name != "" )
				{
					section[name_count]=img_name;
					name_count++;
				}
			}
			//   check how many we have
			var sect_count=section.length
			for ( var i=0; i<sect_count; i++ ) 
			{
				var str=section[i]+"on = new Image(85,11)";
				eval (str);
       				var str=section[i]+'on.src = "'+img_dir+section[i]+'.gif"';
				eval (str);
				var str=section[i]+"off = new Image(85,11)";
				eval (str);
        			var str=section[i]+'off.src = "'+img_dir+section[i]+'h.gif"';
				eval (str);
				var str=section[i]+"hi = new Image(85,11)";
				eval (str);
        			var str=section[i]+'hi.src = "'+img_dir+section[i]+'s.gif"';
				eval (str);
			}
  			loaded = 1;
  		}
	}


function homelistclose(strId)
{
	if (document.all)   //will not work with Netscape
	{
		var oDetailRow = document.getElementById(strId);
		oDetailRow.style.display = "none";
	}
}
function homelistchange(strId) 
{
	if (document.all)   //will not work with Netscape
	{
		try 
		{
			//var elem = event.srcElement;
			//var szImgSrc = elem.src;
			var oDetailRow = document.getElementById(strId);
			if (oDetailRow.style.display == "none")
			{
				oDetailRow.style.display = "block";
			}
			else
			{
				oDetailRow.style.display = "none";
			}
			if (strId!="1")	{ homelistclose("1"); }
			if (strId!="2")	{ homelistclose("2"); }
			if (strId!="3")	{ homelistclose("3"); }
			if (strId!="4")	{ homelistclose("4"); }
			if (strId!="5")	{ homelistclose("5"); }
		}
		catch(e) 
		{
			alert ("not working");
		}
	}
}