document.write("<script type=\"text/javascript\" language=\"javascript\" src=\"/india_festivals/diwali/region.asp\"> </script>");
//load_city_txt();
function load_city_txt(){
	document.write("<form name='frm_city_search' target='wnd_city _blank' action='/india_festivals/diwali/region.asp'>");
	document.write("<blink style='font-size:20px;'>Search Your Places</blink><br/>");
	document.write("<input type='text' name='sel_city' id='sel_city' size='20'>");
	document.write("<input type='button' value='Go' onclick='javascript:load_places()'>");
	document.write("</form>");
	document.write("<div id='dv_places' style='display:none;border:1px #000000 solid;background-color:#FFFFFF;position:absolute;width:400px;height:150px;overflow:auto;text-align:left'>&nbsp;</div>");
}
function load_places() {
	str_url="/india_festivals/diwali/region.asp?sel_city="+document.getElementById("sel_city").value;
	load_data(str_url,"dv_places");
}
function close_wnd(){
	document.getElementById("dv_places").style.display="none";
}
function load_data(iurl,odv) {
	var objhttp=false;
	if(window.XMLHttpRequest)
		objhttp=new XMLHttpRequest();
	else if(window.ActiveXObject) {
		try {
			objhttp=new ActiveXObject("Msxml2.XMLHTTP");
		} catch(e) {
			try {
				objhttp=new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) {
				objhttp=false;
			}
		}
	}
	if(objhttp) {
		objhttp.open("GET",iurl,true);
		if(objhttp.overrideMimeType)
			objhttp.overrideMimeType("text/xml");
		else
			objhttp.setRequestHeader("Content-type","text/xml");
		objhttp.setRequestHeader("Cache-Control","no-cache");
		document.getElementById(odv).style.display="";
		document.getElementById(odv).innerHTML="<img src='/india_festivals/diwali/ajax.gif' border=0 style='width:16px;height:16px'>";
		objhttp.onreadystatechange=function () {
			if(objhttp.readyState==4)
				document.getElementById(odv).innerHTML=objhttp.responseText;
			//else
				//document.getElementById(odv).innerHTML="Loading...";
			}
		objhttp.send(null);
	} else
		alert("Your Browser does not allow any operation ?");
}