var IMG_SERVER="http://img.makaan.com";var ALERT_IMG="http://img.makaan.com/images/alert.gif";var SERVER_PATH="http://www.makaan.com";var IMG_SERVER_PROPERTY="http://www.makaan.com";var IMG_SERVER_LOGO="http://www.makaan.com";var BODY_COLOR="#D4EBFA";var TAX_RATE=10.3;var borderline="#FFFFFF";if(screen.width=="800"){var tablewidth="783"}else{var tablewidth="1007"}if(screen.width>="1024"){var tablewidths="998"}else{var tablewidths="775"}function changetab(B,A){if(A==true){if(B=="reg"){document.getElementById("menu-reg-mid").style.color="#FFFFFF";document.getElementById("menu-reg-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-reg-left").style.backgroundPosition="0px -29px";document.getElementById("menu-reg-right").style.backgroundPosition="0px -29px"}else{if(B=="search"){document.getElementById("menu-search-mid").style.color="#FFFFFF";document.getElementById("menu-search-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-search-left").style.backgroundPosition="0px -29px";document.getElementById("menu-search-right").style.backgroundPosition="0px -29px"}else{if(B=="list"){document.getElementById("menu-list-mid").style.color="#FFFFFF";document.getElementById("menu-list-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-list-left").style.backgroundPosition="0px -29px";document.getElementById("menu-list-right").style.backgroundPosition="0px -29px"}else{if(B=="req"){document.getElementById("menu-req-mid").style.color="#FFFFFF";document.getElementById("menu-req-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-req-left").style.backgroundPosition="0px -29px";document.getElementById("menu-req-right").style.backgroundPosition="0px -29px"}else{if(B=="adv"){document.getElementById("menu-adv-mid").style.color="#FFFFFF";document.getElementById("menu-adv-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-adv-left").style.backgroundPosition="0px -29px";document.getElementById("menu-adv-right").style.backgroundPosition="0px -29px"}else{if(B=="loan"){document.getElementById("menu-loan-mid").style.color="#FFFFFF";document.getElementById("menu-loan-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-loan-left").style.backgroundPosition="0px -29px";document.getElementById("menu-loan-right").style.backgroundPosition="0px -29px"}else{if(B=="blp"){document.getElementById("menu-blp-mid").style.color="#FFFFFF";document.getElementById("menu-blp-mid").style.backgroundPosition="0px -29px";document.getElementById("menu-blp-left").style.backgroundPosition="0px -29px";document.getElementById("menu-blp-right").style.backgroundPosition="0px -29px"}}}}}}}}else{if(B=="reg"){document.getElementById("menu-reg-mid").style.color="#000000";document.getElementById("menu-reg-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-reg-left").style.backgroundPosition="0px 0px";document.getElementById("menu-reg-right").style.backgroundPosition="0px 0px"}else{if(B=="search"){document.getElementById("menu-search-mid").style.color="#000000";document.getElementById("menu-search-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-search-left").style.backgroundPosition="0px 0px";document.getElementById("menu-search-right").style.backgroundPosition="0px 0px"}else{if(B=="list"){document.getElementById("menu-list-mid").style.color="#000000";document.getElementById("menu-list-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-list-left").style.backgroundPosition="0px 0px";document.getElementById("menu-list-right").style.backgroundPosition="0px 0px"}else{if(B=="req"){document.getElementById("menu-req-mid").style.color="#000000";document.getElementById("menu-req-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-req-left").style.backgroundPosition="0px 0px";document.getElementById("menu-req-right").style.backgroundPosition="0px 0px"}else{if(B=="adv"){document.getElementById("menu-adv-mid").style.color="#000000";document.getElementById("menu-adv-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-adv-left").style.backgroundPosition="0px 0px";document.getElementById("menu-adv-right").style.backgroundPosition="0px 0px"}else{if(B=="loan"){document.getElementById("menu-loan-mid").style.color="#000000";document.getElementById("menu-loan-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-loan-left").style.backgroundPosition="0px 0px";document.getElementById("menu-loan-right").style.backgroundPosition="0px 0px"}else{if(B=="blp"){document.getElementById("menu-blp-mid").style.color="#000000";document.getElementById("menu-blp-mid").style.backgroundPosition="0px 0px";document.getElementById("menu-blp-left").style.backgroundPosition="0px 0px";document.getElementById("menu-blp-right").style.backgroundPosition="0px 0px"}}}}}}}}}var xmlhttp=false;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){xmlhttp=false}}if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){xmlhttp=new XMLHttpRequest()}Array.prototype.inArray=function(B){var A;for(A=0;A<this.length;A++){if(this[A]===B){return true}}return false};function makerequest(serverPage,objID){var obj=document.getElementById(objID);try{xmlhttp.open("GET",serverPage,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){var text=xmlhttp.responseText.substr(0,(xmlhttp.responseText.length-1));if(text==""){text="&nbsp;"}obj.innerHTML=text;mystr=xmlhttp.responseText.substr(0,(xmlhttp.responseText.length-1));var thelength=xmlhttp.responseText.length;var last_char=xmlhttp.responseText.charAt(thelength-1);if(eval("last_char")==0){return false}else{return true}}else{document.getElementById(objID).innerHTML='<table width="100%"><tr><td height="10" valign="center" align="center" class="text" style="color:000000;"><font style="font-size:9px">Loading</font>&nbsp;&nbsp;<input type="image" name="imageField" src="'+IMG_SERVER+'/images/loading.gif"/></td></tr></table>'}};xmlhttp.send(null)}catch(e){}}function makeajaxrequest(B,A){var D=document.getElementById(A);try{xmlhttp.open("GET",B,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){var G="";G=xmlhttp.responseText;var H=G.length;var F=G.charAt(H-1);if(F=="."){G=G.substr(0,(G.length-1))}D.innerHTML=G}else{document.getElementById(A).innerHTML="Processing.....please wait"}};xmlhttp.send(null)}catch(C){}}function ajaxrequest(B,A){var D=document.getElementById(A);try{xmlhttp.open("GET",B,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){D.innerHTML=xmlhttp.responseText}};xmlhttp.send(null)}catch(C){}}function click_counter(D,B,C){var A="/ssi/popup/clicks-counter.php?case=ppcbanner&id="+D+"&city="+C+"&page="+B;xmlhttp.open("GET",A,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){}};xmlhttp.send(null)}function makeajaxrequest_homepagelocality(B,A){var D=document.getElementById(A);try{xmlhttp.open("GET",B,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){D.innerHTML=xmlhttp.responseText;if(screen.width=="800"){var I="hrefhomelinks";var J=new RegExp("\\b"+I+"\\b");var H=document.getElementsByTagName("*");for(var G=0;G<H.length;G++){var F=H[G].className;if(J.test(F)){H[G].className="smallhrefhomelinks cursor"}}}}else{D.innerHTML="<table border=0 height='50' width='100%'><tr><td valign='middle' align='center'> <img src='http://img.makaan.com/images/loading.gif'></td></tr></table>"}};xmlhttp.send(null)}catch(C){}}if(screen.width=="800"){var tablewidths="762"}else{var tablewidths="972";var tableborder="#51BAEF;"}function chr_replace123(A){A=A.replace("#040;","'");A=A.replace("#039;","&");return unescape(A)}function prevHomeProject(B){var F="";var D=edloop="";var A=B.length-1;var H=document.slide.stslide.value;var C=document.slide.edslide.value;edloop=parseInt(H)-1;if(edloop<0){edloop=A}D=edloop;for(y=0;y<3;y++){D--;if(D<0){D=A}}document.slide.stslide.value=parseInt(D);document.slide.edslide.value=parseInt(edloop);H=D;F+="<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr>";for(y=0;y<4;y++){var G=text2="";if(B[H][3]!=""){G=chr_replace123(B[H][3])}if(B[H][4]!=""){text2=chr_replace123(B[H][4])}if(H>A){H=0}F+="<td width='25%' valign='top' align='center'";if(y!=0){F+=" style='background: url("+IMG_SERVER+"/images/citypage/white.gif) no-repeat;'"}F+="><table width='165px' border='0' cellspacing='0' cellpadding='0' style='font-family:Verdana;font-size:12px; background:#FFFFFF;' class='cursor'>";F+="<tr><td align='center'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank'><img src='"+IMG_SERVER+"/images/banners/"+B[H][0]+"' alt='"+B[H][5]+"' title='"+B[H][5]+"'></a></td></tr>";F+="<tr><td align='center' style='padding-left:7px;height:30px;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks' style='color:#000000;text-decoration:none;'><b>"+G+"</b></a></td></tr>";F+="<tr><td align='left' style='text-align: justify; color: #4470A1' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span style='text-align: justify;'>"+text2+"</span></td></tr>";F+="<tr><td align='right' style='color: #4470A1' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span class='textnopad'><u>more &gt;&gt;</u></a></span></td></tr>";F+="</table></td>";H++;if(H>A){H=0}}F+="</tr></table>";document.getElementById("fp").innerHTML=F}function nextHomeProject(B){var F="";var D=edloop="";var A=B.length-1;if(document.slide.stslide.value==""||document.slide.edslide.value==""){var H=0;var C=3;D=0;edloop=3;document.slide.stslide.value="0";document.slide.edslide.value="3"}else{var H=document.slide.stslide.value;var C=document.slide.edslide.value;D=parseInt(C)+1;if(D>A){D=0}edloop=D;for(y=0;y<3;y++){edloop++;if(edloop>A){edloop=0}}document.slide.stslide.value=parseInt(D);document.slide.edslide.value=parseInt(edloop)}H=D;F+="<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr>";for(y=0;y<4;y++){var G=text2="";if(B[H][3]!=""){G=chr_replace123(B[H][3])}if(B[H][4]!=""){text2=chr_replace123(B[H][4])}if(H>A){H=0}F+="<td width='25%' valign='top' align='center'";if(y!=0){F+=" style='background: url("+IMG_SERVER+"/images/citypage/white.gif) no-repeat;'"}F+="><table width='165px' border='0' cellspacing='0' cellpadding='0' style='font-family:Verdana;font-size:12px; background:#FFFFFF;' class='cursor'>";F+="<tr><td align='center'><a href='"+B[H][1]+"' onclick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' ><img src='"+IMG_SERVER+"/images/banners/"+B[H][0]+"' alt='"+B[H][5]+"' title='"+B[H][5]+"'></a></td></tr>";F+="<tr><td align='center' style='padding-left:7px;height:30px;' class='textnopad'><a href='"+B[H][1]+"' onclick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='texttitle hrefheader cursor' style='color:#000000;text-decoration:none;'><b>"+G+"</b></a></td></tr>";F+="<tr><td align='left' style='text-align: justify;' class='textnopad'><a href='"+B[H][1]+"' onclick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span style='text-align: justify;'>"+text2+"</span></td></tr>";F+="<tr><td align='right' style='color: #4470A1' class='textnopad'><a href='"+B[H][1]+"' onclick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span class='textnopad'><u>more &gt;&gt;</u></a></span></td></tr>";F+="</table></td>";H++;if(H>A){H=0}}F+="</tr></table>";document.getElementById("fp").innerHTML=F}function prevCityProject(B){var F="";var D=edloop="";var A=B.length-1;var H=document.slide.stslide.value;var C=document.slide.edslide.value;edloop=parseInt(H)-1;if(edloop<0){edloop=A}D=edloop;for(y=0;y<1;y++){D--;if(D<0){D=A}}document.slide.stslide.value=parseInt(D);document.slide.edslide.value=parseInt(edloop);H=D;F+="<table width='100%' cellpadding='0' cellspacing='3' border='0'><tr>";for(y=0;y<2;y++){var G=text2="";if(B[H][3]!=""){G=chr_replace123(B[H][3])}if(B[H][4]!=""){text2=chr_replace123(B[H][4])}if(H>A){H=0}F+="<td width='50%' valign='top' align='center'>";F+="<table  border='0' width='100%' id='prevCityProject' cellspacing='0' cellpadding='0' style='font-family:Verdana;font-size:12px; background:#FFFFFF;' class='cursor'>";F+="<tr><td align='center'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank'><img src='"+IMG_SERVER+"/images/banners/"+B[H][0]+"' alt='"+B[H][5]+"' title='"+B[H][5]+"' class='chunk'></a></td></tr>";F+="<tr><td align='center' style='padding-left:7px;height:25px;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='texttitle hrefheader cursor' style='color:#000000;text-decoration:none;'><b><span class='fp_text1'>"+G+"</span></b></a></td></tr>";F+="<tr><td align='left' style='text-align: justify;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span style='text-align: justify;' class='fp_text2'>"+text2+"</span></td></tr>";F+="<tr><td align='right' style='padding-left:7px;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span class='textnopad' id='morecontent'><u>more &gt;&gt;</u></a></span></td></tr>";F+="</table></td>";if(y==0){F+=" <td valign='bottom'><img src='"+IMG_SERVER+"/images/citypage/white-fp.gif'></td>"}H++;if(H>A){H=0}}F+="</tr></table>";document.getElementById("fp").innerHTML=F;change_image_800()}function nextCityProject(B){var F="";var D=edloop="";var A=B.length-1;if(document.slide.stslide.value==""||document.slide.edslide.value==""){var H=0;var C=1;D=0;edloop=1;document.slide.stslide.value="0";document.slide.edslide.value="1"}else{var H=document.slide.stslide.value;var C=document.slide.edslide.value;D=parseInt(C)+1;if(D>A){D=0}edloop=D;for(y=0;y<1;y++){edloop++;if(edloop>A){edloop=0}}document.slide.stslide.value=parseInt(D);document.slide.edslide.value=parseInt(edloop)}H=D;F+="<table width='100%' cellpadding='0' cellspacing='3' border='0'><tr>";for(y=0;y<2;y++){var G=text2="";if(B[H][3]!=""){G=chr_replace123(B[H][3])}if(B[H][4]!=""){text2=chr_replace123(B[H][4])}if(H>A){H=0}F+="<td width='50%' valign='top' align='center'>";F+="<table border='0' width='100%' id='nextCityProject' cellspacing='0' cellpadding='0' style='font-family:Verdana;font-size:12px; background:#FFFFFF;' class='cursor'>";F+="<tr><td align='center'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank'><img src='"+IMG_SERVER+"/images/banners/"+B[H][0]+"' alt='"+B[H][5]+"' title='"+B[H][5]+"' class='chunk'></a></td></tr>";F+="<tr><td align='center' style='padding-left:7px;height:25px;' class='textnopad'><a href='"+B[H][1]+"' target='_blank' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' class='texttitle hrefheader cursor' style='color:#000000;text-decoration:none;'><b><span class='fp_text1'>"+G+"</span></b></a></td></tr>";F+="<tr><td align='left' style='text-align: justify;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span style='text-align: justify;' class='fp_text2'>"+text2+"</span></td></tr>";F+="<tr><td align='right' style='padding-left:7px;' class='textnopad'><a href='"+B[H][1]+"' onClick='javascript: update_banner_hits("+B[H][2]+",\"2\")' target='_blank' class='hrefhomelinks'><span class='textnopad' id='morecontent'><u>more &gt;&gt;</u></a></span></td></tr>";F+="</table></td>";if(y==0){F+=" <td valign='bottom'><img src='"+IMG_SERVER+"/images/citypage/white-fp.gif'></td>"}H++;if(H>A){H=0}}F+="</tr></table>";document.getElementById("fp").innerHTML=F;change_image_800()}function change_image_800(){if(screen.width=="800"){var A=document.getElementsByTagName("img");for(var B=0;B<A.length;B++){if(A[B].className=="chunk"){A[B].style.width="85px";A[B].style.height="95px"}}var A=document.getElementsByTagName("span");for(var B=0;B<A.length;B++){if(A[B].className=="fp_text1"||A[B].className=="fp_text2"){A[B].style.fontSize="9px"}if(A[B].className=="textnopad"){A[B].style.fontSize="9px"}}}}function changecityid(A){document.frm_search.city.value=A;document.frm_search.submit()}function changelocid(A){document.frm_search.loc.value=A;document.frm_search.submit()}function setBudget2(R,A,N,L,P,M,K){if(!M){M=0}if(!K){K=0}if(L==0){R=R}else{if(document.frm_first.property_for["0"].checked==true){R="1"}else{if(document.frm_first.property_for["1"].checked==true){R="2"}else{R="1"}}}var O;var J=(navigator.appName=="Microsoft Internet Explorer")?-1:null;var G=document.frm_first.elements.budget_from;if(L!=1){while(G.options.length){G.remove(0)}var H=R;var Q=budgetval[H];O=document.createElement("option");if(R=="2"){O.text="<5000";O.value="4999"}else{O.text="<10 Lacs";O.value="999999"}G.add(O,J);if(H!=""){var F=0;for(var I=0;I<Q.length;I++){if(F==0&&R=="2"&&M=="4999"){O.selected=true;F=1}else{if(F==0&&R=="1"&&M=="999999"){O.selected=true;F=1}}O=document.createElement("option");O.text=Q[I].text;O.value=Q[I].value;if(I==(Q.length-1)){O.text=">"+O.text}G.add(O,J);if(F==0&&Q[I].value==M){O.selected=true;F=1}else{if(F==0&&R==1&&Q[I].value=="3000000"){O.selected=true}else{if(F==0&&R==2&&Q[I].value=="15000"){O.selected=true}}}}}}var B=document.frm_first.elements.budget_to;while(B.options.length){B.remove(0)}var H=R;var Q=budgetval[H];var C=0;if(L!=1){if(R==1){C=4}else{C=3}}else{C=G.selectedIndex}var D=G.options.length-1;if(C==0||C==D){O=document.createElement("option");O.text="Max Price";O.value="";B.add(O,J);B.disabled=true}else{if(H!=""){var F=0;for(var I=C;I<Q.length;I++){O=document.createElement("option");O.text=Q[I].text;O.value=Q[I].value;B.add(O,J);if(Q[I].value==K){O.selected=true;F=1}else{if(F==0&&H==1&&Q[I].value==A){O.selected=true}else{if(F==0&&Q[I].value==N){O.selected=true}}}}B.disabled=false}}}function disable_combo(ctrl,frm_name){if(ctrl==2||ctrl==4||ctrl==10||ctrl==11||ctrl==12||ctrl==13||ctrl==14||ctrl==15||ctrl==16){val=(eval("document."+frm_name+".bedroom"));val.disabled=true}else{val=(eval("document."+frm_name+".bedroom"));val.disabled=false}}function validate_search(frm){var city=eval("document."+frm+".city.value");if(city==""){alert("Please select the city");eval("document."+frm+".city.focus();");return false}return true}function change_citytype(B){var A;if(B==""||B=="1"){document.getElementById("span_delhihighlight").style.display="";document.getElementById("span_delhidim").style.display="none";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="M1";document.getElementById("span_more").innerHTML='<a href="/real-estate/delhi-property" alt="Delhi Properties" title="Delhi Properties" class="hrefhomelinks cursor">More Properties in Delhi &gt;&gt;</a>';document.frm_search.city.value="M1";makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M1","head_Delhi")}else{if(B=="2"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="";document.getElementById("span_mumbaidim").style.display="none";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="M2";document.getElementById("span_more").innerHTML='<a href="/real-estate/mumbai-property" alt="Mumbai Properties" title="Mumbai Properties" class="hrefhomelinks cursor">More Properties in Mumbai &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M2","head_Mumbai")}else{if(B=="3"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="";document.getElementById("span_bangaloredim").style.display="none";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.frm_search.city.value="M3";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.getElementById("span_more").innerHTML='<a href="/real-estate/bangalore-propertyp" alt="Bangalore Properties" title="Bangalore Properties" class="hrefhomelinks cursor">More Properties in Bangalore &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M3","head_Bangalore")}else{if(B=="4"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="";document.getElementById("span_chennaidim").style.display="none";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.frm_search.city.value="M5";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.getElementById("span_more").innerHTML='<a href="/real-estate/chennai-property" alt="Chennai Properties" title="Chennai Properties" class="hrefhomelinks cursor">More Properties in Chennai &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M5","head_Chennai")}else{if(B=="5"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="";document.getElementById("span_punedim").style.display="none";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="S299";document.getElementById("span_more").innerHTML='<a href="/real-estate/pune-property" alt="Pune Properties" title="Pune Properties" class="hrefhomelinks cursor">More Properties in Pune &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=S299","head_Pune")}else{if(B=="6"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="";document.getElementById("span_hyderabaddim").style.display="none";document.frm_search.city.value="M6";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="";document.getElementById("span_more").innerHTML='<a href="/real-estate/hyderabad-property" alt="Hyderabad Properties" title="Hyderabad Properties" class="hrefhomelinks cursor">More Properties in Hyderabad &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M6","head_Hyderabad")}}}}}}}function change_citytype_home(B){var A;if(B==""||B=="1"){document.getElementById("span_delhihighlight").style.display="";document.getElementById("span_delhidim").style.display="none";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="M1";document.getElementById("span_more").innerHTML='<a href="/real-estate/delhi-property" alt="Delhi Properties" title="Delhi Properties" class="hrefhomelinks cursor">More Properties in Delhi &gt;&gt;</a>';document.frm_search.city.value="M1";makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M1","head_Delhi")}else{if(B=="2"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="";document.getElementById("span_mumbaidim").style.display="none";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="M2";document.getElementById("span_more").innerHTML='<a href="/real-estate/mumbai-property" alt="Mumbai Properties" title="Mumbai Properties" class="hrefhomelinks cursor">More Properties in Mumbai &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M2","head_Mumbai")}else{if(B=="3"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="";document.getElementById("span_bangaloredim").style.display="none";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.frm_search.city.value="M3";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.getElementById("span_more").innerHTML='<a href="/real-estate/bangalore-propertyp" alt="Bangalore Properties" title="Bangalore Properties" class="hrefhomelinks cursor">More Properties in Bangalore &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M3","head_Bangalore")}else{if(B=="4"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="";document.getElementById("span_chennaidim").style.display="none";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.frm_search.city.value="M5";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="none";document.getElementById("span_more").innerHTML='<a href="/real-estate/chennai-property" alt="Chennai Properties" title="Chennai Properties" class="hrefhomelinks cursor">More Properties in Chennai &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M5","head_Chennai")}else{if(B=="5"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="";document.getElementById("span_punedim").style.display="none";document.getElementById("span_hyderabadhighlight").style.display="none";document.getElementById("span_hyderabaddim").style.display="";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="";document.getElementById("head_Hyderabad").style.display="none";document.frm_search.city.value="S299";document.getElementById("span_more").innerHTML='<a href="/real-estate/pune-property" alt="Pune Properties" title="Pune Properties" class="hrefhomelinks cursor">More Properties in Pune &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=S299","head_Pune")}else{if(B=="6"){document.getElementById("span_delhihighlight").style.display="none";document.getElementById("span_delhidim").style.display="";document.getElementById("span_mumbaihighlight").style.display="none";document.getElementById("span_mumbaidim").style.display="";document.getElementById("span_bangalorehighlight").style.display="none";document.getElementById("span_bangaloredim").style.display="";document.getElementById("span_chennaihighlight").style.display="none";document.getElementById("span_chennaidim").style.display="";document.getElementById("span_punehighlight").style.display="none";document.getElementById("span_punedim").style.display="";document.getElementById("span_hyderabadhighlight").style.display="";document.getElementById("span_hyderabaddim").style.display="none";document.frm_search.city.value="M6";document.getElementById("head_Delhi").style.display="none";document.getElementById("head_Mumbai").style.display="none";document.getElementById("head_Bangalore").style.display="none";document.getElementById("head_Chennai").style.display="none";document.getElementById("head_Pune").style.display="none";document.getElementById("head_Hyderabad").style.display="";document.getElementById("span_more").innerHTML='<a href="/real-estate/hyderabad-property" alt="Hyderabad Properties" title="Hyderabad Properties" class="hrefhomelinks cursor">More Properties in Hyderabad &gt;&gt;</a>';makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city=M6","head_Hyderabad")}}}}}}}function change_locptype(C,B){var A;if(C==""||C=="1"){document.getElementById("span_aparthighlight").style.display="";document.getElementById("span_apartdim").style.display="none";document.getElementById("span_plothighlight").style.display="none";document.getElementById("span_plotdim").style.display="";document.getElementById("span_villahighlight").style.display="none";document.getElementById("span_villadim").style.display="";document.frm_search.property_type.value="3";makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city="+B+"&property_type=3&page=citypage","head_city_locality")}else{if(C=="2"){document.getElementById("span_aparthighlight").style.display="none";document.getElementById("span_apartdim").style.display="";document.getElementById("span_plothighlight").style.display="";document.getElementById("span_plotdim").style.display="none";document.getElementById("span_villahighlight").style.display="none";document.getElementById("span_villadim").style.display="";document.frm_search.property_type.value="4";makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city="+B+"&property_type=4&page=citypage","head_city_locality")}else{if(C=="3"){document.getElementById("span_aparthighlight").style.display="none";document.getElementById("span_apartdim").style.display="";document.getElementById("span_plothighlight").style.display="none";document.getElementById("span_plotdim").style.display="";document.getElementById("span_villahighlight").style.display="";document.getElementById("span_villadim").style.display="none";document.frm_search.property_type.value="6";makeajaxrequest_homepagelocality("/ssi/ajax/featured-locality.php?city="+B+"&property_type=6&page=citypage","head_city_locality")}}}}function change_city(B){if(B==""){return false}var A;if(B=="National"){A="/index.php?bypass=1"}else{if(B=="Delhi"){A="/real-estate/delhi-property.php"}else{if(B=="Ahmedabad"){A="/real-estate/ahmedabad-property.php"}else{if(B=="Bangalore"){A="/real-estate/bangalore-property.php"}else{if(B=="Chandigarh"){A="/real-estate/chandigarh-property.php"}else{if(B=="Chennai"){A="/real-estate/chennai-property.php"}else{if(B=="Hyderabad"){A="/real-estate/hyderabad-property.php"}else{if(B=="Jaipur"){A="/real-estate/jaipur-property.php"}else{if(B=="Kochi"){A="/real-estate/kochi-property.php"}else{if(B=="Kolkata"){A="/real-estate/kolkata-property.php"}else{if(B=="Mumbai"){A="/real-estate/mumbai-property.php"}else{if(B=="Pune"){A="/real-estate/pune-property"}}}}}}}}}}}}document.location=A}function change_ptype(C,A){var B;if(C==""||C=="1"){B='<select name="property_type" class="txtComp" onchange="javascript:disable_combo(this.value,\'frm_first\');" style="width:170px;"><option value="1" style="background-color:#FDF6B5;" ';if(A==""||A=="1"){B+=" selected"}B+='>Residential Property</option><option value="3" ';if(A=="3"){B+=" selected"}B+='>Apartment</option><option value="4" ';if(A=="4"){B+=" selected"}B+='>Plot/Land</option><option value="5" ';if(A=="5"){B+=" selected"}B+='>Builder Floor</option><option value="6" ';if(A=="6"){B+=" selected"}B+='>Bungalow/Villa</option><option value="7" ';if(A=="7"){B+=" selected"}B+='>Farm House</option><option value="8" ';if(A=="8"){B+=" selected"}B+='>Service/Studio Apartment</option><option value="9" ';if(A=="9"){B+=" selected"}B+=">Other Residential</option></select>";document.frm_first.bedroom.disabled=false;if(document.getElementById("span_resitab")!=null&&document.getElementById("span_resitab")!="undefined"){document.getElementById("span_resitab").style.background="url("+IMG_SERVER+"/images/src-tb-graditant.gif) top left";document.getElementById("span_resitab").style.top="1px"}if(document.getElementById("span_commtab")!=null&&document.getElementById("span_commtab")!="undefined"){document.getElementById("span_commtab").style.background="url("+IMG_SERVER+"/images/src-tb-normal.gif) top left";document.getElementById("span_commtab").style.top="0px"}if(document.getElementById("tab_search_main")!=null&&document.getElementById("tab_search_main")!="undefined"){document.getElementById("tab_search_main").style.background="url("+IMG_SERVER+"/images/citypage/home-search-1.jpg) top left no-repeat"}}else{if(C=="2"){B='<select name="property_type" class="txtComp" onchange="javascript:disable_combo(this.value,\'frm_first\');" style="width:170px;"><option value="2" style="background-color:#FDF6B5;"';if(A=="2"){B+=" selected"}B+='>Commercial Property</option><option value="10" ';if(A=="10"){B+=" selected"}B+='>Land</option><option value="11" ';if(A=="11"){B+=" selected"}B+='>Office</option><option value="12" ';if(A=="12"){B+=" selected"}B+='>Business Centre</option><option value="13" ';if(A=="13"){B+=" selected"}B+='>Warehouse/Godown</option><option value="14" ';if(A=="14"){B+=" selected"}B+='>Industrial setup</option><option value="15" ';if(A=="15"){B+=" selected"}B+='>Shop</option><option value="16" ';if(A=="16"){B+=" selected"}B+=">Other Commercial</option></select>";document.frm_first.bedroom.disabled=true;if(document.getElementById("span_resitab")!=null&&document.getElementById("span_resitab")!="undefined"){document.getElementById("span_resitab").style.background="url("+IMG_SERVER+"/images/src-tb-normal.gif) top left";document.getElementById("span_resitab").style.top="0px"}if(document.getElementById("span_commtab")!=null&&document.getElementById("span_commtab")!="undefined"){document.getElementById("span_commtab").style.background="url("+IMG_SERVER+"/images/src-tb-graditant.gif) top left";document.getElementById("span_commtab").style.top="1px"}if(document.getElementById("tab_search_main")!=null&&document.getElementById("tab_search_main")!="undefined"){document.getElementById("tab_search_main").style.background="url("+IMG_SERVER+"/images/citypage/home-search-commercial.jpg) top left no-repeat"}}}document.getElementById("div_ptype").innerHTML=B}function pproject(max){if(max%4!=0){max=parseInt(max)+1}var startnum=parseInt(document.getElementById("span_num").innerHTML);if((startnum-1)>=0){document.getElementById("span_num").innerHTML=parseInt(startnum)-1;for(i=0;i<max;i++){if(i==(startnum-1)||i==(startnum-0)||i==(startnum+1)||i==(startnum+2)){eval("document.getElementById('td_"+i+'\').style.display = ""')}else{eval("document.getElementById('td_"+i+'\').style.display = "none"')}}startnum=startnum-1;if((startnum-1)>=0){document.img_back.src="http://img.makaan.com/images/fp-prev.gif"}else{document.img_back.src="http://img.makaan.com/images/fp-prev-disable.gif"}if((startnum+1)<max){document.img_next.src="http://img.makaan.com/images/fp-next.gif"}else{document.img_next.src="http://img.makaan.com/images/fp-next-disable.gif"}}else{document.img_back.src="http://img.makaan.com/images/fp-prev-disable.gif"}}function update_banner_clicks(B,H,C){var G=false;try{G=new ActiveXObject("Msxml2.XMLHTTP")}catch(F){try{G=new ActiveXObject("Microsoft.XMLHTTP")}catch(D){G=false}}if(!G&&typeof XMLHttpRequest!="undefined"){G=new XMLHttpRequest()}var A="/ssi/popup/clicks-counter.php?case="+H+"&id="+B+"&type="+C;G.open("GET",A,true);G.onreadystatechange=function(){if(G.readyState==4){}};G.send(null)}function update_banner_hits(G,B){var F=false;try{F=new ActiveXObject("Msxml2.XMLHTTP")}catch(D){try{F=new ActiveXObject("Microsoft.XMLHTTP")}catch(C){F=false}}if(!F&&typeof XMLHttpRequest!="undefined"){F=new XMLHttpRequest()}var A="/ssi/popup/clicks-counter.php?case=sitebanner&id="+G+"&type="+B;F.open("GET",A,true);F.onreadystatechange=function(){if(F.readyState==4){}};F.send(null)}dw_Banner.restartDelay=500;dw_Banners={};function dw_Banner(C,B,A){this.id=C;this.delay=B;this.items=[];this.ctr=0;this.oldctr="-1";this.timer=null;dw_Banners[this.id]=this;this.animString="dw_Banners."+this.id;if(A){dw_Banner.setMouseEvents(this.id)}}dw_Banner.prototype.addItem=function(A){this.items[this.items.length]=A};dw_Banner.prototype.rotate=function(){clearTimeout(this.timer);this.timer=null;var B=document.getElementById(this.id);if(B&&typeof B.innerHTML!="undefined"){if(this.oldctr=="-1"||this.oldctr=="undefined"){this.oldctr=this.ctr;var A=new Array(1);A[0]=this.oldctr}else{this.oldctr=this.oldctr+","+this.ctr;var A=this.oldctr.split(",")}if(this.items.length==A.length){this.oldctr="-1";this.ctr=Math.floor(this.items.length*Math.random())}else{do{this.ctr=Math.floor(this.items.length*Math.random())}while(A.inArray(this.ctr))}B.innerHTML=this.items[this.ctr];this.timer=setTimeout(this.animString+".rotate()",this.delay)}};dw_Banner.setMouseEvents=function(B){var A=document.getElementById(B);if(A){A.onmouseover=dw_Banner.pause;A.onmouseout=dw_Banner.resume}};dw_Banner.pause=function(){var A=dw_Banners[this.id];if(A){clearTimeout(A.timer);A.timer=null}};dw_Banner.resume=function(C){C=C?C:window.event;var B=C.relatedTarget?C.relatedTarget:C.toElement;if(this!=B&&!dw_contained(B,this)){var A=dw_Banners[this.id];if(A){A.timer=setTimeout(A.animString+".rotate()",dw_Banner.restartDelay)}}};function dw_contained(B,A){if(!B){return}while(B=B.parentNode){if(B==A){return true}}return false}var imageHandler={path:"",imgs:[],preload:function(){for(var B=0;arguments[B];B++){var A=new Image();A.src=this.path+arguments[B];this.imgs[this.imgs.length]=A}}};var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var A;var B;var C;try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");A=B.GetVariable("$version")}catch(C){}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");A="WIN 6,0,21,0";B.AllowScriptAccess="always";A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A="WIN 3,0,18,0"}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");A="WIN 2,0,0,11"}catch(C){A=-1}}return A}function GetSwfVer(){var H=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var G=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var A=navigator.plugins["Shockwave Flash"+G].description;var F=A.split(" ");var C=F[2].split(".");var I=C[0];var B=C[1];if(F[3]!=""){tempArrayMinor=F[3].split("r")}else{tempArrayMinor=F[4].split("r")}var D=tempArrayMinor[1]>0?tempArrayMinor[1]:0;var H=I+"."+B+"."+D}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){H=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){H=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){H=2}else{if(isIE&&isWin&&!isOpera){H=ControlVersion()}}}}}return H}function DetectFlashVer(G,D,C){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var F=versionArray[0];var A=versionArray[1];var B=versionArray[2];if(F>parseFloat(G)){return true}else{if(F==parseFloat(G)){if(A>parseFloat(D)){return true}else{if(A==parseFloat(D)){if(B>=parseFloat(C)){return true}}}}}return false}}}function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")}else{return B+A}}function AC_Generateobj(F,D,A){var C="";if(isIE&&isWin&&!isOpera){C+="<object ";for(var B in F){C+=B+'="'+F[B]+'" '}for(var B in D){C+='><param name="'+B+'" value="'+D[B]+'" /> '}C+="></object>"}else{C+="<embed ";for(var B in A){C+=B+'="'+A[B]+'" '}C+="> </embed>"}document.write(C)}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_GetArgs(B,F,H,D,I){var A=new Object();A.embedAttrs=new Object();A.params=new Object();A.objAttrs=new Object();for(var C=0;C<B.length;C=C+2){var G=B[C].toLowerCase();switch(G){case"classid":break;case"pluginspage":A.embedAttrs[B[C]]=B[C+1];break;case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],F);A.embedAttrs.src=B[C+1];A.params[H]=B[C+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":A.objAttrs[B[C]]=B[C+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];break;default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]}}A.objAttrs.classid=D;if(I){A.embedAttrs.type=I}return A}var content;var contentcontainer;var position=1;var rot_position=0;var rot_timer;var maxY,wd,maxX,ready,slideDur=1000,destX=0,destY=0,distY,distX,per,sliding,slideStart,aniTimer,startX,startY,xcoordinate,ycoordinate,url_path_rotation;var totProject;var capcity=2;var imgScroll1=new Image();imgScroll1.src=IMG_SERVER+"/images/scroll/next.gif";var imgScroll2=new Image();imgScroll2.src=IMG_SERVER+"/images/scroll/next-disable.gif";var imgScroll3=new Image();imgScroll3.src=IMG_SERVER+"/images/scroll/prev.gif";var imgScroll4=new Image();imgScroll4.src=IMG_SERVER+"/images/scroll/prev-disable.gif";function load(B,F,I,H){var D=document.getElementById("table-content");var C=D.getElementsByTagName("td");var G=C.length/3;var J=C.length*210+"px";var A=document.getElementById("table-content").clientWidth;A=J;document.getElementById("table-content").style.width=A;totProject=H-1;position=1;url_path_rotation=I;if(!document.getElementById){return}content=document.getElementById("content");contentcontainer=document.getElementById("content-container");content.visibility="hidden";content.style.top=0;content.style.left=0;xcoordinate=0;ycoordinate=0;maxY=(content.offsetHeight-contentcontainer.offsetHeight>0)?content.offsetHeight-contentcontainer.offsetHeight:0;wd=B?document.getElementById(B).offsetWidth:content.offsetWidth;maxX=(wd-contentcontainer.offsetWidth>0)?wd-contentcontainer.offsetWidth:0;content.style.visibility="visible";ready=true;document.getElementById("slideprevious").style.visibility="visible";document.getElementById("slidenext").style.visibility="visible";rot_timer=setInterval("do_rotation()",F);disableAnchor(document.getElementById("slidenext"),true);document.getElementById("image_next").style.display="none";document.getElementById("dimage_next").style.display="";disableAnchor(document.getElementById("slideprevious"),true);document.getElementById("image_previous").style.display="none";document.getElementById("dimage_previous").style.display=""}function glideTo(B,A){content=document.getElementById("content");contentcontainer=document.getElementById("content-container");startX=parseInt(content.style.left);if(startX==""){startX=0}startY=parseInt(content.style.top);destX=-Math.max(Math.min(B,maxX),0);destY=-Math.max(Math.min(A,maxY),0);distY=destY-startY;distX=destX-startX;per=Math.PI/(2*slideDur);sliding=false;slideStart=(new Date()).getTime();aniTimer=setInterval("doSlide()",10);on_slide_start(startX,startY)}function doSlide(){var B=(new Date()).getTime()-slideStart;if(B<slideDur){var A=startX+distX*Math.sin(per*B);var C=startY+distY*Math.sin(per*B);shiftTo(A,C);on_slide(A,C)}else{clearInterval(aniTimer);sliding=false;shiftTo(destX,destY);on_slide_end(destX,destY)}}function shiftTo(A,B){if(typeof(A)=="number"){content.style.left=A+"px";content.style.top=B+"px"}}on_slide_start=function(){};on_slide=function(){};on_slide_end=function(){};function next_previous(str,img_url){clearInterval(rot_timer);if(str=="next"){if(document.getElementById("slideprevious").href==""){disableAnchor(document.getElementById("slideprevious"),false);document.getElementById("image_previous").style.display="";document.getElementById("dimage_previous").style.display="none"}if(position<totProject){position++;glideTo(eval(position-1)*210,0);disableAnchor(document.getElementById("slidenext"),false);document.getElementById("image_next").style.display="";document.getElementById("dimage_next").style.display="none"}if(position==totProject){disableAnchor(document.getElementById("slidenext"),true);document.getElementById("image_next").style.display="none";document.getElementById("dimage_next").style.display=""}}if(str=="previous"){if(document.getElementById("slidenext").href==""){disableAnchor(document.getElementById("slidenext"),false);document.getElementById("image_next").style.display="";document.getElementById("dimage_next").style.display="none"}if(position>1){position--;glideTo(eval(position-1)*210,0);disableAnchor(document.getElementById("slideprevious"),false);document.getElementById("image_previous").style.display="";document.getElementById("dimage_previous").style.display="none"}if(position==1){disableAnchor(document.getElementById("slideprevious"),true);document.getElementById("image_previous").style.display="none";document.getElementById("dimage_previous").style.display=""}}}function do_rotation(){if(position<totProject){position++;glideTo(eval(position-1)*210,0);disableAnchor(document.getElementById("slideprevious"),false);document.getElementById("image_previous").style.display="";document.getElementById("dimage_previous").style.display="none";disableAnchor(document.getElementById("slidenext"),false);document.getElementById("image_next").style.display="";document.getElementById("dimage_next").style.display="none"}else{position=1;glideTo(eval(position-1)*210,0);disableAnchor(document.getElementById("slideprevious"),false);document.getElementById("image_previous").style.display="none";document.getElementById("dimage_previous").style.display="";disableAnchor(document.getElementById("slidenext"),false);document.getElementById("image_next").style.display="none";document.getElementById("dimage_next").style.display=""}}function disableAnchor(C,B){if(B){var A=C.getAttribute("href");C.removeAttribute("href")}else{if(C.id=="slidenext"){C.setAttribute("href","javascript:next_previous('next','"+url_path_rotation+"')")}if(C.id=="slideprevious"){C.setAttribute("href","javascript:next_previous('previous','"+url_path_rotation+"')")}}}function showhide(C){var B=document.getElementById(C);for(var A=1;A<=2;A++){if(document.getElementById("reporttab0"+A)){document.getElementById("reporttab0"+A).style.display="none";document.getElementById("reporttab0"+A+"img").src="/images/new/product-lp/reporttab0"+A+"-off.gif"}}if(B){document.getElementById(B.id+"img").src="/images/new/product-lp/"+B.id+"-on.gif";B.style.display="block"}}var i=1;var j=1;var intervalID;var selval=1;function slideshow(B){for(var A=1;A<=2;A++){if(document.getElementById("slider"+A)){}}if(B=="startslide"){intervalID=setInterval(startslidefn,5000)}else{if(B!="startslide"&&B!="pause"&&B!="play"&&B!="next"&&B!="prev"){selval=B;for(var A=1;A<=2;A++){if(document.getElementById("slider"+A)){}}clearInterval(intervalID)}}}function startslidefn(){for(var A=1;A<=4;A++){if(document.getElementById("slider"+A)){}}if(j>=2){selval="1";j=1}else{j++;selval=j}}function get_cookie(A){var G=document.cookie.split(";");var B="";var D="";var F="";var C=false;for(i=0;i<G.length;i++){B=G[i].split("=");D=B[0].replace(/^\s+|\s+$/g,"");if(D==A){C=true;if(B.length>1){F=unescape(B[1].replace(/^\s+|\s+$/g,""))}return F;break}B=null;D=""}if(!C){return null}}function set_cookie(C,F,A,I,D,H){var B=new Date();B.setTime(B.getTime());if(A){A=A*1000*60*60*24}var G=new Date(B.getTime()+(A));if(I=="undefined"||I==null){I="/"}document.cookie=C+"="+escape(F)+((A)?";expires="+G.toGMTString():"")+((I)?";path="+I:"/")+((D)?";domain="+D:"")+((H)?";secure":"")}function delete_cookie(A,C,B){if(C=="undefined"||C==null){C="/"}if(get_cookie(A)){document.cookie=A+"="+((C)?";path="+C:"")+((B)?";domain="+B:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}};
