window.status="India's No.1 local search engine";document.onkeydown=demo;function count_review(f,d,c,e){url="display/rating_count.php?docid="+f+"&type="+d+"&num="+c+"&inc=1";var a=false;var b=this;if(window.XMLHttpRequest){b.xmlHttpReq_user=new XMLHttpRequest()}else{if(window.ActiveXObject){b.xmlHttpReq_user=new ActiveXObject("Microsoft.XMLHTTP")}}b.xmlHttpReq_user.open("POST",url,true);b.xmlHttpReq_user.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.xmlHttpReq_user.send(null);b.xmlHttpReq_user.onreadystatechange=function(){if(b.xmlHttpReq_user.readyState==4){if(b.xmlHttpReq_user.responseText!=""){updatepageSearch_positive(b.xmlHttpReq_user.responseText,f)}}}}function updatepageSearch_positive(a,b){document.getElementById("rating_count_"+b).innerHTML=a;document.getElementById("positive_table_disable_"+b).style.display="none";document.getElementById("positive_table_enable_"+b).style.display="block";document.getElementById("rating_count_enable_"+b).innerHTML=a}function count_review_negative(f,d,c,e){url="display/rating_count.php?docid="+f+"&type="+d+"&num="+c+"&inc=2";var b=false;var a=this;if(window.XMLHttpRequest){a.xmlHttpReq_user_negative=new XMLHttpRequest()}else{if(window.ActiveXObject){a.xmlHttpReq_user_negative=new ActiveXObject("Microsoft.XMLHTTP")}}a.xmlHttpReq_user_negative.open("POST",url,true);a.xmlHttpReq_user_negative.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.xmlHttpReq_user_negative.send(null);a.xmlHttpReq_user_negative.onreadystatechange=function(){if(a.xmlHttpReq_user_negative.readyState==4){if(a.xmlHttpReq_user_negative.responseText!=""){updatepageSearch_negative(a.xmlHttpReq_user_negative.responseText,f)}}}}function updatepageSearch_negative(a,b){document.getElementById("rating_count_negative_"+b).innerHTML=a;document.getElementById("negative_table_disable_"+b).style.display="none";document.getElementById("negative_table_enable_"+b).style.display="block";document.getElementById("rating_count_negative_enable_"+b).innerHTML=a}function count_reviewmovie(f,d,c,e){url="display/rating_count_movie.php?docid="+f+"&type="+d+"&num="+c+"&inc=1";var a=false;var b=this;if(window.XMLHttpRequest){b.xmlHttpReq_user=new XMLHttpRequest()}else{if(window.ActiveXObject){b.xmlHttpReq_user=new ActiveXObject("Microsoft.XMLHTTP")}}b.xmlHttpReq_user.open("POST",url,true);b.xmlHttpReq_user.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.xmlHttpReq_user.send(null);b.xmlHttpReq_user.onreadystatechange=function(){if(b.xmlHttpReq_user.readyState==4){if(b.xmlHttpReq_user.responseText!=""){updatepageSearch_positivemovie(b.xmlHttpReq_user.responseText,f)}}}}function updatepageSearch_positivemovie(a,b){document.getElementById("rating_count_"+b).innerHTML=a;document.getElementById("positive_table_disable_"+b).style.display="none";document.getElementById("positive_table_enable_"+b).style.display="block";document.getElementById("rating_count_enable_"+b).innerHTML=a}function count_review_negativemovie(f,d,c,e){url="display/rating_count_movie.php?docid="+f+"&type="+d+"&num="+c+"&inc=2";var b=false;var a=this;if(window.XMLHttpRequest){a.xmlHttpReq_user_negative=new XMLHttpRequest()}else{if(window.ActiveXObject){a.xmlHttpReq_user_negative=new ActiveXObject("Microsoft.XMLHTTP")}}a.xmlHttpReq_user_negative.open("POST",url,true);a.xmlHttpReq_user_negative.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.xmlHttpReq_user_negative.send(null);a.xmlHttpReq_user_negative.onreadystatechange=function(){if(a.xmlHttpReq_user_negative.readyState==4){if(a.xmlHttpReq_user_negative.responseText!=""){updatepageSearch_negativemovie(a.xmlHttpReq_user_negative.responseText,f)}}}}function updatepageSearch_negativemovie(a,b){document.getElementById("rating_count_negative_"+b).innerHTML=a;document.getElementById("negative_table_disable_"+b).style.display="none";document.getElementById("negative_table_enable_"+b).style.display="block";document.getElementById("rating_count_negative_enable_"+b).innerHTML=a}function login_div(){var c=document.getElementById("bodyDiv").clientHeight+90;document.getElementById("overlay").style.height=c;overlay.style.visibility="visible";login.style.visibility="visible";login.style.display="block";var b=document.getElementById("area_box");var a=document.getElementById("mvlang");b.style.display="none";a.style.display="none"}function close_login(){overlay.style.visibility="hidden";login.style.visibility="hidden";login.style.display="none";var b=document.getElementById("area_box");var a=document.getElementById("mvlang");a.style.display="block";b.style.display="block";a.style.visibility="visible";b.style.visibility="visible"}function close_review(){overlay.style.visibility="hidden";login_review.style.visibility="hidden"}function close_forget(b){var d=document.getElementById("area_box");var c=document.getElementById("mvlang");c.style.visibility="visible";d.style.visibility="visible";c.style.display="block";d.style.display="block";if(b=="login"){overlay.style.visibility="hidden";forget_login_1.style.visibility="hidden";forget_login_1.style.display="none";d.style.display="block";c.style.display="block"}overlay.style.visibility="hidden"}function forget_div(b){if(b=="login"){overlay.style.visibility="visible";login.style.visibility="hidden";forget_login_1.style.visibility="visible";forget_login_1.style.display="block"}}function forget_login(b){var d=document.justDial.city.value;document.justDial.docId.value=docId;document.resultdata.docId.value=docId;chk="true";if(b=="login"){if(document.login_alert1.login_name1.value==""){alert("Please Enter login !!");document.login_alert1.login_name1.focus();return false;chk="false"}else{if(!isValid(document.login_alert1.login_name1.value,"email")){alert("Entered Email id is invalid.");document.login_alert1.login_name1.focus();chk="false";return}}if(document.login_alert1.screen_name.value==""){alert("Please Enter Screen Name !!");document.login_alert1.screen_name.focus();return false;chk="false"}if(document.login_alert1.img_forget.value==""){alert("Please enter security code as displayed in image.");document.login_alert1.img_forget.focus();return false;chk="false"}if(chk=="true"){if(document.login_alert1.login_name1.value!=""){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){var c=document.login_alert1.img_forget.value;document.resultdata.city.value=d;document.resultdata.login_name1.value=document.login_alert1.login_name1.value;document.resultdata.screen_name.value=document.login_alert1.screen_name.value;document.resultdata.img_forget.value=c;document.resultdata.action="?srch=true&city="+d;document.resultdata.submit()}}}}function isValid(b,a){switch(a){case"name":return/^[a-zA-Z]+[ a-zA-Z]*$/.test(b);case"alpha":return/^[A-Za-z]*$/.test(b);case"numeric":return/^[0-9]*$/.test(b);case"email":return/^(([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}){0,1}$/.test(b)}}function loginalert(b,c){var d=document.justDial.city.value;document.justDial.docId.value=docId;if(c==""){c=document.justDial.docId.value}if(b=="out"){document.resultdata.login_name.value="logout";document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=d;document.resultdata.searchtype.value=searchtype;document.resultdata.docId.value=c;document.resultdata.action="?srch=true&city="+d;document.resultdata.submit()}if(b!="out"){chk="true";if(document.login_alert.login_name.value==""){alert("Please Enter login !!");document.login_alert.login_name.focus();return false;chk="false"}else{if(!isValid(document.login_alert.login_name.value,"email")){alert("Entered Email id is invalid.");document.login_alert.login_name.focus();chk="false";return}}if(document.login_alert.login_pass.value==""){alert("Please Enter Password !!");document.login_alert.login_pass.focus();return false;chk="false"}if(chk=="true"){if((document.login_alert.login_name.value!="")&&(document.login_alert.login_pass.value!="")){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){document.justDial.login_name.value=document.login_alert.login_name.value;document.justDial.login_pass.value=document.login_alert.login_pass.value;document.justDial.action="?srch=true&city="+d;document.justDial.submit()}}}}function logout_review(b){b=b+"&logout=logout";document.review.action=b;document.review.submit()}function loginalert_review(b,c){chk="true";if(login_alert_review.login_name_review.value==""){alert("Please Enter login !!");document.login_alert_review.login_name_review.focus();return false;chk="false"}if(login_alert_review.login_pass_review.value==""){alert("Please Enter Password !!");document.login_alert_review.login_pass_review.focus();return false;chk="false"}if(chk=="true"){if((document.login_alert_review.login_name_review.value!="")&&(document.login_alert_review.login_pass_review.value!="")){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){document.resultdata.login_name_review.value=document.login_alert_review.login_name_review.value;document.resultdata.login_pass_review.value=document.login_alert_review.login_pass_review.value;document.resultdata.docId.value=b;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="?srch=true";document.resultdata.submit()}}}function forget_login_search(d,c){chk="true";if(c=="login"){if(document.login_alert1.login_name1.value==""){alert("Please Enter login !!");document.login_alert1.login_name1.focus();return false;chk="false"}if(chk=="true"){if((document.login_alert1.login_name1.value!="")&&(document.login_alert1.screen_name.value!="")){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){document.resultdata.login_name1.value=document.login_alert1.login_name1.value;document.resultdata.screen_name.value=document.login_alert1.screen_name.value;document.resultdata.img_forget.value=document.login_alert1.img_forget.value;document.resultdata.docId.value=d;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="?srch=true";document.resultdata.submit()}}}else{if(c=="pass"){if(document.login_pass_alert.login_pass1.value==""){alert("Please Enter Password !!");document.login_pass_alert.login_pass1.focus();return false;chk="false"}if(chk=="true"){if((document.login_pass_alert.login_pass1.value!="")&&(document.login_pass_alert.screen_name.value!="")){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){document.resultdata.login_pass1.value=document.login_pass_alert.login_pass1.value;document.resultdata.screen_name.value=document.login_pass_alert.screen_name.value;document.resultdata.img_forget.value=document.login_pass_alert.img_forget.value;document.resultdata.docId.value=d;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="?srch=true";document.resultdata.submit()}}}}}function loginalert_search(b,c){if(b=="out"){document.resultdata.login_name.value="logout";document.resultdata.docId.value=c;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="?srch=true";document.resultdata.submit()}if(b!="out"){chk="true";if(login_alert.login_name.value==""){alert("Please Enter login !!");document.login_alert.login_name.focus();return false;chk="false"}if(login_alert.login_pass.value==""){alert("Please Enter Password !!");document.login_alert.login_pass.focus();return false;chk="false"}if(chk=="true"){if((document.login_alert.login_name.value!="")&&(document.login_alert.login_pass.value!="")){sTasus="true"}else{sTasus="false"}if(sTasus=="true"){document.resultdata.login_name.value=document.login_alert.login_name.value;document.resultdata.login_pass.value=document.login_alert.login_pass.value;document.resultdata.docId.value=c;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.justDial.searchtype.options.length=0;document.resultdata.language.value=language;document.resultdata.action="?srch=true";document.resultdata.submit()}}}}function login_review_function(b,c){if(c==""){overlay.style.visibility="visible";login_review.style.visibility="visible"}else{document.resultdata.docId.value=b;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="search_cmd.php?srch=true&review="+c+"&city="+city;document.resultdata.submit()}}function news_popup(a){newwindow=window.open(a,"name","height=490,width=490,resizable=yes,scrollbars=yes,top=200,left=80")}function validate(){if(document.justDial.city.value==""){alert("Please Select A City");document.justDial.city.focus();return false}}function changetext(b,a){document.justDial.last_event.value=b;last_event=document.justDial.last_event.value;if(last_event==0){document.getElementById("moviename").value="Select A Movie";document.justDial.searchtype.value="";document.justDial.docId.value=""}else{if(last_event==1){document.justDial.language.value="-1";document.justDial.area.value="";document.justDial.docId.value=""}else{if(last_event==2){if(!document.justDial.docId.value){document.justDial.docId.value=a}document.justDial.language.value="-1";document.justDial.area.value=""}}}}function cat_dis(f,e){var a="";document.justDial.city.value=city_sel;if(f!=""&&f!="-1"){var g=f.split("~");var c=g[1]}var d=e;if(c>=0){var b=split_cat[c].split("~");var m=document.createElement("OPTION");m.text="Select A Movie";m.value="";if(b.length>10){document.getElementById("movie_names").style.height="200px"}else{document.getElementById("movie_names").style.height=""}for(e=0;e<b.length-1;e++){type_res_2=b[e].split("||");optn=document.createElement("OPTION");type_res_result=type_res_2[1].split("(");trim_res=trim(type_res_result[0]);optn.text=trim_res;optn.value=type_res_2[0]+"##"+type_res_2[1];a+="<div style='float:left;width:180px;'>";a+="<a style='float:left;text-align:left;margin-bottom:2px; text-decoration:none'href='javascript:fillmoviename(\""+type_res_2[0]+"##"+type_res_2[1]+'","'+trim(type_res_result[0])+"\");' ><font color='black'>"+trim(type_res_result[0])+"</font></a></div>"}if(d!="chng"){if(search_element!=""){}}}else{document.justDial.language.value=f;if(f=="All"){var m=document.createElement("OPTION");var h=0;m.value="";m.text="Select A Movie";for(f=0;f<split_cat.length;f++){b=split_cat[f].split("~");for(e=0;e<b.length-1;e++){type_res_2=b[e].split("||");optn=document.createElement("OPTION");type_res_result=type_res_2[1].split("(");trim_res=trim(type_res_result[0]);optn.text=trim_res;optn.value=type_res_2[0]+"##"+type_res_2[1];a+="<div style='float:left;width:180px;'>";a+="<a style='float:left;text-align:left;margin-bottom:2px; text-decoration:none'href='javascript:fillmoviename(\""+type_res_2[0]+"##"+type_res_2[1]+'","'+trim(type_res_result[0])+"\");' ><font color='black'>"+trim(type_res_result[0])+"</font></a></div>"}h=h+b.length;if(d!="chng"){if(search_element!=""){}}}if(h>10){document.getElementById("movie_names").style.height="200px"}else{document.getElementById("movie_names").style.height=""}}}document.getElementById("movie_names").innerHTML=a}function demo(a){a=a?a:event;if(a.keyCode==13){if(document.getElementById("login").style.visibility=="visible"){loginalert("")}else{if(document.getElementById("forget_login_1").style.visibility=="visible"){forget_login("login")}else{if(document.getElementById("txt2").value!="Select City"){if((document.justDial.last_event.value!="0")){getResult(1)}else{getResult(0)}}}}}}function oTxtbox(a){var b=new AutoSuggestControl(document.getElementById(a),new StateSuggestions())}function getCookie(a){xmlhttpauto("../search/area_auto/ajax_area.php?str="+document.justDial.city.value)}function remove_sec(){sec=""}function setCookie(c,a){var b=new Date();var d=2/1;b.setYear(b.getFullYear()+d);document.cookie=escape(c)+"="+escape(a)+"; expires="+b.toGMTString()+"; path=/"}function getResult(){var h;var c;var e;var f;var g;var a;var j;var b;document.justDial.go.value="true";a=document.justDial.area.value;c=document.justDial.city.value;f=document.justDial.language.value;g=document.justDial.searchtype.value;searchtype=document.justDial.searchtype.value;if(!g){var d=document.getElementById("searchtype").value;document.justDial.searchtype.value=d}hall=document.justDial.docId.value;j=document.justDial.last_event.value;if(c!=""){if(j==2){document.justDial.action="../movies/search_cmd.php?srch=true&city="+c+"";document.justDial.submit()}else{if(j==1){if(key==""){alert("Please Enter A Keyword");document.justDial.keyword.value="";document.justDial.keyword.focus()}else{alert("here");document.justDial.docId.value="";document.justDial.Stype.value="company";document.justDial.action="../movies/movie_result.php?srch=true&city="+c+"";document.justDial.submit()}}else{if(j==0){document.justDial.docId.value="";document.justDial.action="../movies/movie_result.php?srch=true&city="+c+"";document.justDial.submit()}}}}else{alert("Select a City")}}function selectcity(a){if(a!="body"){city=a}if(city!=""){document.justDial.city.value=city}if(area!=""){document.justDial.area.value=area}document.justDial.language.value=language;document.justDial.searchtype.value=searchtype;if(moviename_g!=""){document.justDial.moviename.value=moviename_g}document.justDial.docId.value=docId}function sub_city(a){if(a!=""){document.justDial.city.value=a;document.justDial.action="../movies/movies.php";document.justDial.submit()}xmlhttpauto("../search/area_auto/ajax_area.php?str="+a)}function showdetails(d,c,a,b){document.resultdata.docId.value=d;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;if(ADVSEARCH!=""){document.resultdata.action="search_adv.php?srch=true&sms="+c+"&city="+city+"";document.resultdata.submit()}else{document.resultdata.action="search_cmd.php?srch=true&sms="+c+"&city="+city+"&value="+b+"";document.resultdata.submit()}}function get_company(a){document.resultdata.docId.value="";document.resultdata.intermid.value="true";document.resultdata.city.value=city;area=document.justDial.area.value;document.resultdata.area.value=area;document.resultdata.searchtype.value=a;document.resultdata.Stype.value="category";if(ADVSEARCH!=""){document.resultdata.action="search_adv.php?srch=true&city="+city+""}else{if(area!=""){document.resultdata.action="search_movie_cwoa.php?srch=true&city="+city+""}else{document.resultdata.action="movie_result.php?srch=true&city="+city+""}}document.resultdata.submit()}function loadPage(b,a){document.resultdata.docId.value="";document.resultdata.Stype.value=Stype;document.resultdata.city.value=city;document.resultdata.area.value=area;document.resultdata.searchtype.value=searchtype;if(ADVSEARCH!=""){document.resultdata.action="search_adv.php?page="+b+"&careMode="+a;document.resultdata.submit()}else{if(a=="DWOA"){document.resultdata.action="search_movie_cwoa.php?page="+b+"&careMode="+a}if(a=="DWA"){document.resultdata.action="search_movie_cwoa.php?page="+b+"&careMode="+a}if(a=="CAT"){document.resultdata.action="search_cat.php?page="+b+"&careMode="+a}document.resultdata.submit()}}function SmsAlertPaid(d){chk="true";if(document.smsAlert.Mobile.value!=""){if(isNaN(document.smsAlert.Mobile.value)==true){alert("Please Enter Numbers Only");document.smsAlert.Mobile.value="";document.smsAlert.Mobile.focus();chk="false"}if(document.smsAlert.Mobile.value.indexOf("+91")!=-1){alert("Please Don't Use +91 at the begining of the mobile No.");chk="false"}if(document.smsAlert.Mobile.value.indexOf("0")==0){alert("Please Don't Use 0 at the begining of the mobile No.");chk="false"}var g=document.smsAlert.Mobile.value;var h=g.length;if(h<10){alert("Enter Valid Cell No. !!!");document.smsAlert.Mobile.focus();chk="false"}}if(document.smsAlert.email.value!=""){apos=document.smsAlert.email.value.indexOf("@");dotpos=document.smsAlert.email.value.lastIndexOf(".");if(apos<1||dotpos-apos<2){alert("Invalid email Id. !!!");document.smsAlert.email.focus();chk="false"}if(document.smsAlert.email.value.indexOf("..")!=-1){alert('Invalid email Id. (Remove "..")');chk="false"}eml=document.smsAlert.email.value;if(eml.indexOf(",")!=-1){alert("Invalid email Id. (Only One E-mail ID Allowed)");chk="false"}if(eml.indexOf(";")!=-1){alert("Invalid email Id. (Only One E-mail ID Allowed!)");chk="false"}}if(chk=="true"){if(((document.smsAlert.Mobile.value!="")||(document.smsAlert.email.value!=""))&&(document.smsAlert.img.value!="")){sTasus="true"}else{alert("Please Mobile/e-mail and security fields.");sTasus="false"}if(sTasus=="true"){var c;var e;var f;var b;var a;var j;document.justDial.go.value="true";a=document.justDial.area.value;c=document.justDial.city.value;f=document.justDial.language.value;b=document.justDial.searchtype.value;hall=document.justDial.docId.value;j=document.justDial.last_event.value;document.resultdata.smsAlert.value=document.smsAlert.Mobile.value;document.resultdata.emailAlert.value=document.smsAlert.email.value;document.resultdata.smsDetail.value=document.smsAlert.smsDet.value;document.resultdata.img.value=document.smsAlert.img.value;document.resultdata.sinfo.value=document.smsAlert.sinfo.value;document.resultdata.seeAlso.value=document.smsAlert.seeAlso.value;document.resultdata.smsCounter.value=document.smsAlert.smsCounter.value;document.resultdata.filter.value=document.smsAlert.filter.value;document.resultdata.compname.value=document.smsAlert.compname.value;document.resultdata.language.value=document.justDial.language.value;document.resultdata.searchtype.value=document.justDial.searchtype.value;document.resultdata.go.value=document.justDial.go.value;if(ADVSEARCH!=""){document.resultdata.docId.value=d;document.resultdata.action="?srch=true&advSearch=search";document.resultdata.submit()}else{document.resultdata.docId.value=d;document.resultdata.Stype.value=e;document.resultdata.area.value=a;document.resultdata.city.value=c;document.resultdata.searchtype.value=b;document.resultdata.action="?srch=true&city="+c+"";document.resultdata.submit()}}}}function SmsAlert(g,j){var f="email_"+j;var e="Mobile_"+j;var d="NameAlert_"+j;var b="img_"+j;chk="true";if(document.getElementById(e).value!=""){if(isNaN(document.getElementById(e).value)==true){alert("Please Enter Numbers Only");document.getElementById(e).value="";document.getElementById(e).focus();chk="false"}if(document.getElementById(e).value.indexOf("+91")!=-1){alert("Please Don't Use +91 at the begining of the mobile No.");chk="false"}if(document.getElementById(e).value.indexOf("0")==0){alert("Please Don't Use 0 at the begining of the mobile No.");chk="false"}var h=document.getElementById(e).value;var a=h.length;if(a<10){alert("Enter Valid Cell No. !!!");document.getElementById(e).focus();chk="false"}}if(document.getElementById(f).value!=""){apos=document.getElementById(f).value.indexOf("@");dotpos=document.getElementById(f).value.lastIndexOf(".");if(apos<1||dotpos-apos<2){alert("Invalid email Id. !!!");document.getElementById(f).focus();chk="false"}if(document.getElementById(f).value.indexOf("..")!=-1){alert('Invalid email Id. (Remove "..")');chk="false"}eml=document.getElementById(f).value;if(eml.indexOf(",")!=-1){alert("Invalid email Id. (Only One E-mail ID Allowed)");chk="false"}if(eml.indexOf(";")!=-1){alert("Invalid email Id. (Only One E-mail ID Allowed!)");chk="false"}}if(chk=="true"){if(((document.getElementById(e).value!="")||(document.getElementById(f).value!=""))&&(document.getElementById(b).value!="")){sTasus="true"}else{alert("Please Mobile/e-mail and security fields.");sTasus="false"}if(sTasus=="true"){document.resultdata.c.value=j;document.resultdata.smsAlert.value=document.getElementById(e).value;document.resultdata.emailAlert.value=document.getElementById(f).value;document.resultdata.smsDetail.value=document.smsAlert.smsDet.value;document.resultdata.img.value=document.getElementById(b).value;document.resultdata.sinfo.value=document.smsAlert.sinfo.value;document.resultdata.seeAlso.value=document.smsAlert.seeAlso.value;document.resultdata.smsCounter.value=document.smsAlert.smsCounter.value;document.resultdata.filter.value=document.smsAlert.filter.value;document.resultdata.compname.value=document.smsAlert.compname.value;if(ADVSEARCH!=""){document.resultdata.docId.value=g;document.resultdata.action="?srch=true&advSearch=search";document.resultdata.submit()}else{document.resultdata.docId.value=g;document.resultdata.Stype.value=Stype;document.resultdata.area.value=area;document.resultdata.city.value=city;document.resultdata.searchtype.value=searchtype;document.resultdata.action="?srch=true&city="+city+"";document.resultdata.submit()}}}}function xmlhttpauto(b){var c=false;var a=this;if(window.XMLHttpRequest){a.xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){a.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}}a.xmlHttpReq.onreadystatechange=state_Change_auto;a.xmlHttpReq.open("GET",b,true);a.xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.xmlHttpReq.send(null)}function state_Change_auto(){if(self.xmlHttpReq.readyState==4){var a=self.xmlHttpReq.responseText;if(a=="-1"){alert("Please select city");return}if(a!="-2"){var b=a.split("||");arry(b[0],b[1])}}}var area_sug=["Select A City"];var area_sug_cat="";function arry(a,b){if(b=="category"){area_sug_cat=a.split(",");area_sug_cat=area_sug_cat.sort()}else{area_sug=a.split(",");area_sug=area_sug.sort()}}function showall(b,c,a){if(b=="video"){ops="no";ops1="no";ops2="400";ops3="450"}else{ops="yes";ops1="yes";ops2="580";ops3="500"}a=escape(a);args="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+ops+",resizable="+ops1+",width="+ops2+",height="+ops3+",left=0,top=20";window.open("display/promo.php?type="+b+"&detail="+c+"&cname="+a,"Image",args)}function advSearch(){if(document.justDial.city.value==""){alert("Please Choose A City!!");document.justDial.city.focus();return false}}function trim(a){return a.replace(/^\s*(.*?)\s*$/,"$1")}function close_div(f){var e=document.getElementById("city_div");e.style.visibility="hidden";var a=document.getElementById("city_change");a.style.visibility="visible";var d=document.getElementById("mvlang");d.style.visibility="visible";var b=document.getElementById("mvbox");b.style.visibility="visible";document.justDial.city.value="Select City"}function city_function(d){if(document.justDial.city.value=="Select City"||document.justDial.city.value=="All India Search"){document.justDial.city.value=""}var q=document.getElementById("mvlang");q.style.visibility="hidden";var f=new Array("Ahmedabad","Bangalore","Chennai","Coimbatore","Delhi / NCR","Ernakulam","Goa","Hubli","Hyderabad","Indore","Jaipur","Kolkata","Mumbai","Mysore","Nagpur","Nashik","Pune","Surat","Vadodara","Vizag");str_inner_pop="<table border='0' cellspacing='0' cellpadding='0' height='200' valign='top' width='500' style='z-index:100'><tr><td height='5' colspan='10'></td></tr><tr><td align='center' colspan='9'></td><td><A HREF='javascript:close_div();'><IMG SRC='../../image/images_just_right/close.gif' WIDTH='11' HEIGHT='11' BORDER='0' ALT='' title='Close'></a>&nbsp;</TD></tr><TR><TD class='headorng123' colspan='3' style='padding-left:10'><B>Popular Cities :</B></TD></tr><tr><td height='10' colspan='10'></td></tr><tr><td><table border='0' cellspacing='0' cellpadding='0'>";for(k=0;k<12;k++){str_inner_pop+="<tr><td width='10'></td><td><a href='javascript:fillcity(\""+f[k]+"\")' class='popsearchfontblue'>"+f[k]+"</td></tr><tr><td height='5'></td></tr>"}str_inner_pop+="</table></td><td width='10'></td>";str_inner_pop+="<td valign='top'><table border='0' cellspacing='0' cellpadding='0' style='z-index:100'>";for(k=12;k<19;k++){str_inner_pop+="<tr><td width='10'></td><td><a href='javascript:fillcity(\""+f[k]+"\")' class='popsearchfontblue'>"+f[k]+"</td></tr><tr><td height='5'></td></tr>"}str_inner_pop+="</table></td><td width='10'></td>";var o=new Array("Adilabad","Agra","Ahmedabad","Ahmednagar","Ajmer","Akola","Alappuzha","Ambala","Amravati","Amritsar","Anantapur","Aurangabad","Bagalkot","Bangalore","Belgaum","Bellary","Bharuch","Bhatinda","Bhilai","Bhongir","Bhopal","Bhubaneshwar","Bidar","Bijapur","Calicut","Chandrapur","Chennai","Chitoor","Coimbatore","Cuddapah","Cuttack","Davangere","Delhi","Dhanbad","Dharwad","Dindigul","Durg","Eluru","Ernakulam","Erode","Faridabad","Firozabad","Gandhinagar","Goa","Gorakhpur","Gulbarga","Guntur","Guwahati","Gwalior","Hisar ","Hubli","Hyderabad","Indore","Jaipur","Jalandhar","Jamshedpur","Jhansi","Jodhpur","Kakinada","Kannur","Kanpur","Karimnagar","Karnal","Karur","Khammam","Kolhapur","Kolkata","Koppal","Kurnool","Lucknow","Ludhiana","Madurai","Mahboobnagar","Mandvi","Mandya","Mangalore","Mathura","Mayiladuthurai","Meerut","Mehsana","Mumbai","Mysore","Nagapattinam","Nagpur","Namakkal","Nashik","Navsari","Nellore","Ooty","Panipat","Patna","Pondicherry","Pune","Raichur","Raipur","Rajahmundry","Rajkot","Ranchi","Rohtak","Salem","Shimoga","Sholapur","Siliguri","Surat","Surendranagar","Thanjavur","Tirunelveli","Tirupathi","Trichy","Tumkur","Udaipur","Udupi","Varanasi","Vijayawada","Vizag","Warangal");var e="";var p="";var j="";var n=0;var m=12;var g=d;var b="headorng123";var h="popsearchfont3";if(g=="0"){p=str_inner_pop;var r=m*5;var c=m*3;var l=Math.round(o.length/r)}else{p+="<table border='0' cellspacing='0' cellpadding='0' height='200' valign='top' width='500' style='z-index:100'><tr><td height='10' colspan='10' valign='top'></td></tr><tr><TD align='right' colspan='9' style='padding-right:10'><A HREF='javascript:close_div();'><IMG SRC='../../image/images_just_right/close.gif' WIDTH='11' HEIGHT='11' BORDER='0' ALT='' title='Close'></a></TD></tr><tr><td height='10' colspan='10' valign='top'></td></tr><tr><td height='5' colspan='10'></td></tr>";var r=m*5;var c=m*5;var l=Math.round(o.length/r)}thispageno=g*c;if(g!=0){thispageno=thispageno-24}for(i=thispageno;i<o.length;i++){if(n==0){p+="<td valign='top'><table border='0' cellspacing='0' cellpadding='0'>"}p+="<tr><td width='10'></td><td><a href='javascript:fillcity(\""+o[i]+"\");remove_sec();' class='popsearchfont3'>"+o[i]+"</td></tr><tr><td height='5'></td></tr>";n++;if(n==m||i==o.length-1){p+="</table></td><td width='10'></td>";n=0}if(i==(thispageno+c)-1){break}}p+="</tr>";p+="<tr><td height='5' colspan='10'></td></tr><tr><TD colspan='8' style='padding-left:10'><A HREF='javascript:close_div();' class='headorng123' >Close</A></TD><td colspan='2' align='right'><table border='0' cellspacing='0' cellpadding='0' ><tr>";if(g==0){p+="<td ><a href='javascript:city_function(0);' class="+b+" >1</td><td width='5'></td>";p+="<td ><a href='javascript:city_function(1);' class="+h+" id='c'>2</td><td width='5'></td>"}else{if(g==1){p+="<td ><a href='javascript:city_function(0);' class="+h+" >1</td><td width='5'></td>";p+="<td ><a href='javascript:city_function(1);' class="+b+" id='c'>2</td><td width='5'></td>"}else{if(g==2){p+="<td ><a href='javascript:city_function(0);' class="+h+" >1</td><td width='5'></td>";p+="<td ><a href='javascript:city_function(1);' class="+h+" id='c'>2</td><td width='5'></td>"}else{if(g==3){p+="<td ><a href='javascript:city_function(0);' class="+h+" >1</td><td width='5'></td>";p+="<td ><a href='javascript:city_function(1);' class="+h+" id='c'>2</td><td width='5'></td>"}}}}p+="</tr></table></td></tr><tr><td height='10' colspan='10'></td></tr></table>";document.getElementById("city_div").innerHTML=p;var a=document.getElementById("city_div");a.style.visibility="visible"}function fillcity(d){document.getElementById("txt2").value=d;var b=document.getElementById("txt2").value;document.getElementById("city1").value=d;var a=document.getElementById("city_change");a.style.visibility="visible";if(((b!="")&&(b!="Select City"&&b!="All India Search"))){setCookie("CITY",document.justDial.city.value)}var c=document.getElementById("city_div");c.style.visibility="hidden";document.justDial.language.value="";document.justDial.searchtype.value="";document.justDial.area.value="";document.justDial.action="../movies/movie_result.php?srch=true&city="+b+"";document.justDial.submit()}function city_function1(o){if(document.justDial.city.value=="Select City"||document.justDial.city.value=="All India Search"){document.justDial.city.value=""}var h=new Array("Ahmedabad","Bangalore","Chennai","Coimbatore","Delhi / NCR","Ernakulam","Goa","Hubli","Hyderabad","Indore","Jaipur","Kolkata","Mumbai","Mysore","Nagpur","Nashik","Pune","Surat","Vadodara","Vizag");str_inner_pop="<table border='0' cellspacing='0' cellpadding='0' height='200' valign='top' width='500'><tr><td height='5' colspan='10'></td></tr><tr><td align='center' colspan='9'></td><td><A HREF='javascript:close_div();'><IMG SRC='../../image/images_just_right/close.gif' WIDTH='11' HEIGHT='11' BORDER='0' ALT='' title='Close'></a>&nbsp;</TD></tr><TR><TD class='headorng123' colspan='2' style='padding-left:10'><B>Popular Cities :</B></TD></tr><tr><td height='10' colspan='10'></td></tr><tr><td><table border='0' cellspacing='0' cellpadding='0'>";str_inner_pop+="<tr><td height='5'></td></tr><tr><td width='10'></td><td><a href='javascript: Go_AllIndiaSearch();' class='popsearchfontblue'><b>All India<b></a>&nbsp;<sup><font style='COLOR: #FF6400;FONT-FAMILY: Arial;FONT-SIZE: 11px;FONT-WEIGHT: BOLD;text-decoration: none;' >New!</font></sup></td></tr><tr><td height='5'></td></tr>";for(k=0;k<12;k++){str_inner_pop+="<tr><td width='10'></td><td><a href='javascript:fillcity1(\""+h[k]+"\")' class='popsearchfontblue'>"+h[k]+"</td></tr><tr><td height='5'></td></tr>"}str_inner_pop+="</table></td><td width='10'></td>";str_inner_pop+="<td valign='top'><table border='0' cellspacing='0' cellpadding='0'>";for(k=12;k<20;k++){str_inner_pop+="<tr><td width='10'></td><td><a href='javascript:fillcity1(\""+h[k]+"\")' class='popsearchfontblue'>"+h[k]+"</td></tr><tr><td height='5'></td></tr>"}str_inner_pop+="</table></td><td width='10'></td>";var a=new Array("Adilabad","Agra","Ahmedabad","Ahmednagar","Ajmer","Akola","Alappuzha","Ambala","Amravati","Amritsar","Anantapur","Aurangabad","Bagalkot","Bangalore","Belgaum","Bellary","Bharuch","Bhatinda","Bhilai","Bhongir","Bhopal","Bhubaneshwar","Bidar","Bijapur","Calicut","Chandrapur","Chennai","Chitoor","Coimbatore","Cuddapah","Cuttack","Davangere","Delhi","Dhanbad","Dharwad","Dindigul","Durg","Eluru","Ernakulam","Erode","Faridabad","Firozabad","Gandhinagar","Goa","Gorakhpur","Gulbarga","Guntur","Guwahati","Gwalior","Hisar ","Hubli","Hyderabad","Indore","Jaipur","Jalandhar","Jamshedpur","Jhansi","Jodhpur","Kakinada","Kannur","Kanpur","Karimnagar","Karnal","Karur","Khammam","Kolhapur","Kolkata","Koppal","Kurnool","Lucknow","Ludhiana","Madurai","Mahboobnagar","Mandvi","Mandya","Mangalore","Mathura","Mayiladuthurai","Meerut","Mehsana","Mumbai","Mysore","Nagapattinam","Nagpur","Namakkal","Nashik","Navsari","Nellore","Ooty","Panipat","Patna","Pondicherry","Pune","Raichur","Raipur","Rajahmundry","Rajkot","Ranchi","Rohtak","Salem","Shimoga","Sholapur","Siliguri","Surat","Surendranagar","Thanjavur","Tirunelveli","Tirupathi","Trichy","Tumkur","Udaipur","Udupi","Varanasi","Vijayawada","Vizag","Warangal");var q="";var s="";var v="";var j=0;var l=12;var r=o;var m="headorng123";var e="popsearchfont3";if(r=="0"){s=str_inner_pop;var p=l*5;var c=l*3;var d=Math.round(a.length/p)}else{s+="<table border='0' cellspacing='0' cellpadding='0' height='200' valign='top' width='500'><tr><td height='10' colspan='10' valign='top'></td></tr><tr><TD align='right' colspan='9' style='padding-right:10'><A HREF='javascript:close_div();'><IMG SRC='../../image/images_just_right/close.gif' WIDTH='11' HEIGHT='11' BORDER='0' ALT='' title='Close'></a></TD></tr><tr><td height='10' colspan='10' valign='top'></td></tr><tr><td height='5' colspan='10'></td></tr>";var p=l*5;var c=l*5;var d=Math.round(a.length/p)}thispageno=r*c;if(r!=0){thispageno=thispageno-24}for(i=thispageno;i<a.length;i++){if(j==0){s+="<td valign='top'><table border='0' cellspacing='0' cellpadding='0'>"}s+="<tr><td width='10'></td><td><a href='javascript:fillcity(\""+a[i]+"\");remove_sec();' class='popsearchfont3'>"+a[i]+"</td></tr><tr><td height='5'></td></tr>";j++;if(j==l||i==a.length-1){s+="</table></td><td width='10'></td>";j=0}if(i==(thispageno+c)-1){break}}s+="</tr>";s+="<tr><td height='5' colspan='10'></td></tr><tr><TD colspan='8' style='padding-left:10'><A HREF='javascript:close_div();' class='headorng123' >Close</A></TD><td colspan='2' align='right'><table border='0' cellspacing='0' cellpadding='0' ><tr>";if(r==0){s+="<td ><a href='javascript:city_function(0);' class="+m+" >1</td><td width='5'></td>";s+="<td ><a href='javascript:city_function(1);' class="+e+" id='c'>2</td><td width='5'></td>";s+="<td><a href='javascript:city_function(2);' class="+e+" id='k'>3</td><td width='5'></td>";s+="<td><a href='javascript:city_function(3);' class="+e+" id='r'>4</td><td width='10'></td>"}else{if(r==1){s+="<td ><a href='javascript:city_function(0);' class="+e+" >1</td><td width='5'></td>";s+="<td ><a href='javascript:city_function(1);' class="+m+" id='c'>2</td><td width='5'></td>";s+="<td><a href='javascript:city_function(2);' class="+e+" id='k'>3</td><td width='5'></td>";s+="<td><a href='javascript:city_function(3);' class="+e+" id='r'>4</td><td width='10'></td>"}else{if(r==2){s+="<td ><a href='javascript:city_function(0);' class="+e+" >1</td><td width='5'></td>";s+="<td ><a href='javascript:city_function(1);' class="+e+" id='c'>2</td><td width='5'></td>";s+="<td><a href='javascript:city_function(2);' class="+m+" id='k'>3</td><td width='5'></td>";s+="<td><a href='javascript:city_function(3);' class="+e+" id='r'>4</td><td width='10'></td>"}else{if(r==3){s+="<td ><a href='javascript:city_function(0);' class="+e+" >1</td><td width='5'></td>";s+="<td ><a href='javascript:city_function(1);' class="+e+" id='c'>2</td><td width='5'></td>";s+="<td><a href='javascript:city_function(2);' class="+e+" id='k'>3</td><td width='5'></td>";s+="<td><a href='javascript:city_function(3);' class="+m+" id='r'>4</td><td width='10'></td>"}}}}s+="</tr></table></td></tr><tr><td height='10' colspan='10'></td></tr></table>";document.getElementById("city_div").innerHTML=s;var g=document.getElementById("city_div");g.style.visibility="visible";var u=document.getElementById("lang_box");u.style.visibility="hidden";var f=document.getElementById("movie_box");f.style.visibility="hidden";var n=document.getElementById("area_box");n.style.visibility="hidden";var b=document.getElementById("tr_id_hall");b.style.visibility="hidden"}function fillcity1(h){document.getElementById("txt2").value=h;var e=document.getElementById("txt2").value;document.getElementById("city1").value=h;var a=document.getElementById("city_change");a.style.visibility="visible";var g=document.getElementById("city_div");g.style.visibility="hidden";var d=document.getElementById("lang_box");d.style.visibility="visible";var f=document.getElementById("movie_box");f.style.visibility="visible";var c=document.getElementById("area_box");c.style.visibility="visible";var b=document.getElementById("tr_id_hall");b.style.visibility="visible";document.justDial.action="../../movies/movie_result.php?srch=true&city="+e;document.justDial.submit()}function trim(a){return a.replace(/^\s*(.*?)\s*$/,"$1")}var t;function timestampReview(){t=setTimeout("ajax_review()",3000000)}function ajax_review(){url="display/randam_review.php?docid="+docid;var a=false;var b=this;if(window.XMLHttpRequest){b.xmlHttpReq_user=new XMLHttpRequest()}else{if(window.ActiveXObject){b.xmlHttpReq_user=new ActiveXObject("Microsoft.XMLHTTP")}}b.xmlHttpReq_user.open("POST",url,true);b.xmlHttpReq_user.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.xmlHttpReq_user.send(null);b.xmlHttpReq_user.onreadystatechange=function(){if(b.xmlHttpReq_user.readyState==4){if(b.xmlHttpReq_user.responseText!=""){reviewSearch(b.xmlHttpReq_user.responseText)}}};timestampReview()}function reviewSearch(a){document.getElementById("userReview").style.visibility="visible";document.getElementById("userReview").innerHTML=a}function Width_drop(a){alert(a);document.getElementById(a).className="ctrDropDownClick"};