
/////////////////////// Komli Ads Popup //////////////////////
//document.write('<SCR'+'IPT TYPE="text/javascript" SRC="http://ads.komli.com/st?ad_type=pop&ad_size=0x0&section=161373&banned_pop_types=29&pop_times=1&pop_frequency=86400"></SCR'+'IPT>');



var loc = self.location;
function callNow2(frm){
var isOk = false;
var loc=self.location;
var parameters="";
var usageValue, currencyWithValue, currencyWithoutValue
	for (var i=0;i<frm.usage.length;i++){
		if (frm.usage[i].checked){
		 isOk = true;
		  usageValue = frm.usage[i].value;
		 break;
		}else{
			isOk = false;
		}
	}
	if ( isOk == false){
			alert("Please select your <Usage type> i.e. for Internet Site or Presentation etc.");
			return false;
	}
	if (frm.format.value == "NS"){
			alert("Please select map image format.");
			return false;
	
	}
return true;

}

////////////////////////////////////////////////////////////////////////////////////////
/////////// function for maps payment with watermark and without watermark /////////////
/////////////////////////date 11-03-2004///////////////////////////////////
function topframeMap1(){
document.writeln('<table cellpadding="5" cellspacing="0" width="100%" border="0" bordercolor="blue">');
document.writeln('<tr>');
document.writeln('<td>');
Instructions();
document.writeln('</td></tr></table>');
}

//////////////////////////////////////////////////////////////////////////////////////////
/////////////////// end new array for header banners for moi internal pages /////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////functions for online map shopping cart////////////////////////
////////////////////////Implemented By lk on 2nd December 2003.///////////////////////
var x = 250;
var mapRates = new Array( new Array("project",(x),(x) * 2 ), new Array("presentation",(x*2),(x*2) * 2 ), new Array("brochure",(x*6),(x*6) * 2 ),  new Array("print",(x*12),(x*12) * 2 ), new Array("tv",(x*16),(x*16) * 2 ),  new Array("internet",(x*20),(x*20) * 2 ),  new Array("all",(x*24),(x*24) * 2 )); 

function callNow3(frm){
var pcode,pname;
var isOk = false;
var parameters="";
var usageValue, format, currency, rate;
rate=0;
var usdRate=43.5;
pcode="MOIMAP";
pname=self.location+"";
//pname=self.location;
i=pname.toLowerCase().indexOf("mapsofindia.com");
//alert(i);
if (i >-1){
	pname=pname.substring(i,pname.length);
}
	if (frm.usage.value == "NS"){
		alert("Please select your <Usage type> i.e. for Internet Site or Presentation etc.");
		return false;
	}else{
		usageValue = frm.usage.value;
	}
	if (frm.format.value == "NS"){
			alert("Please select map image format.");
			return false;
	}else{
		format = frm.format.value;
	}
	
	//alert(usageValue);
	//alert(format);
	rate=getMapRate(usageValue,format);
	currency=frm.currency.value;
	if (currency == "usd"){
		rate=Math.ceil(rate/usdRate);
	}

	/*if (format.toLowerCase() == "withwatermark"){
		pname = pname.toLowerCase() + "-FOR-USE-IN-"+usageValue.toUpperCase()+"-WITH-WATERMARK"; 
	}else{
		pname = pname.toLowerCase() + "-FOR-USE-IN-"+usageValue.toUpperCase()+"-WITHOUT-WATERMARK"; 
	}*/

	if (format.toLowerCase() == "withwatermark"){
		usage="FOR-USE-IN-"+usageValue.toUpperCase()+"-WITH-WATERMARK"; 
	}else{
		usage="FOR-USE-IN-"+usageValue.toUpperCase()+"-WITHOUT-WATERMARK"; 
	}

	//////////////////////////////////////
	pcode+=rate; //added on 16 Mar 2004.
	/////////////////////////////////////
	
	//local path
	//parameters = "../../cart/" + currency + "/viewCart.html?" + pcode + "//" + pname + "//"+usage+"=" + rate + "//1";

	//remote path
	parameters = "http://www.mapsofindia.com/cart/" + currency + "/viewCart.html?" + pcode + "//" + pname + "//"+usage+"=" + rate + "//1";

	//alert(parameters);
	window.location.href=parameters;

//return true;
return false;
}

function getMapRate(strUsageValue,strFormat){
	for (var i=0;i<mapRates.length;i++){
		//alert(mapRates[i][0]);
		if (strUsageValue.toLowerCase() == mapRates[i][0].toLowerCase()){
			if (strFormat.toLowerCase() == "withwatermark"){

				return mapRates[i][1];
			}else{
				return mapRates[i][2];
			}
		}
	}
}
function Instructions(){

document.writeln('<form onsubmit="return callNow3(this);" style="margin:0px;padding:0px;">');
document.writeln('<div style="font-family:verdana;font-size:10px;"><b>Disclaimer : </b>All efforts have been made to make this image accurate. However Compare Infobase Limited. and its directors do not own any responsibility for the correctness or authenticity of the same.</div><table width="100%" cellpadding=2 cellspacing=0 border=0 bgcolor="#355FA9" align=center style="{font-family:verdana;font-size:10px;}"></td></tr></table>');

document.writeln('</form>');

}
function openeRates(){
var ratesWin=window.open("http://www.mapsofindia.com/emrm.html","ratesWindow","width=400, height=190, toolbars=0");
return false;
}

//////////////////////////////////////////////////////////////////


///////////////Function for Newsletter////////////
  
function chkemail()
{
	if((document.subscribe.email.value=="email address") || (document.subscribe.email.value==""))
	{
		alert('please enter your email id');
		return false;
	}
	else
	{
		return true;
	}
}
///////////////Function for Newsletter////////////


///////////////Function for Bookmark Page////////////
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
///////////////Function for Bookmark Page////////////

//////////////// Combo Box for listing cities
function openDir() {

//var myindex=document.myform.dir.selectedIndex;
if (document.myform.dir.selectedIndex=="") {
alert("\nYou must make a selection from the drop-down menu.");
return false;
}
else
window.location =(myform.dir.options[myform.dir.selectedIndex].value);
}


/////////// function for listing names in combo
function listCombo(){
document.write('<form name="myform" style="margin:0px;padding:0px;"><select name="dir" style="FONT-SIZE: 11px; font-family: verdana;color:#000000;BACKGROUND-COLOR:white;width:200px;display:inline;" onChange="openDir();"><option selected>       &nbsp;|------- Select Locality -------| </option><option value="http://www.mapsofindia.com/delhi/chanakyapuri.html">Chanakyapuri</select></form>');
}

/////////////////////////////////////////////////////

/////////////////Function for Find XL Table ///////////////
function findXL(){
document.write('<div style=\'padding-left:4px;\'><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'><u>Find your Business in Local.Mapsofindia.com</u></font></div><!-- ============== Find XL Table ============= --><!-- ============== Find XL Table ============= --><table align=\'center\' width=\'595\' cellpadding=0 cellspacing=1 border=0 bordercolor=red style=\'font-family:arial;font-size:11px;color:#424379;font-weight:bold;border-top:1px dotted #424379;border-bottom:1px dotted #424379;\' height="67"><tr><td align="center" rowspan=3 width=\'150\'><a href="http://www.local.mapsofindia.com/"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>India Local Business Listing</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/education-training-a.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Education</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/apartment.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Apartments</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/automotive.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Automotive</font></a></td></tr><tr><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/travel-and-transport.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Travel and Transport</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/health-and-medicine.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Health and Medicine</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/real-estate-and-cons.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Real Estate and Construction</font></a></td></tr></table><!-- ============== Find XL Table ============= --><!-- ============== Find XL Table ============= -->');
}

function imsPROD(){
document.write('<table width="99%" border=0 style="border:1px solid #56B1E6" cellpadding="0" bgcolor="#F3F8FE" style=\'cursor:hand;\' onmouseover="window.status=\'http://www.indiamapstore.com/\';return true;" onmouseout="window.status;return true;" onclick=\'javascript:window.location="http://www.indiamapstore.com/";\'><tr><td rowspan=2 width=\'73\'><img src="images/ims-logo.gif" alt="IndiaMapStore.com" width="73" height="73" style="clear:both;"></td><td align=\'center\' colspan=2><font color=\'#3468CD\' face=\'arial\' style=\'font-size:15px;\'>India<br>Map Store</b></font></td></tr><td><img src="images/tlogo.jpg" width="35" height="39" alt="Travel Guide" hspace=1></td><td><img src="images/map-1.jpg" width="35" height="39" alt="India Maps"></td></tr></table>');
}

function leftMiddle(){
//document.write('<div align="left" style="padding-left:2px;"><a href="http://www.mapsofindia.com/quiz/"><IMG SRC="http://www.mapsofindia.com/images/newquiz.gif" BORDER="0" ALT="India Quiz"></a></div>');
document.write('<div align="left" style="padding-left:2px;"><a href="http://www.mapsofindia.com/quiz/"><IMG SRC="http://www.mapsofindia.com/images/sponsors.gif" BORDER="0" ALT="Sponsors Directory"></a></div>');
}


/* Code Added By Kamal */
function InstructionsNew(){
document.writeln('<form onsubmit="return callNow3(this);" style="margin-top:0px;margin-bottom:0px;">');
document.writeln('<table width="100%" cellpadding=1 cellspacing=1 border=0 bgcolor="#E0F0E0" align=center style="{font-family:verdana;font-size:10px;}"><tr><td colspan=2 bgcolor="#CB0100"><p align="justify"><font color="#ffffff" style="font-size:11px"><B>Use this map in your Presentations, Internet Sites, Magazines, Print Media, Circulations, Brochures or TV Channel. Mapsofindia.com reserves the right to act against any unauthorized use of its Intellectual Property. All our Financial transactions are through Verisign secure payment gateway.</B></font></p></td></tr><tr bgcolor="#C3DDFE" height="20">	<td> <B>Choose usage:</B></td>	<td>		<select name="usage" style="{font-family:verdana;font-size:10px;font-weight:bold;}"><option value="NS" selected>Please select map image Usage</option>	<option value="project">Project Report</option>		<option value="presentation">Presentation / Circulation</option>	<option value="brochure">Brochure</option>		<option value="internet">Internet site</option>		<option value="tv">TV Channel</option>		<option value="print">Print Media (Books, Newspapers, Magazines, Publication)</option>		<option value="all">All Uses</option>		</select>	</td>	</tr>	<tr bgcolor="#C3DDFE">	<td valign="top"><B>Choose File Type:</B></td>	<td> 		<select name="format" style="{font-family:verdana;font-size:10px;font-weight:bold;}"><option value="NS" selected>Please select map image format</option><option value="withwatermark">With Watermark (logo)</option><option value="withoutwatermark">Without Watermark</option></select>	<B>Currency:</B> <select name="currency" style="{font-family:verdana;font-size:10px;font-weight:bold;}"><option value="inr">INR</option><option value="usd">USD</option></select>&nbsp;<input type=submit value="Buy Now" style="{font-family:verdana;font-size:10px; font-weight:bold;}">&nbsp;&nbsp;&nbsp;[<a href="http://www.mapsofindia.com/emrm.html" style="{color:blue;text-decoration:underline; font-weight:bold;}" onclick="return openeRates();">View Rates</a>]</td>	</tr><tr><td colspan=2 bgcolor="#C3DDFE">You can also order these map images in various sizes, styles, formats. We can also customize maps for you as per your requirements. For more details Please write to <a href="mailto:subir@infobase.in?cc=solutions@mapsofindia.com" class="links"><font style="font-size:11px;">subir@infobase.in</font></a> with your requirement or call Subir at +91 9910492371 between 08:00 - 20:00 IST.</td></tr></table>');
document.writeln('</form>');
}

function topframeMapNew(){
document.writeln('<table cellpadding="0" cellspacing="0" width="100%" border="0" bordercolor="blue">');
document.writeln('<tr><td>');
InstructionsNew();
document.writeln('</td></tr></table>');
}

/////////////////Function for Find XL Table ///////////////
function findXLNew(){
document.write('<div style=\'padding-left:14px;\'><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'><u>Find your Business in Find XL</u></font></div><!-- ============== Find XL Table ============= --><!-- ============== Find XL Table ============= --><table align=\'center\' width=\'595\' cellpadding=0 cellspacing=1 border=0 bordercolor=red style=\'font-family:arial;font-size:11px;color:#424379;font-weight:bold;border-top:1px dotted #424379;border-bottom:1px dotted #424379;\' height="67"><tr><td align="center" rowspan=3 width=\'150\'><a href="http://www.local.mapsofindia.com/"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>India Local Business Listing</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/education-training-a.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Education</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/apartment.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Apartments</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;border-bottom:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/automotive.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Automotive</font></a></td></tr><tr><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/travel-and-transport.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Travel and Transport</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/health-and-medicine.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Health and Medicine</font></a></td><td width=\'120\' style=\'border-left:1px dotted #424379;padding-left:10px;\'><a href="http://local.mapsofindia.com/searchresults/searching/cat/real-estate-and-cons.html"><font face=\'verdana\' color=\'#970826\' style=\'font-size:11px;font-weight:bold;\'>Real Estate and Construction</font></a></td></tr></table><!-- ============== Find XL Table ============= --><!-- ============== Find XL Table ============= -->');
}
function mobile_delhi_banner()
{
//document.write("<a href='http://openx.mapsofindia.com/www/delivery/ck.php?n=a14cafc5&amp;cb=INSERT_RANDOM_NUMBER_HERE'><img src='http://openx.mapsofindia.com/www/delivery/avw.php?zoneid=11&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a14cafc5' border='0' alt='Mobile Travel guide' /></a>");
document.write("<a href='http://openx.mapsofindia.com/www/delivery/ck.php?n=a73a64a0&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://openx.mapsofindia.com/www/delivery/avw.php?zoneid=115&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a73a64a0' border='0' alt='Ace Residency' /></a>");
}

function rightbannerbottom4()
{
	document.write("<a href='http://openx.mapsofindia.com/www/delivery/ck.php?n=a09d5307&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://openx.mapsofindia.com/www/delivery/avw.php?zoneid=56&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a09d5307' border='0' alt='Free-Maps' /></a>");
}

function newheaderbanners728x90()
{
document.write('<scr'+'ipt language="JavaScript">');
document.write('e9 = new Object(); e9.size = "728x90"; e9.noAd = 1;');
document.write('</scr'+'ipt> ');
document.write('<scr'+'ipt language="JavaScript"  src="http://tags.expo9.exponential.com/tags/MapsOfIndia/ROS/tags.js">');
document.write('</scr'+'ipt> ');
document.write("<script type='text/javascript' src='http://openx.mapsofindia.com/www/delivery/apu.php?n=&zoneid=117&cb=INSERT_RANDOM_NUMBER_HERE&popunder=1'></script>");
}
function newheaderbanners()
{
document.write('<scr'+'ipt language="JavaScript">');
document.write('e9 = new Object(); e9.size = "468x60"; e9.noAd = 1;');
document.write('</scr'+'ipt> ');
document.write('<scr'+'ipt language="JavaScript"  src="http://tags.expo9.exponential.com/tags/MapsOfIndia/ROS/tags.js">');
document.write('</scr'+'ipt> ');
document.write("<script type='text/javascript' src='http://openx.mapsofindia.com/www/delivery/apu.php?n=&zoneid=117&cb=INSERT_RANDOM_NUMBER_HERE&popunder=1'></script>");



}
/* End Of Code By Kamal */