  if (document.images)
   {
     pic1on= new Image(31,27);
     pic1on.src="/images/menu/header_home_on.gif";  
     pic2on= new Image(46,27);
     pic2on.src="/images/menu/header_monthly_on.gif"; 
     pic3on= new Image(49,27);
     pic3on.src="/images/menu/header_products_on.gif"; 
     pic4on= new Image(49,27);
     pic4on.src="/images/menu/header_motor_on.gif"; 
     pic5on= new Image(47,27);
     pic5on.src="/images/menu/header_vehicles_on.gif"; 
     pic6on= new Image(23,27);
     pic6on.src="/images/menu/header_forSale_on.gif"; 
     pic7on= new Image(51,27);
     pic7on.src="/images/menu/header_contact_on.gif";           

     pic1off= new Image(31,27);
     pic1off.src="/images/menu/header_home_off.gif";
     pic2off= new Image(46,27);
     pic2off.src="/images/menu/header_monthly_off.gif"; 
     pic3off= new Image(49,27);
     pic3off.src="/images/menu/header_products_off.gif"; 
     pic4off= new Image(49,27);
     pic4off.src="/images/menu/header_motor_off.gif";      
     pic5off= new Image(47,27);
     pic5off.src="/images/menu/header_vehicles_off.gif";   
     pic6off= new Image(23,27);
     pic6off.src="/images/menu/header_forSale_off.gif";  
     pic7off= new Image(51,27);
     pic7off.src="/images/menu/header_contact_off.gif";                               
   }
   
	function lightup(imgName)
	{
	if (document.images)
		{
		imgOn=eval(imgName + "on.src");
		document[imgName].src= imgOn;
		}
	}

	function turnoff(imgName)
	{
	if (document.images)
		{
		imgOff=eval(imgName + "off.src");
		document[imgName].src= imgOff;
		}
	}
	
function fnNewWindow( MyURL, MyProperties, MyWidth, MyHeight)
{
var newWindow;
var strProperties = "";

if (MyProperties == "")
	{
	if (MyWidth != "")
		strProperties = 'scrollBars=no,resizable=no,toolbar=no,menubar=no,location=no,directories=no,width=' + MyWidth;
	else
		strProperties = 'scrollBars=no,resizable=no,toolbar=no,menubar=no,location=no,directories=no,width=500';

	if (MyHeight != "")
		strProperties += ',height=' + MyHeight;
	else
		strProperties += ',height=500';
}
else
	strProperties = MyProperties
newWindow = window.open(MyURL, "", strProperties);
}	
