function changeURL()
{
if(document.frmView.D1.value=='cedia')
{
location.href="http://www.mitusbishi-motors.co.in"
}
if(document.frmView.D1.value=='rtv')
{
location.href="http://www.hmrtv.com"
}
if(document.frmView.D1.value=='muv')
{
location.href="http://www.hmmuv.com"
}
if(document.frmView.D1.value=='ppd')
{
location.href="http://www.hmppd.com"
}
if(document.frmView.D1.value=='HM')
{
location.href="http://www.hindmotor.com"
}
if(document.frmView.D1.value=='pup')
{
location.href="http://www.hmpup.com"
}
if(document.frmView.D1.value=='exp')
{
location.href="http://www.hmexports.net"
}
if(document.frmView.D1.value=='lancer')
{
location.href="http://www.mitusbishi-motors.co.in"
}
if(document.frmView.D1.value=='mylancer')
{
location.href="http://www.my-lancer.com"
}
if(document.frmView.D1.value=='pajero')
{
location.href="http://www.mitusbishi-motors.co.in"
}
if(document.frmView.D1.value=='montero')
{
location.href="http://www.mitusbishi-motors.co.in"
}
if(document.frmView.D1.value=='amby')
{
location.href="http://www.hmambassador.com"
}
}
function doSave()
{
document.execCommand("SaveAs");
}
function doPrint()
{
document.execCommand("Print");
}
function hideMenu()
{
document.all['VEHICLES'].style.visibility="hidden";
document.all['FACILITY'].style.visibility="hidden";
}
function openmenu(menu)
{
var IE=(document.all || document.getElementById);
var NS=(document.layers);
if(IE)
{
arrLayer=new Array('VEHICLES','FACILITY');
for(i=0;i<arrLayer.length;i++)
		{
		if(arrLayer[i]==menu)
		document.all[arrLayer[i]].style.visibility="visible";
		else
		document.all[arrLayer[i]].style.visibility="hidden";
	}
}
if(NS)
{
arrLayer=new Array('VEHICLES','FACILITY');
	for(i=0;i<arrLayer.length;i++)
		{
		if(arrLayer[i]==menu)
		document.layers[arrLayer[i]].visibility="show";
		else
		document.layers[arrLayer[i]].visibility="hide";
	}
}
document.onclick=openmenu
}
