
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
condition = !(( (browserName.indexOf("Explorer") >=0 ) && (browserVer < 4) ) ||  ((browserName.indexOf("Netscape") >=0 ) && (browserVer < 2) ) ) ; 
if (condition == true  )
    CanAnimate = true;
else
    CanAnimate = false;
function openchild(){
	var thisurl = "";
if(document.frm.txtBestDealCity.value == "1")
	thisurl = "http://www.carzonrent.com/images/ahmedabad-popup.jpg";
else if(document.frm.txtBestDealCity.value == "2")
	thisurl = "http://www.carzonrent.com/images/bangalore-popup.jpg";
else if(document.frm.txtBestDealCity.value == "3")
	thisurl = "http://www.carzonrent.com/images/delhi-popup.jpg";
else if(document.frm.txtBestDealCity.value == "4")
	thisurl = "http://www.carzonrent.com/images/faridabad-popup.jpg";
else if(document.frm.txtBestDealCity.value == "5")
	thisurl = "http://www.carzonrent.com/images/ghaziabad-popup.jpg";
else if(document.frm.txtBestDealCity.value == "6")
	thisurl = "http://www.carzonrent.com/images/gurgaon-popup.jpg";
else if(document.frm.txtBestDealCity.value == "7")
	thisurl = "http://www.carzonrent.com/images/hyderabad-popup.jpg";
else if(document.frm.txtBestDealCity.value == "8")
	thisurl = "http://www.carzonrent.com/images/mumbai-popup.jpg";
else if(document.frm.txtBestDealCity.value == "9")
	thisurl = "http://www.carzonrent.com/images/noida-popup.jpg";
else if(document.frm.txtBestDealCity.value == "10")
	thisurl = "http://www.carzonrent.com/images/pune-popup.jpg";
else
{
	alert("Select a city")
	exit();
}
	

if ( CanAnimate ){ 
        msgWindow=window.open( '' ,'subwindow','toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,width=550,height=350');
        msgWindow.focus();
        msgWindow.location.href = thisurl;
}
else {
        msgWindow=window.open( thisurl,'subwindow','toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,width=550,height=350');
}       
}
//-->
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
