var overlayViewsArray=new Array();
var _$=document;
function $(_1){
return ((typeof (_1)=="string")?_$.getElementById(_1):_1);
}
function validateEmail(_2,_3,_4,_5){
if(_2.length==0&&(typeof (_5))&&_5==0){
return true;
}
var _6=/^((([a-z]|[A-Z]|[0-9]|\-|_)+(\.([a-z]|[A-Z]|[0-9]|\-|_)+)*)@((((([a-z]|[A-Z]|[0-9])([a-z]|[A-Z]|[0-9]|\-){0,61}([a-z]|[A-Z]|[0-9])\.))*([a-z]|[A-Z]|[0-9])([a-z]|[A-Z]|[0-9]|\-){0,61}([a-z]|[A-Z]|[0-9])\.)[\w]{2,4}|(((([0-9]){1,3}\.){3}([0-9]){1,3}))|(\[((([0-9]){1,3}\.){3}([0-9]){1,3})\])))$/;
if(_2==""){
return "Please enter your "+_3+".";
}else{
if(!_6.test(_2)){
return "The "+_3+" specified is not correct.";
}
}
return true;
}
function clearMessages(_7,_8,_9){
_8=(typeof (_8)=="undefined")?false:_8;
_9=(typeof (_9)=="undefined")?false:_9;
for(var _a=0;_a<_7.elements.length;_a++){
var _b=_7.elements[_a];
if($(_b.id+"_error")){
$(_b.id+"_error").innerHTML="";
if(_8){
$(_b.id+"_error").parentNode.style.display="none";
}
if(_9){
_b.value="";
}
}
}
}
function setXHRHeaders(_c){
_c.setRequestHeader("Content-length",0);
_c.setRequestHeader("Connection","close");
}
function getXMLHTTPObject(){
var _d;
try{
_d=new XMLHttpRequest();
}
catch(e){
try{
_d=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
_d=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){
alert("Your browser does not support AJAX!");
return false;
}
}
}
return _d;
}
var footerExpandedElement=null;
function toggleMe(_e){
var _f=document;
if(_e.className.indexOf("ftrPSgn")>-1){
_f.getElementById(_e.id.replace("Sign","Container")).style.display="";
_e.className="ftrMSgn";
if(footerExpandedElement!=null){
_f.getElementById(footerExpandedElement.id.replace("Sign","Container")).style.display="none";
footerExpandedElement.className="ftrPSgn";
}
footerExpandedElement=_e;
}else{
_f.getElementById(_e.id.replace("Sign","Container")).style.display="none";
_e.className="ftrPSgn";
footerExpandedElement=null;
}
}
function trim(str){
try{
if(str&&typeof (str)=="string"){
return str.replace(/^\s*|\s*$/g,"");
}else{
return "";
}
}
catch(e){
return str;
}
}
function getJsonKeyForSearch(val){
return (val.replace(/[^a-zA-Z]*/g,"").toLowerCase());
}
function getCookie(_12){
if(document.cookie.length>0){
c_start=document.cookie.indexOf(_12+"=");
if(c_start!=-1){
c_start=c_start+_12.length+1;
c_end=document.cookie.indexOf(";",c_start);
if(c_end==-1){
c_end=document.cookie.length;
}
return unescape(document.cookie.substring(c_start,c_end));
}
}
return "";
}
function setCookie(_13,_14,_15,_16){
var _17=new Date();
_17.setTime(_17.getTime());
var _18=0;
_15=(typeof (_15)!="undefined")?_15:0;
_16=(typeof (_16)!="undefined")?_16:"days";
if(_15!=0){
if(_16=="seconds"){
_15=_15*1000;
}else{
_15=_15*1000*60*60*24;
}
var _19=new Date(_17.getTime()+(_15));
var _18=_19.toGMTString();
}
document.cookie=_13+"="+escape(_14)+";path=/;domain="+COOKIEDOMAIN+""+((_15==null)?"":";expires="+_18);
if(document.cookie==""){
return false;
}
return true;
}
function setClientCookie(){
try{
if(getCookie("client")==""||getCookie("client")==null||document.body.offsetWidth!=getCookie("client")){
if(getCookie("client")!=""&&getCookie("client")!=document.body.offsetWidth&&document.body.offsetWidth>1000&&getCookie("client")<800){
setCookie("client",document.body.offsetWidth,300);
}else{
if(getCookie("client")!=document.body.offsetWidth&&document.body.offsetWidth<1000&&getCookie("client")>1000){
setCookie("client",document.body.offsetWidth,300);
}else{
setCookie("client",document.body.offsetWidth,300);
}
}
if(getCookie("client")==""){
$("enableCookieMsg").style.display="";
$("enableCookieMsg").innerHTML="Cookies are not getting set in your browser! Please Check.";
}
}
}
catch(e){
}
}
function showSubcategories1(_1a,_1b){
var _1c=$("subcategoryDiv1");
_1c.style.display="block";
if(_1a){
_1a=$(_1a);
_1c.style.top=obtainPostitionY(_1a)+"px";
_1c.style.left=obtainPostitionX(_1a)+(_1a.offsetWidth-2)+"px";
if(_1b){
var _1d=_1a.getAttribute("url");
var url=_1a.getAttribute("href");
$("subcategoryDivContent1").innerHTML=getSubCategories1(url,_1b,_1d);
}
}
}
function hideSubcategoties(_1f){
_1f="subcategoryDiv";
$(_1f).style.display="none";
}
function getSubCategories1(url,id,_22){
var _23="";
var _24="";
if(url.indexOf("getCategoryPage/colleges")<0){
url+="getCategoryPage/colleges";
}
if(url.indexOf("//"+_22)>0){
url+="/"+_22;
}
for(var _25=0;_25<categoryList.length;_25++){
if(id==categoryList[_25].parentId){
var _26=url+"/india/All/"+categoryList[_25].urlName;
var _27="<div style=\"margin:5px;\" class=\"quesAnsBullets\"><a href=\""+_26+"\" title=\""+categoryList[_25].categoryName+"\">"+categoryList[_25].categoryName+"</a></div>";
if(categoryList[_25].categoryName.toLowerCase().indexOf("other")==0){
_24+=_27;
}else{
_23+=_27;
}
}
}
_24=_23+_24;
return _24;
}
function obtainPostitionX(_28){
var x=0;
while(_28){
x+=_28.offsetLeft;
_28=_28.offsetParent;
}
return x;
}
function obtainPostitionY(_2a){
var y=0;
while(_2a){
y+=_2a.offsetTop;
_2a=_2a.offsetParent;
}
return y;
}
function openSubDiv(_2c,_2d){
$("careerOption").style.visibility="hidden";
$("countryOption").style.visibility="hidden";
$("testPreparation").style.visibility="hidden";
var _2e=$(_2c.id);
var _2f=$(_2d);
var _30=obtainPostitionY(_2e);
var _31=obtainPostitionX(_2e);
var _32=_2e.offsetWidth;
_2f.style.visibility="visible";
_2f.style.left=(_31+_32+1)+"px";
_2f.style.top=_30+"px";
_2f.style.zIndex=500;
setTimeout("overlayHackLayerForIE(\""+_2d+"\", $(\""+_2d+"\"));",1);
}
function drpdwnOpen(_33,_34){
MM_showHideLayers("careerOption","","","hide");
MM_showHideLayers("countryOption","","","hide");
MM_showHideLayers("testPreparation","","","hide");
var _35=_33;
var _36=$(_34);
var _37=obtainPostitionY(_35);
var _38=obtainPostitionX(_35);
var _39=_35.offsetHeight;
_36.style.left=_38-1+"px";
_36.style.top=(_37+_39-3)+"px";
_36.style.display="block";
if((_38+$(_34).offsetWidth)>screen.width){
_38=screen.width-$(_34).offsetWidth-50;
}
_36.style.zIndex=1500;
_36.style.left=_38-1+"px";
setTimeout("overlayHackLayerForIE(\""+_34+"\", $(\""+_34+"\"));",1);
}
function defaultTab(_3a){
var _3b=$(_3a);
var _3c=$("careerOption");
_3c.style.visibility="hidden";
_3b.className="";
objImg=_3b.getElementsByTagName("img");
objImg[0].src="/public/images/mainNavigationArrowWht.gif";
}
function MM_findObj(n,d){
var p,i,x;
if(!d){
d=document;
}
if((p=n.indexOf("?"))>0&&parent.frames.length){
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);
}
if(!(x=d[n])&&d.all){
x=d.all[n];
}
for(i=0;!x&&i<d.forms.length;i++){
x=d.forms[i][n];
}
for(i=0;!x&&d.layers&&i<d.layers.length;i++){
x=MM_findObj(n,d.layers[i].document);
}
if(!x&&d.getElementById){
x=d.getElementById(n);
}
return x;
}
function MM_showHideLayers(){
var i,p,v,obj,_46=MM_showHideLayers.arguments;
for(i=0;i<(_46.length-2);i+=3){
if((obj=MM_findObj(_46[i]))!=null){
v=_46[i+2];
if(obj.style){
obj=obj.style;
v=(v=="show")?"block":"none";
}
obj.display=v;
v=="block"&&_46[0]!="drpDown"?overlayHackLayerForIE(_46[0],$(_46[0])):dissolveOverlayHackForIE();
}
}
}
function overlayHackLayerForIE(_47,_48){
overlayHackForIE(_47,_48);
}
function overlayHackForIE(_49,_4a){
var _4b=$("iframe_div");
if(_4b!=null){
var _4c=_4b.style;
if(_4b.getAttribute("container")!=""&&_4b.getAttribute("container")!=_49&&_4c.display!="none"){
dissolveOverlayHackForIE();
}
_4b.setAttribute("container",_49);
_4b.container=_49;
_4c.display="block";
_4c.width=_4a.offsetWidth+"px";
_4c.height=_4a.offsetHeight+"px";
_4c.top=obtainPostitionY(_4a)+"px";
_4c.left=obtainPostitionX(_4a)+"px";
if($(_49).style.zIndex!=0||$(_49).style.zIndex!=""){
_4c.zIndex=parseInt($(_49).style.zIndex)-1;
}else{
_4c.zIndex=1000;
}
}
}
function dissolveOverlayHackForIE(){
if($("iframe_div")){
try{
if($($("iframe_div").getAttribute("container"))){
$($("iframe_div").getAttribute("container")).style.display="none";
}
}
catch(e){
}
$("iframe_div").style.display="none";
}
}
var bannerPool=new Array();
function pushBannerToPool(_4d,_4e){
if(_4d!=""){
bannerPool[_4d]=_4e;
}
}
function checkTextElementOnTransition(_4f,_50){
var _51=trim(_4f.getAttribute("default"));
if(_51==null){
return false;
}
if(_50=="focus"){
_4f.style.color="";
if(trim(_4f.value)==_51){
if(_4f.type.toLowerCase()=="password"){
_4f.className=_4f.className.replace("passwordTxt","");
return;
}
_4f.value="";
}
}else{
if(trim(_4f.value)==""){
if(_4f.type.toLowerCase()=="password"){
_4f.className+=" passwordTxt";
return;
}
_4f.value=_51;
_4f.style.color="#ada6ad";
}
}
}
function validateLoginForHeader(_52){
if((_52.password_header.value=="")||(_52.username_header.value=="")||_52.username_header.getAttribute("default")==_52.username_header.value){
return false;
}
var _53=$("username_header");
var _54=$("password_header");
_53.className=_53.className.replace("error_box","");
_54.className=_54.className.replace("error_box","");
clearMessages(_52,true);
var _55=validateEmail(_52.username_header.value,"email address",125,10);
if(_55!=true){
_53.className+=" error_box";
_54.className+=" error_box";
showCommonInlineErrorMessage("username_header",_55);
}else{
$("mpassword_header").value=hex_md5($("password_header").value);
}
return true;
}
function showCommonInlineErrorMessage(_56,_57){
if($(_56+"_error")){
$(_56+"_error").parentNode.style.display="inline";
$(_56+"_error").innerHTML=_57;
}
return;
}
function showLoginResponseForHeader(str){
var _59=$("username_header");
var _5a=$("password_header");
_59.className=_59.className.replace("error_box","");
_5a.className=_5a.className.replace("error_box","");
var _5b;
if(str==0){
_5b="Incorrect account details. Please enter Login Email Id & Password again.";
}
if(str=="invalid"){
_5b="The login email you have provided is not valid. This account has been disabled.";
}
if(str==0||str=="invalid"){
_59.className+=" error_box";
_5a.className+=" error_box";
showErrorMessageForAnAReg("username_header",_5b);
return false;
}
if(Number(str)>0){
window.location.reload();
}
return;
}
function selectTab(_5c,_5d,_5e,_5f){
var _60=getElementsByAttributeName(_5c.parentNode,"tab");
var _61=$(_5d);
var _62=getElementsByAttributeName(_61.parentNode,"tabContent");
for(var _63=0,tab;tab=_60[_63];_63++){
tab.className=tab.className.replace(_5e,"").concat(" "+_5f);
_62[_63].style.display="none";
}
_5c.className=_5c.className.replace(_5f,"").concat(" "+_5e);
_61.style.display="";
return false;
}
function getElementsByAttributeName(_65,_66,_67){
var _68,_69,_6a=new Array(),_6b=0;
if(_67){
_68=_65.getElementsByTagName(_67);
}else{
_68=_65.childNodes;
}
while(_69=_68[_6b++]){
if(_69&&_69.nodeType==1&&_69.getAttribute(_66)){
_6a.push(_69);
}
}
return _6a;
}
function glider(_6c,_6d,_6e,_6f){
this.gliderCodeRunning=0;
this.noOfInterval=(typeof (_6e)=="undefined")?10:_6e;
this.timeForGliding=(typeof (_6f)=="undefined")?500:_6f;
var _70=this.getFirstLevelChilds(_6c);
var _71=_70[0].offsetWidth;
_6c.parentNode.style.width=_71+"px";
for(var i=0;i<_70.length;i++){
_70[i].style.width=_71+"px";
_70[i].innerHTML+="&nbsp;";
if(i==_6d){
this.changeFirstDivChild(_70[i],"");
}else{
this.changeFirstDivChild(_70[i],"none");
}
}
_6c.style.width=((_70.length*_71)+50)+"px";
_6c.style.left=(Number(_6d)*Number(_71)*(-1))+"px";
return;
}
glider.prototype.setWidthOfParentDiv=function(_73,_74,_75){
var _76=this.getFirstLevelChilds(_73);
_73.style.width=(((_76.length+_75)*_74)+50)+"px";
return;
};
glider.prototype.setLeftPosition=function(_77,_78,_79,_7a){
if((_78<0)&&(_79<0)){
_77.style.left=(_79*_7a)+"px";
}
if((_78>0)&&(_79<0)){
_77.style.left=(-(_77.offsetWidth-_7a-50))+"px";
}
return;
};
glider.prototype.checkLimits=function(_7b,_7c,_7d){
var _7e=false;
if(((this.getNumVal(_7b.style.width)-50)==Math.abs(this.getNumVal(_7b.style.left)-Number(_7d)))&&(_7c>0)){
_7e="upper";
}else{
if((this.getNumVal(_7b.style.left)==0)&&(_7c<0)){
_7e="lower";
}
}
return _7e;
};
glider.prototype.getNumVal=function(_7f){
return Number(_7f.substring(0,(_7f.length-2)));
};
glider.prototype.slideIt=function(_80,_81,_82,_83){
if(this.gliderCodeRunning==1){
return false;
}
var _84=$(_80);
var _83=(typeof (_83)=="undefined")?0:_83;
var _85=this.getFirstLevelChilds(_84);
var _86=_85[0].offsetWidth;
this.setLeftPosition(_84,_81,_83,_86);
var _87=_84.getAttribute("currentShownDiv");
var _88=$(_80+_87);
_87=parseInt(_87)+_81;
var _89=this.checkLimits(_84,_81,_86);
if(_89!=false){
if(!_82){
return false;
}else{
if(_89=="upper"){
this.changeFirstDivChild(_85[0],"");
_84.style.left="0px";
this.changeFirstDivChild(_85[_85.length-1],"none");
var _8a=_85[0].getAttribute("divNumber");
}else{
this.changeFirstDivChild(_85[_85.length-1],"");
_84.style.left=-(gliderObject.getNumVal(_84.style.width)-_86-50)+"px";
this.changeFirstDivChild(_85[0],"none");
var _8a=_85[_85.length-1].getAttribute("divNumber");
}
_84.setAttribute("currentShownDiv",_8a);
return false;
}
}
_84.setAttribute("currentShownDiv",_87);
this.changeFirstDivChild($(_80+_87),"");
this.gliderCodeRunning=1;
this.alterWithInterval(_84,_88,_81);
return;
};
glider.prototype.changeFirstDivChild=function(_8b,_8c){
_8b.getElementsByTagName("div")[0].style.display=_8c;
return;
};
glider.prototype.alterWithInterval=function(_8d,_8e,_8f){
var _90=this.getNumVal(_8e.style.width);
var _91=(_90/this.noOfInterval)*_8f;
var _92=this.getNumVal(_8d.style.left);
var _93=_92-(_90*_8f);
var _94=this;
var _95=0;
var _96=setInterval(function(){
_92=_92-_91;
_8d.style.left=(_92)+"px";
_95++;
if(_95>=_94.noOfInterval){
_8d.style.left=(_93)+"px";
clearInterval(_96);
_94.gliderCodeRunning=0;
_94.changeFirstDivChild(_8e,"none");
}
},(_94.timeForGliding/_94.noOfInterval));
return;
};
glider.prototype.getFirstLevelChilds=function(_97){
var _98=_97.childNodes;
var _99=_97.id;
var _9a=new Array();
for(var i=0;i<_98.length;i++){
if((_98[i].nodeType==1)&&(_98[i].id.indexOf(_99)!=-1)){
_9a.push(_98[i]);
}
}
return _9a;
};
function hideOverlay(){
if(typeof isUserLoggedIn!="undefined"&&!isUserLoggedIn&&getCookie("user")!=""&&(anotheraction==0)){
window.location.reload();
}else{
dissolveOverlayHackForIE();
$("genOverlay").style.display="none";
$("dim_bg").style.display="none";
if(($("genOverlayContents").innerHTML!="")&&(overlayParent)){
if(typeof (overlayContent)!="undefined"){
overlayParent.innerHTML=overlayContent;
}else{
overlayParent.innerHTML=$("genOverlayContents").innerHTML;
}
}
$("genOverlayContents").innerHTML="";
setNoScroll();
}
}
function setScroll(x,y){
window.scrollTo(x,y);
window.onscroll=function(){
window.scrollTo(x,y);
};
}
function setNoScroll(){
h=document.documentElement.scrollTop;
window.scrollTo(0,h);
window.onscroll=function(){
};
}
var overlayParent;
function showOverlay(_9e,_9f,_a0,_a1,_a2,_a3,top){
if(trim(_a1)==""){
return false;
}
var _a5=document.getElementsByTagName("body")[0];
$("overlayTitle").innerHTML=_a0;
if(trim(_a0)==""){
$("overlayTitle").parentNode.style.display="none";
}else{
$("overlayTitle").parentNode.style.display="";
}
$("genOverlay").style.width=_9e+"px";
$("genOverlay").style.height=_9f+"px";
$("genOverlayContents").innerHTML=_a1;
var _a6=parseInt(screen.height)/2;
var _a7;
if(typeof _a3!="undefined"){
_a7=_a3;
}else{
_a7=(parseInt(_a5.offsetWidth)/2)-(_9e/2);
}
if(typeof top!="undefined"){
_a6=top;
}else{
_a6=_a6-(_9f/2);
}
h=document.documentElement.scrollTop;
_a6=_a6+h;
if(typeof _a2=="undefined"||_a2===false){
$("dim_bg").style.height=_a5.scrollHeight+"px";
$("dim_bg").style.display="inline";
if($("dim_bg").offsetWidth<_a5.offsetWidth){
$("dim_bg").style.width=_a5.offsetWidth+"px";
}
}
if($("genOverlay").scrollHeight<_a5.offsetHeight){
$("genOverlay").style.left=_a7+"px";
$("genOverlay").style.top=_a6+"px";
}else{
$("genOverlay").style.left=_a7+"px";
$("genOverlay").style.top="100px";
$("dim_bg").style.height=($("genOverlay").scrollHeight+100)+"px";
window.scrollTo(_a7,"100");
}
overlayHackLayerForIE("genOverlay",_a5);
$("genOverlay").style.display="inline";
}
if(typeof autoCompleteFlag=="undefined"){
var Ajax={getParams:function(_a8,_a9){
if(_a8==null||typeof _a8=="undefined"){
return null;
}
var _aa=_a8.split("&");
var _ab=null;
if(_aa!=null){
for(var _ac=0;_ac<_aa.length;_ac++){
var _ad=_aa[_ac].split("=");
_ab=_ab==null?"":_ab;
var _ae=_ad[1];
if(trim(_ad[1]).split(" ").length!=1){
var _ae=encodeURIComponent(_ad[1]);
}
_ab+=_ab==""?_ad[0]+"="+_ae:"&"+_ad[0]+"="+_ae;
}
}
_a9.setRequestHeader("Content-type","application/x-www-form-urlencoded");
_a9.setRequestHeader("Content-length",_ab.length);
_a9.setRequestHeader("Connection","close");
return _ab;
},Request:function(url,_b0){
if(_b0!=null&&typeof _b0!="undefined"){
if(typeof (_b0["onBeforeAjax"])!="undefined"){
_b0["onBeforeAjax"].call(this,_b1);
}
}
var _b1=getXMLHTTPObject();
_b1.onreadystatechange=function(){
if(_b1.readyState==4){
if(_b0!=null&&typeof _b0!="undefined"){
if(typeof (_b0["onComplete"])!="undefined"&&_b0["onComplete"]!=null){
try{
_b0["onComplete"].apply(this,_b1);
}
catch(e){
_b0["onComplete"].call();
}
}
if(typeof (_b0["onSuccess"])=="undefined"||_b0["onSuccess"]==null){
_b0["onSuccess"]=new function(){
return true;
};
}
if(typeof (_b0["onFailure"])=="undefined"||_b0["onFailure"]==null){
_b0["onFailure"]=new function(){
return false;
};
}
}
try{
(_b1.status==200)?_b0["onSuccess"].call(this,_b1):_b0["onFailure"].call(this,_b1);
}
catch(e){
}
}
};
var _b2=null;
if(_b0!=null&&typeof _b0!="undefined"){
_b2=_b0.method;
}
_b2=_b2!=null?_b2:"POST";
_b1.open(_b2,url,true);
var _b3=typeof _b0=="undefined"||_b0==null||typeof _b0.parameters=="undefined"?null:Ajax.getParams(_b0.parameters,_b1);
_b1.send(_b3);
},Updater:function(_b4,url,_b6){
if(_b6!=null&&typeof _b6!="undefined"){
if(typeof (_b6["onBeforeAjax"])!="undefined"){
_b6["onBeforeAjax"].call(this,_b7);
}
}
var _b7=getXMLHTTPObject();
_b7.onreadystatechange=function(){
if(_b7.readyState==4){
try{
if(_b7.status==200){
$(_b4).innerHTML=_b7.responseText;
if(typeof (_b6["onSuccess"])!="undefined"&&_b6["onSuccess"]!=null){
_b6["onSuccess"].call(this,_b7);
}
if(typeof (_b6["onFailure"])!="undefined"&&_b6["onFailure"]!=null){
_b6["onFailure"].call(this,_b7);
}
}
}
catch(e){
}
if(_b6!=null&&typeof _b6!="undefined"){
if(typeof (_b6["onComplete"])!="undefined"&&_b6["onComplete"]!=null){
_b6["onComplete"].apply(this,this.xmlHttp);
}
}
return true;
}
};
var _b8=null;
if(_b6!=null&&typeof _b6!="undefined"){
_b8=_b6.method;
}
_b8=_b8!=null?_b8:"POST";
_b7.open(_b8,url,true);
var _b9=typeof _b6=="undefined"||_b6==null||typeof _b6.parameters=="undefined"?null:Ajax.getParams(_b6.parameters,_b7);
_b7.send(_b9);
}};
Object.extend=function(_ba,_bb){
for(var _bc in _bb){
_ba[_bc]=_bb[_bc];
}
return _ba;
};
Object.extend(Object,{isString:function(_bd){
return typeof _bd=="string";
}});
var Form={reset:function(_be){
$(_be).reset();
return _be;
},serialize:function(_bf){
if(typeof _bf=="string"){
_bf=$(_bf);
}
var _c0=_bf.elements;
var _c1="";
for(var _c2=0,_c3;_c3=_c0[_c2];_c2++){
if(_c3.name==null||_c3.name==""){
continue;
}
if((_c3.type=="radio"||_c3.type=="checkbox")&&(!_c3.checked)){
continue;
}
if(_c1!=""){
_c1+="&";
}
_c1+=_c3.name+"="+encodeURIComponent(_c3.value);
}
return _c1;
}};
}
function getEducationLevel(id,Edu,_c6,_c7){
var _c8=$(id);
_c6=!_c6?false:_c6;
if(createEduDropDown(EduList["2"],_c8,_c6,Edu,_c7)){
}
}
function getCitiesForCountry(_c9,_ca,_cb,_cc){
if((typeof (_cb)!="undefined")&&(trim(_cb)!="")){
var _cd=$("cities"+_cb);
var _ce=$("country"+_cb).value;
}else{
_cb="";
var _cd=$("cities");
var _ce=$("country").value;
}
if(typeof (_c9)=="undefined"){
_c9=_cd.value;
}
_ca=!_ca?false:_ca;
_cc=_cc=="undefined"?true:_cc;
var _cf=_cd.getAttribute("unrestricted");
if(_cf!==null){
var _d0=unRestrictedCityList[_ce];
}else{
var _d0=cityList[_ce];
}
if(createCityDropDown(_d0,_cd,_ca,_cc)){
if(_c9==""){
_c9=_cd.value;
}
selectComboBox(_cd,_c9);
checkCity(_cd,"checkInstitute",_c9,_cb);
}
}
function createEduDropDown(_d1,_d2,_d3,Edu,_d5){
var _d6=0;
if(_d1){
_d6=_d6.length;
}
_d2.innerHTML="";
var _d7=document.createElement("option");
_d7.value="";
if((_d3==true)||(_d3==1)){
_d7.innerHTML="Select";
_d7.title="Select";
}
_d2.appendChild(_d7);
if(_d5=="reqInfo"){
_d7=document.createElement("option");
_d7.innerHTML="School Student";
_d7.title="School";
_d7.value="School";
_d2.appendChild(_d7);
}
var i=0;
for(var Edu in _d1){
_d7=document.createElement("option");
_d7.value=Edu;
_d7.innerHTML=getSmString(_d1[Edu],30);
_d7.title=_d1[Edu];
_d2.appendChild(_d7);
i++;
}
var _d9="";
if(Edu!=""){
var _d7=document.createElement("option");
_d7.value="Other";
_d7.innerHTML="Other";
_d7.title="Other";
_d2.appendChild(_d7);
_d9=$(Edu);
}
_d2.style.display="inline";
return true;
}
function checkInstitute(_da,_db,_dc){
var _dd="courses";
if((typeof (_dc)!="undefined")&&(trim(_dc)!="")){
_dd="courses"+_dc;
}
if(!_da){
return false;
}
var _de=$(_da.id+"_other");
if(_da.value=="-1"){
showElement(_de);
}else{
hideElement(_de);
}
getCoursesForInstitute(_dc);
if((typeof (_db)!="undefined")&&(_db!="")){
if(_da){
eval(_db+"(\""+_da.value+"\",\""+_dd+"\")");
}else{
eval(_db+"("+_da.value+")");
}
}
}
function getInstitutesForCity(_df){
var _e0="colleges";
var _e1="cities";
if((typeof (_df)!="undefined")&&(trim(_df)!="")){
_e0="colleges"+_df;
_e1="cities"+_df;
}
if($(_e0)){
var _e2=$(_e0);
var _e3=$(_e1).value;
var _e4=getXMLHTTPObject();
_e4.onreadystatechange=function(){
if(_e4.readyState==4){
var _e5=eval("eval("+_e4.responseText+")");
if(createInstituteDropDown(_e5,_e2)){
checkInstitute(_e2,"updateInstitutes",_df);
}else{
checkInstitute(_e2,"updateInstitutes",_df);
}
}
};
if(_e3==""){
return false;
}
var url="/rating/Rating/getInstitutesForCity/1/"+_e3+"/"+randNum();
_e4.open("POST",url,true);
_e4.setRequestHeader("Content-length",0);
_e4.setRequestHeader("Connection","close");
_e4.send(null);
}
}
function checkCity(_e7,_e8,_e9,_ea){
var _eb="country";
var _ec;
if((typeof (_ea)!="undefined")&&(trim(_ea)!="")){
_eb="country"+_ea;
}
var _ed=$(_e7.id+"_other");
if(_ed){
_ed.value="";
if(_e7.value==-1){
showElement(_ed);
_ec=_ed.value;
}else{
hideElement(_ed);
_ec=_e7[_e7.selectedIndex].text;
}
}else{
_ec=_e7[_e7.selectedIndex].text;
}
if(_e9==""){
_e9=_e7.value;
}
if((typeof (_e9)!="undefined")&&(_e9!="")){
createLocationCrumb($(_eb),_ec,_e9,_e7);
}
getInstitutesForCity(_ea);
if(typeof (_e8)!="undefined"&&_e8!=""){
var _ee=_e8+"("+_e7.value+")";
eval(_ee);
}
}
function selectComboBox(_ef,_f0){
try{
for(var i=0;i<_ef.options.length;i++){
_ef.options[i].removeAttribute("selected");
if(_ef.options[i].value==_f0){
_ef.options[i].setAttribute("selected",true);
_ef.options[i].selected=true;
}
}
}
catch(e){
}
return true;
}
function getSmString(str,len){
if(str.length>len){
return str.substring(0,len-3)+"...";
}else{
return str;
}
}
function createCityDropDown(_f4,_f5,_f6,_f7){
var _f8=0;
if(_f4){
_f8=_f4.length;
}
_f5.innerHTML="";
var _f9=document.createElement("option");
_f9.value="";
if((_f6==true)||(_f6==1)){
_f9.innerHTML="All Cities";
_f9.title="All Cities";
}else{
_f9.innerHTML="Select City";
_f9.title="Select City";
}
_f5.appendChild(_f9);
for(var _fa in _f4){
_f9=document.createElement("option");
_f9.value=_fa;
_f9.innerHTML=getSmString(_f4[_fa],30);
_f9.title=_f4[_fa];
_f5.appendChild(_f9);
}
if(!_f6&&_f7==true){
var _f9=document.createElement("option");
_f9.value=-1;
_f9.innerHTML="Other";
_f9.title="Other";
_f5.appendChild(_f9);
}
var _fb=$(_f5.id+"_other");
if(_f8===0){
_f5.style.display="none";
if(_fb){
_fb.style.display="inline";
}
updateInstitutes(-1,_f5.id);
return false;
}else{
_f5.style.display="inline";
if(_fb){
_fb.style.display="none";
}
return true;
}
}
function checkViewDDs(_fc){
if($("countOffset_DD1")){
if(parseInt($("countOffset_DD1").options[0].value)>=_fc){
if($("countOffset_DD1")){
$("countOffset_DD1").parentNode.style.display="none";
}
if($("countOffset_DD2")){
$("countOffset_DD2").parentNode.style.display="none";
}
}else{
if($("countOffset_DD1")){
$("countOffset_DD1").parentNode.style.display="inline";
}
if($("countOffset_DD2")){
$("countOffset_DD2").parentNode.style.display="inline";
}
}
}
}
function doPagination(_fd,_fe,_ff,_100,_101,_102,_103){
checkViewDDs(_fd);
if(!_103){
_103=10;
}
_fe=typeof (_fe)!="undefined"?_fe:"startOffSet";
_ff=typeof (_ff)!="undefined"?_ff:"countOffset";
count=_ff;
_100=typeof (_100)!="undefined"?_100:"paginataionPlace1";
_101=typeof (_101)!="undefined"?_101:"paginataionPlace2";
_102=typeof (_102)!="undefined"?_102:"methodName";
_ff=parseInt($(_ff).value);
if(_ff<1){
_ff=15;
}
var _104=parseInt($(_fe).value);
var _105=getPaginationHtml(_fd,_fe,_ff,_104,_102,_103);
if($(_100)){
$(_100).innerHTML=_105;
}
if($(_101)){
$(_101).innerHTML=_105;
}
}
function getPageNumbers(_106,_107,_108,_109,_10a){
var _10b="";
var _10c=_106>=_108/2?(_106-Math.floor(_108/2)):0;
if(_10c+_108>_107){
_10c=(_107-_108);
}
if(_10c<0){
_10c=0;
}
for(;0<_108;_108--,_10c++){
if(_107<_10c+1){
break;
}
if(_106==_10c){
_10b+="<a href=\"#\" class=\"show\" onclick=\"return false;\">"+(_10c+1)+"</a> ";
}else{
_10b+="<a href=\"#\" onClick=\"return updateStartOffset("+(_10c)+",'"+_109+"','"+count+"','"+_10a+"')\">"+(_10c+1)+"</a> ";
}
}
return _10b;
}
function getPaginationHtml(_10d,_10e,_10f,_110,_111,_112){
var _113="";
var _114=Math.ceil(_10d/_10f);
var _115=Math.ceil(_110/_10f);
var _116="<span id=\"pageNumbers\">";
_116+=getPageNumbers(_115,_114,_112,_10e,_111);
_116+="</span>";
if(_114<1){
}else{
if(_114==1){
}else{
_113+="<span class=\"normaltxt_11p_blk fontSize_12p\"> &nbsp;</span>";
if(_115==0){
}else{
_113+="<a href=\"#\" onClick=\"return updateStartOffset("+(parseInt(_115)-1)+",'"+_10e+"','"+count+"','"+_111+"')\">Prev</a>";
}
_113+=_116;
if(_115==_114-1){
}else{
_113+="<a href=\"#\" onClick=\"return updateStartOffset("+(parseInt(_115)+1)+",'"+_10e+"','"+count+"','"+_111+"')\">Next</a>";
}
}
}
return _113;
}
function updateStartOffset(_117,_118,_119,_11a,_11b){
_11b=(typeof (_11b)=="undefined")?true:_11b;
setStartOffset(_117,_118,_119);
if(_11b){
changePage(_11a);
}
return false;
}
function setStartOffset(_11c,_11d,_11e){
_11d=typeof (_11d)!="undefined"?_11d:"startOffSet";
_11e=typeof (_11e)!="undefined"?_11e:"countOffset";
$(_11d).value=(parseInt(_11c)*parseInt($(_11e).value));
}
function updateCountOffset(_11f,_120,_121,_122,_123){
_120=(typeof (_120)=="undefined")?"startOffSet":_120;
_121=(typeof (_121)=="undefined")?"countOffset":_121;
_123=(typeof (_123)=="undefined")?true:_123;
var _124=parseInt($(_121).value);
var _125=parseInt($(_120).value);
$(_121).value=_11f.value;
selectComboBox($("countOffset_DD1"),_11f.value);
selectComboBox($("countOffset_DD2"),_11f.value);
if(_125==0||_125<_11f.value){
updateStartOffset(0,_120,_121,_122,_123);
}else{
updateStartOffset(Math.floor(_125/_11f.value),_120,_121,_122,_123);
}
}
function changePage(_126){
var _126=typeof (_126)!="undefined"?_126:"methodName";
var _127=$(_126).value;
window[_127]();
}
function updatePaginationMethodName(_128,_129){
_129=typeof (_129)!="undefined"?_129:"methodName";
$(_129).value=_128;
}
var hexcase=0;
var b64pad="";
var chrsz=8;
function hex_md5(s){
return binl2hex(core_md5(str2binl(s),s.length*chrsz));
}
function binl2hex(_4c){
var _4d=hexcase?"0123456789ABCDEF":"0123456789abcdef";
var str="";
for(var i=0;i<_4c.length*4;i++){
str+=_4d.charAt((_4c[i>>2]>>((i%4)*8+4))&15)+_4d.charAt((_4c[i>>2]>>((i%4)*8))&15);
}
return str;
}
function core_md5(x,_b){
x[_b>>5]|=128<<((_b)%32);
x[(((_b+64)>>>9)<<4)+14]=_b;
var a=1732584193;
var b=-271733879;
var c=-1732584194;
var d=271733878;
for(var i=0;i<x.length;i+=16){
var _11=a;
var _12=b;
var _13=c;
var _14=d;
a=md5_ff(a,b,c,d,x[i+0],7,-680876936);
d=md5_ff(d,a,b,c,x[i+1],12,-389564586);
c=md5_ff(c,d,a,b,x[i+2],17,606105819);
b=md5_ff(b,c,d,a,x[i+3],22,-1044525330);
a=md5_ff(a,b,c,d,x[i+4],7,-176418897);
d=md5_ff(d,a,b,c,x[i+5],12,1200080426);
c=md5_ff(c,d,a,b,x[i+6],17,-1473231341);
b=md5_ff(b,c,d,a,x[i+7],22,-45705983);
a=md5_ff(a,b,c,d,x[i+8],7,1770035416);
d=md5_ff(d,a,b,c,x[i+9],12,-1958414417);
c=md5_ff(c,d,a,b,x[i+10],17,-42063);
b=md5_ff(b,c,d,a,x[i+11],22,-1990404162);
a=md5_ff(a,b,c,d,x[i+12],7,1804603682);
d=md5_ff(d,a,b,c,x[i+13],12,-40341101);
c=md5_ff(c,d,a,b,x[i+14],17,-1502002290);
b=md5_ff(b,c,d,a,x[i+15],22,1236535329);
a=md5_gg(a,b,c,d,x[i+1],5,-165796510);
d=md5_gg(d,a,b,c,x[i+6],9,-1069501632);
c=md5_gg(c,d,a,b,x[i+11],14,643717713);
b=md5_gg(b,c,d,a,x[i+0],20,-373897302);
a=md5_gg(a,b,c,d,x[i+5],5,-701558691);
d=md5_gg(d,a,b,c,x[i+10],9,38016083);
c=md5_gg(c,d,a,b,x[i+15],14,-660478335);
b=md5_gg(b,c,d,a,x[i+4],20,-405537848);
a=md5_gg(a,b,c,d,x[i+9],5,568446438);
d=md5_gg(d,a,b,c,x[i+14],9,-1019803690);
c=md5_gg(c,d,a,b,x[i+3],14,-187363961);
b=md5_gg(b,c,d,a,x[i+8],20,1163531501);
a=md5_gg(a,b,c,d,x[i+13],5,-1444681467);
d=md5_gg(d,a,b,c,x[i+2],9,-51403784);
c=md5_gg(c,d,a,b,x[i+7],14,1735328473);
b=md5_gg(b,c,d,a,x[i+12],20,-1926607734);
a=md5_hh(a,b,c,d,x[i+5],4,-378558);
d=md5_hh(d,a,b,c,x[i+8],11,-2022574463);
c=md5_hh(c,d,a,b,x[i+11],16,1839030562);
b=md5_hh(b,c,d,a,x[i+14],23,-35309556);
a=md5_hh(a,b,c,d,x[i+1],4,-1530992060);
d=md5_hh(d,a,b,c,x[i+4],11,1272893353);
c=md5_hh(c,d,a,b,x[i+7],16,-155497632);
b=md5_hh(b,c,d,a,x[i+10],23,-1094730640);
a=md5_hh(a,b,c,d,x[i+13],4,681279174);
d=md5_hh(d,a,b,c,x[i+0],11,-358537222);
c=md5_hh(c,d,a,b,x[i+3],16,-722521979);
b=md5_hh(b,c,d,a,x[i+6],23,76029189);
a=md5_hh(a,b,c,d,x[i+9],4,-640364487);
d=md5_hh(d,a,b,c,x[i+12],11,-421815835);
c=md5_hh(c,d,a,b,x[i+15],16,530742520);
b=md5_hh(b,c,d,a,x[i+2],23,-995338651);
a=md5_ii(a,b,c,d,x[i+0],6,-198630844);
d=md5_ii(d,a,b,c,x[i+7],10,1126891415);
c=md5_ii(c,d,a,b,x[i+14],15,-1416354905);
b=md5_ii(b,c,d,a,x[i+5],21,-57434055);
a=md5_ii(a,b,c,d,x[i+12],6,1700485571);
d=md5_ii(d,a,b,c,x[i+3],10,-1894986606);
c=md5_ii(c,d,a,b,x[i+10],15,-1051523);
b=md5_ii(b,c,d,a,x[i+1],21,-2054922799);
a=md5_ii(a,b,c,d,x[i+8],6,1873313359);
d=md5_ii(d,a,b,c,x[i+15],10,-30611744);
c=md5_ii(c,d,a,b,x[i+6],15,-1560198380);
b=md5_ii(b,c,d,a,x[i+13],21,1309151649);
a=md5_ii(a,b,c,d,x[i+4],6,-145523070);
d=md5_ii(d,a,b,c,x[i+11],10,-1120210379);
c=md5_ii(c,d,a,b,x[i+2],15,718787259);
b=md5_ii(b,c,d,a,x[i+9],21,-343485551);
a=safe_add(a,_11);
b=safe_add(b,_12);
c=safe_add(c,_13);
d=safe_add(d,_14);
}
return Array(a,b,c,d);
}
function md5_cmn(q,a,b,x,s,t){
return safe_add(bit_rol(safe_add(safe_add(a,q),safe_add(x,t)),s),b);
}
function md5_ff(a,b,c,d,x,s,t){
return md5_cmn((b&c)|((~b)&d),a,b,x,s,t);
}
function md5_gg(a,b,c,d,x,s,t){
return md5_cmn((b&d)|(c&(~d)),a,b,x,s,t);
}
function md5_hh(a,b,c,d,x,s,t){
return md5_cmn(b^c^d,a,b,x,s,t);
}
function md5_ii(a,b,c,d,x,s,t){
return md5_cmn(c^(b|(~d)),a,b,x,s,t);
}
function core_hmac_md5(key,_38){
var _39=str2binl(key);
if(_39.length>16){
_39=core_md5(_39,key.length*chrsz);
}
var _3a=Array(16),_3b=Array(16);
for(var i=0;i<16;i++){
_3a[i]=_39[i]^909522486;
_3b[i]=_39[i]^1549556828;
}
var _3d=core_md5(_3a.concat(str2binl(_38)),512+_38.length*chrsz);
return core_md5(_3b.concat(_3d),512+128);
}
function safe_add(x,y){
var lsw=(x&65535)+(y&65535);
var msw=(x>>16)+(y>>16)+(lsw>>16);
return (msw<<16)|(lsw&65535);
}
function bit_rol(num,cnt){
return (num<<cnt)|(num>>>(32-cnt));
}
function str2binl(str){
var bin=Array();
var _46=(1<<chrsz)-1;
for(var i=0;i<str.length*chrsz;i+=chrsz){
bin[i>>5]|=(str.charCodeAt(i/chrsz)&_46)<<(i%32);
}
return bin;
}
function binl2str(bin){
var str="";
var _4a=(1<<chrsz)-1;
for(var i=0;i<bin.length*32;i+=chrsz){
str+=String.fromCharCode((bin[i>>5]>>>(i%32))&_4a);
}
return str;
}
function binl2hex(_4c){
var _4d=hexcase?"0123456789ABCDEF":"0123456789abcdef";
var str="";
for(var i=0;i<_4c.length*4;i++){
str+=_4d.charAt((_4c[i>>2]>>((i%4)*8+4))&15)+_4d.charAt((_4c[i>>2]>>((i%4)*8))&15);
}
return str;
}
function binl2b64(_50){
var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var str="";
for(var i=0;i<_50.length*4;i+=3){
var _54=(((_50[i>>2]>>8*(i%4))&255)<<16)|(((_50[i+1>>2]>>8*((i+1)%4))&255)<<8)|((_50[i+2>>2]>>8*((i+2)%4))&255);
for(var j=0;j<4;j++){
if(i*8+j*6>_50.length*32){
str+=b64pad;
}else{
str+=tab.charAt((_54>>6*(3-j))&63);
}
}
}
return str;
}
function setSearchTypeGSP(type){
$("tempSearchType").value=type;
var _17c=$("tempkeyword");
var _17d=$("tempKeywordHolder");
var _17e=$("tempLocationHolder");
if(_17d.getAttribute("origWidth")==null||_17d.getAttribute("origWidth")==""){
_17d.setAttribute("origWidth",_17d.offsetWidth);
}
if(_17e.getAttribute("origWidth")==null||_17e.getAttribute("origWidth")==""){
_17e.setAttribute("origWidth",_17e.offsetWidth);
}
switch(type){
case "question":
_17c.value="Enter Keywords";
_17c.setAttribute("default","Enter Keywords");
_17d.style.width=parseInt(_17d.getAttribute("origWidth"))+parseInt(_17e.getAttribute("origWidth"))+"px";
_17e.style.display="none";
break;
case "blog":
_17c.value="Enter Keywords";
_17c.setAttribute("default","Enter Keywords");
_17d.style.width=parseInt(_17d.getAttribute("origWidth"))+parseInt(_17e.getAttribute("origWidth"))+"px";
_17e.style.display="none";
break;
case "course":
_17c.value="Enter Institute or Course Name";
_17c.setAttribute("default","Enter Institute or Course Name");
_17d.style.width=_17d.getAttribute("origWidth")+"px";
_17e.style.display="";
break;
}
return true;
}
function sendMailtoUser1(_17f){
hideOverlay();
showOverlay(335,400,"Sign In",$("usershortLoginOverlay").innerHTML,false,parseInt(document.body.offsetWidth)/2-167,150);
$("usershortLoginOverlay").innerHTML="";
overlayParent=$("usershortLoginOverlay");
$("genOverlayContents").style.background="#FFF";
$("genOverlayHolderDiv").style.background="#E4F0FF";
$("overlayShadow2").className="";
$("overlayTitle").innerHTML=" Forgot Password";
$("overlayShadow3").className="";
$("overlayContainer4").className="";
$("rememberme_marketing").style.display="none";
var _180=$("username_marketing").value;
$("password_marketing").style.display="none";
$("pass").style.display="none";
$("forgetPasswdM").style.display="none";
$("sendRequest").innerHTML="<div style=\"margin-left:88px\"><input id=\"forgotPasswordSubmitBtn\" type=\"submit\" onclick ='return sendForgotPasswordMail(\""+_180+"\",\"_marketing\")' value=\"Submit\" class=\"continueBtn\" style=\"border:0 none\" /><span style=\"margin-left:15px;\" class=\"normaltxt_11p_blk_arial mar_right_20p\"><a href=\"javascript:void(0);\" id = \"forgetPasswdM\"  onClick = \"return oristate1(this.form)\";>Login</a></span></div><div class=\"clear_L\">&nbsp;</div>";
$("HeaderforOverlay").innerHTML="Forgot Password";
$("username_marketing_error").innerHTML="";
return false;
}
function oristate1(){
hideOverlay();
showOverlay(335,400,"Sign In",$("usershortLoginOverlay").innerHTML,false,parseInt(document.body.offsetWidth)/2-167,150);
$("usershortLoginOverlay").innerHTML="";
overlayParent=$("usershortLoginOverlay");
$("genOverlayContents").style.background="#FFF";
$("genOverlayHolderDiv").style.background="#E4F0FF";
$("overlayShadow1").className="";
$("overlayShadow2").className="";
$("overlayShadow3").className="";
$("overlayContainer4").className="";
$("password_marketing").style.display="block";
$("pass").style.display="block";
$("forgetPasswdM").style.display="";
$("overlayTitle").innerHTML=" Sign In";
$("rememberme_marketing").style.display="";
$("sendRequest").innerHTML="<div class=\"float_L txt_align_r\" style=\"width:70px\">&nbsp;</div><div style=\"margin-left:91px\"><input type=\"submit\" onclick =\"return isBlank(this.form,'_marketing');\" value=\"Login\" class=\"continueBtn\" style=\"border:0  none\" /><span style=\"display:block;line-height:26px\"><a href=\"javascript:void(0);\" id = \"forgetPasswdM\"  onClick = \"return sendMailtoUser1(this.form)\";>Forgot Password</a></span></div><div class=\"clear_L\">";
$("username_marketing_error").parentNode.style.display="none";
$("username_marketing_error").innerHTML="";
$("password_marketing_error").innerHTML="";
$("username_marketing").focus();
return false;
}
function showMessagesInline1(_181,_182){
document.getElementById(_181).style.display="";
document.getElementById(_181).innerHTML=_182;
}
function senduserResponse(){
if(getCookie("userresponse")!=""){
var _183=getCookie("userresponse").split("|");
var key=_183[0];
var _185=_183[1];
var ans="";
if(_185=="unsubscribe"){
ans=confirm("You would not be allowed to login to shiksha.com once you have unsubscribed.Are you sure you want to unsubscribe from shiksha.com ?");
}
if(ans==true||_185=="verify"){
sendResponse(key,_185);
}else{
window.setTimeout(function(){
window.location="http://<?php echo SHIKSHACLIENTIP?>";
},1000);
}
deleteCookie("userresponse");
}
}
function sendResponse(key,flag){
var _189=getXMLHTTPObject();
_189.onreadystatechange=function(){
if(_189.readyState==4){
if(_189.responseText!=""){
var msg="";
var _18b=_189.responseText;
var _18c=_18b.split("|");
if(_18c[0]=="deleted"||_18c[1]=="invalid"){
if(_18c[0]=="deleted"){
msg="Sorry ! You are no longer a valid shiksha.com user. ";
}
if(_18c[1]=="invalid"){
msg="Sorry ! The url is not valid. Please click on the link sent in the mailer to update your status ";
}
if(_18c[0]=="different"||_18c[0]=="deleted"){
if(getCookie("user")!=""){
deleteCookie("user");
}
}
}else{
if(flag=="verify"){
if(_18c[1]=="already"){
msg="You have already verified this email address.Kindly add info@shiksha.com to your email account address book so that you never miss on any communication from shiksha.com.";
}else{
msg="Thank you. Your e-mail address is successfully verified with us.Kindly add info@shiksha.com to your email account address book so that you never miss on any communication from shiksha.com.";
}
if(getCookie("user")!=""&&_18c[0]=="same"){
var _18d=getCookie("user").split("|");
var _18e=_18d[0]+"|"+_18d[1]+"|verified";
setCookie("user",_18e);
}
}else{
if(_18c[1]=="already"){
msg="You have already unsubscribed for this email address.";
}else{
msg="You have successfully unsubscribed from shiksha.com.You would not be allowed to login to shiksha.com.";
}
}
if(getCookie("user")!=""&&(_18c[0]=="different"||flag=="unsubscribe")){
deleteCookie("user");
}
}
showMessagesInline1("logindiv",msg);
document.getElementById("loginCommunication").style.display="";
window.setTimeout(function(){
window.location="http://<?php echo SHIKSHACLIENTIP?>";
},1000);
}
}
};
var url="/user/Userregistration/senduserResponse/"+key+"/"+flag;
_189.open("POST",url,true);
_189.setRequestHeader("Content-length",0);
_189.setRequestHeader("Connection","close");
_189.send(null);
}
function deleteCookie(name){
var path="/";
var _192="";
if(getCookie(name)){
document.cookie=name+"="+((path)?";path="+path:"")+((_192)?";domain="+_192:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}
}
var arrayHelpText=eval("eval("+"{\"askanswer\":{\"keywordInput\":\"Enter Keywords\",\"keyword\":\"E.g. Which institute is the best for MBA, IILM, MTECH or MCA etc. \",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"importantdates\":{\"keywordInput\":\"Enter Keywords\",\"keyword\":\"Eg. MBA Tour, CAT admission etc.\",\"locationInput\":\"Enter Location\",\"location\":\"Eg. Australia, Karnataka or Delhi\"},\"entireshiksha\":{\"keywordInput\":\"Enter Keyword\",\"keyword\":\"E.g. MBA, Engineering, XLRI, BBA etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"0\":{\"keywordInput\":\"Enter Keyword\",\"keyword\":\"E.g. MBA, Engineering, XLRI, BBA etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"all\":{\"keywordInput\":\"Enter Keyword\",\"keyword\":\"E.g. MBA, Engineering, XLRI, BBA etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"courses\":{\"keywordInput\":\"Enter Course Name\",\"keyword\":\"E.g. MBA, BTECH, Software Engineering, Animation etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"institutescourses\":{\"keywordInput\":\"Enter Institute or Course Name\",\"keyword\":\"E.g. MBA,MCA,BBA,Animation,IIM,IIPM etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"institutes\":{\"keywordInput\":\"Enter Institute Name\",\"keyword\":\"E.g. IIM, Amity, MAAC, JNU etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"articles\":{\"keywordInput\":\"Enter Keywords\",\"keyword\":\"E.g. MBA , Study Abroad, IILM, MCA etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"},\"scholarships\":{\"keywordInput\":\"Enter Keywords\",\"keyword\":\"E.g. MBA , Study Abroad, IILM, MBA or MCA etc.\",\"locationInput\":\"Enter Location\",\"location\":\"E.g. Delhi, Pune, Canada etc.\"}}"+")");

//registra.js
function validateForm(_1){
if($("countryofeducation_other").style.display!="none"&&trim($("countryofeducation_other").value)=="Enter the country"){
$("countryofeducation_other").value="";
}
if($("citiesofeducation_other").style.display!="none"&&trim($("citiesofeducation_other").value)=="Enter the city"){
$("citiesofeducation_other").value="";
}
if(!isRequestUser){
if($("countryofresidence_other").style.display!="none"&&trim($("countryofresidence_other").value)=="Enter the country"){
$("countryofresidence_other").value="";
}
if($("citiesofresidence_other").style.display!="none"&&trim($("citiesofresidence_other").value)=="Enter the city"){
$("citiesofresidence_other").value="";
}
}
var _2=true;
var _3=validateFields(_1);
var _4=validateGender("Male","Female","gender_error");
if(_3!=true||_4!=true){
_2=false;
}
if(!(isQuickSignUpUser||isRequestUser)&&$("passwordr")&&$("confirmpassword")){
if($("passwordr").value!=$("confirmpassword").value){
$("confirmpassword_error").parentNode.style.display="inline";
$("confirmpassword_error").innerHTML="Password & Confirm Password do not match";
_2=false;
}else{
if(trim($("passwordr").value!="")){
$("confirmpassword_error").parentNode.style.display="none";
$("confirmpassword_error").innerHTML="";
}
}
}
if($("School").checked==false&&$("College").checked==false&&$("Work").checked==false){
$("youare").parentNode.style.display="inline";
$("youare").innerHTML="Please mention your status";
_2=false;
}else{
$("youare").parentNode.style.display="none";
$("youare").innerHTML="";
}
if(($("landlineext").value==""||$("landlineno").value=="")&&$("mobile").value==""){
$("landlineext_error").parentNode.style.display="inline";
$("landlineext_error").innerHTML="Either enter your mobile number or landline number";
_2=false;
}else{
$("landlineext_error").parentNode.style.display="none";
$("landlineext_error").innerHTML="";
}
if($("agree").checked!=true){
$("agree_error").parentNode.style.display="inline";
$("agree_error").innerHTML="Please accept the terms and conditions to proceed";
_2=false;
}else{
$("agree_error").innerHTML="";
}
if(_2==false){
$("Register_error").innerHTML="Please correct the errors marked in red to proceed."+"<img src=\"/public/images/alert_icon.gif\"/>";
$("Register_error").parentNode.style.display="inline";
Yaxis=obtainPostitionY($("Register_error"));
Xaxis=obtainPostitionX($("Register_error"));
window.scrollTo(Xaxis,Yaxis);
}
return _2;
}
function validateUser(_5){
$("refererreg").value=location.href;
$("resolutionreg").value=screen.width+"X"+screen.height;
validationResponse=validateForm(_5);
var _6=true;
if(validationResponse!==true){
_6=false;
return _6;
}
if($("securityCode").value==""){
$("securityCode_error").parentNode.style.display="inline";
$("securityCode_error").innerHTML="Please enter the Security Code as shown in the image.";
_6=false;
return _6;
}else{
return validateCaptcha(_5);
}
}
function populateColleges(){
var _7=$("citiesofeducation").options[$("citiesofeducation").selectedIndex];
cityName=_7.innerHTML;
_7=_7.value;
_7=_7.replace("/","shiksha123");
if(_7!=""){
if($("School").checked){
var _8=2;
}else{
var _8=1;
}
var _9=document.body.offsetWidth/2-150;
var _a=screen.height/2-200;
var h=document.documentElement.scrollTop;
_a=_a+h;
$("RegistrationOverlay").style.left=_9+"px";
$("RegistrationOverlay").style.top=_a+"px";
if(_7!="-1"){
$("dim_bg").style.height=document.body.offsetHeight+"px";
$("dim_bg").style.display="inline";
$("RegistrationOverlay").style.display="";
$("responseforadd1").style.display="";
if(_8==1){
$("responseforadd1").innerHTML="<div style=\"width:100%\" align=\"center\"><img src=\"/public/images/ajax-loader.gif\" /></div><div>Loading institutes for city "+cityName+"</div>";
}else{
$("responseforadd1").innerHTML="<div style=\"width:100%\" align=\"center\"><img src=\"/public/images/ajax-loader.gif\" /></div><div>Loading schools for city "+cityName+"</div>";
}
overlayHackLayerForIE("RegistrationOverlay",document.body);
}
var _c=getXMLHTTPObject();
_c.onreadystatechange=function(){
if(_c.readyState==4){
if(trim(_c.responseText)!=""){
var _d=eval("eval("+_c.responseText+")");
var _e=_d.results;
if(_e!=0){
$("otherinstitute").style.display="none";
$("otherinstitute").value="";
$("schoolCombo").style.display="inline";
$("schoolCombo").innerHTML="";
var _f="";
var _f=document.createElement("option");
_f.value="";
_f.innerHTML="Select";
$("schoolCombo").appendChild(_f);
for(i=0;i<_e.length;i++){
var _f=document.createElement("option");
_f.value=_e[i].collegeId;
_f.title=_e[i].collegeName;
_f.innerHTML=_e[i].collegeName;
$("schoolCombo").appendChild(_f);
}
var _f=document.createElement("option");
_f.value="Other";
_f.innerHTML="Other";
$("schoolCombo").appendChild(_f);
}else{
$("otherinstitute").style.display="inline";
$("schoolCombo").style.display="none";
}
}
$("dim_bg").style.display="none";
$("RegistrationOverlay").style.display="none";
dissolveOverlayHackForIE();
}
};
url=SITE_URL_HTTPS+"user/Userregistration/populatecolleges"+"/"+_7+"/"+_8;
_c.open("POST",url,true);
_c.send(null);
}
}
function checkSchool(){
if($("schoolCombo").options[$("schoolCombo").selectedIndex].value=="Other"){
$("otherinstitute").style.display="inline";
}else{
$("otherinstitute").style.display="none";
$("otherinstitute").value="";
}
}
function checkcity(_10,_11){
if($(_10).options[$(_10).selectedIndex].value=="-1"){
$(_11).style.display="inline";
if(_10=="citiesofeducation"){
$("otherinstitute").style.display="inline";
$("schoolCombo").style.display="none";
}
$(_10+"_error").parentNode.style.display="none";
$(_10+"_error").innerHTML="";
hidetip();
}else{
if($(_10).options[$(_10).selectedIndex].value==""){
if(_10=="citiesofeducation"){
$("otherinstitute_error").parentNode.style.display="none";
$("otherinstitute_error").innerHTML="";
$("otherinstitute").style.display="none";
$("schoolCombo").innerHTML="";
var _12=document.createElement("option");
_12.value="";
_12.innerHTML="Select";
$("schoolCombo").appendChild(_12);
$("schoolCombo").style.display="";
}
$(_10+"_other_error").parentNode.style.display="none";
$(_10+"_other_error").innerHTML="";
$(_11).style.display="none";
}else{
$(_11).style.display="none";
if(_10=="citiesofeducation"){
populateColleges();
$("otherinstitute_error").parentNode.style.display="none";
$("otherinstitute_error").innerHTML="";
}
}
}
$("schoolCombo_error").innerHTML="";
$("schoolCombo_error").parentNode.style.display="none";
}
function checkInsti(){
if($("schoolCombo").options[$("schoolCombo").selectedIndex].value=="Other"){
$("otherinstitute").style.display="inline";
hidetip();
}else{
$("otherinstitute_error").parentNode.style.display="none";
$("otherinstitute_error").innerHTML="";
$("otherinstitute").style.display="none";
$("otherinstitute").value="";
}
}
function checkcityselected(){
if($("School").checked==true){
var _13="schools";
}else{
var _13="colleges";
}
if($("citiesofeducation").value==""){
$("schoolCombo_error").innerHTML="Please select a city to populate "+_13;
$("schoolCombo_error").parentNode.style.display="inline";
}else{
$("schoolCombo_error").innerHTML="";
$("schoolCombo_error").parentNode.style.display="none";
}
}
function checkCountry(_14,_15,_16,_17){
	alert("hello world");
if($(_14).options[$(_14).selectedIndex].value=="Other"){
$(_16).style.display="inline";
$(_15).style.display="none";
$(_17).style.display="inline";
$("otherinstitute").style.display="inline";
$("schoolCombo").style.display="none";
hidetip();
}else{
if(_14=="countryofeducation"||_14=="countryofresidence"){
$(_14+"_other_error").parentNode.style.display="none";
$(_14+"_other_error").innerHTML="";
$(_15+"_other_error").parentNode.style.display="none";
$(_15+"_other_error").innerHTML="";
}
if(_14=="countryofeducation"){
$("schoolCombo").innerHTML="";
var _18="";
var _18=document.createElement("option");
_18.value="";
_18.innerHTML="Select";
$("schoolCombo").appendChild(_18);
}
if($(_14).options[$(_14).selectedIndex].value==""){
$(_15).innerHTML="";
var _18="";
var _18=document.createElement("option");
_18.value="";
_18.innerHTML="Select city";
$(_15).appendChild(_18);
$(_14+"_error").parentNode.style.display="inline";
$(_14+"_error").innerHTML="Please select a country to populate cities";
}else{
$("countryofeducation_error").parentNode.style.display="none";
$("countryofeducation_error").innerHTML="";
$(_15).style.display="inline";
if(typeof (_17)!="undefined"&&typeof (_16)!="undefined"){
$(_17).style.display="none";
$(_16).style.display="none";
}
if(_14=="countryofeducation"){
suffix="ofeducation";
showAll=false;
}
if(_14=="countryofhighereducation"){
suffix="ofhighereducation";
showAll=true;
}
if(_14=="countryofresidence"){
suffix="ofresidence";
showAll=false;
}
getCitiesForCountry("",showAll,suffix);
}
}
}
function openyourdiv(_19){
hidetip();
$("youare").parentNode.style.display="none";
$("youare").innerHTML="";
$("PassOutdiv").style.display="inline";
$("schoolCombo_error").innerHTML="";
$("schoolCombo_error").parentNode.style.display="none";
$("EducationCombo_error").innerHTML="";
$("EducationCombo_error").parentNode.style.display="none";
if(_19=="school"){
$("InstituteName").innerHTML="School Name:&nbsp;<span class = 'redcolor'>*</span> ";
$("Work1").style.display="none";
$("Edu1").style.display="none";
$("Edu2").style.display="none";
$("Work&College").style.display="none";
$("ExperienceCombo").style.display="none";
$("EducationCombo").style.display="none";
$("insti2").style.display="";
$("GraduationYear").innerHTML="Pass Out Year :&nbsp;<span class = 'redcolor'>*</span>";
$("schoolCombo").setAttribute("caption","your school");
}
if(_19=="college"){
$("InstituteName").innerHTML="College Name:&nbsp;<span class = 'redcolor'>*</span> ";
$("Work1").style.display="none";
$("Edu2").style.display="";
$("Edu1").style.display="";
$("EducationLevel").innerHTML="Course Pursuing:&nbsp;<span class = 'redcolor'>*</span>";
$("Work&College").style.display="none";
$("ExperienceCombo").style.display="none";
$("insti2").style.display="";
$("GraduationYear").innerHTML="Graduation Year :&nbsp;<span class = 'redcolor'>*</span>";
$("schoolCombo").setAttribute("caption","your college");
$("EducationCombo").setAttribute("caption","the course you are pursuing");
getEducationLevel("EducationCombo","otherEducation",1,"main");
}
if(_19=="work"){
$("InstituteName").innerHTML="College Last Attended:&nbsp;<span class = 'redcolor'>*</span>";
$("Work&College").style.display="";
$("ExperienceCombo").style.display="";
$("Work1").style.display="";
$("Edu1").style.display="";
$("Edu2").style.display="";
$("EducationLevel").innerHTML="Highest Education Level:&nbsp;<span class = 'redcolor'>*</span>";
$("insti2").style.display="";
$("schoolCombo").setAttribute("caption","your college");
$("EducationCombo").setAttribute("caption","your highest education");
getEducationLevel("EducationCombo","otherEducation",1,"main");
}
if($("citiesofeducation").value!=""){
populateColleges();
}
populateGradYear(_19);
}
function populateGradYear(_1a){
var d=new Date();
if(_1a=="school"||_1a=="college"){
var _1c=d.getFullYear()+6;
var _1d=d.getFullYear();
}
if(_1a=="work"){
var _1c=d.getFullYear();
var _1d=d.getFullYear()-83;
}
$("GradYear").innerHTML="";
for(var i=_1c;i>=_1d;i--){
var _1f=document.createElement("option");
_1f.value=i;
_1f.innerHTML=i;
$("GradYear").appendChild(_1f);
}
$("GradYear").value=d.getFullYear();
if(_1a==""){
$("GradYear_error").parentNode.style.display="inline";
$("GradYear_error").innerHTML="Please select your status.";
}else{
$("GradYear_error").parentNode.style.display="none";
$("GradYear_error").innerHTML="";
}
}
function setEducationLevel(str,id){
if($(str).value=="Other"&&id=="education"){
$("otherEducation").style.display="inline";
}else{
$(id).value=$(str).options[$(str).selectedIndex].value;
if(id=="education"){
$("otherEducation").style.display="none";
$("otherEducation_error").parentNode.style.display="none";
$("otherEducation_error").innerHTML="";

}
}
}
function showRegistrationResponse(str,_23){
if(str=="Blank"){
return false;
}
if(str=="No Photo"){
$("avtar_error").parentNode.style.display="inline";
$("avtar_error").innerHTML="Please select a photo for upload";
}else{
if(str=="email"||str=="displayname"||str=="both"){
if(str=="email"){
$("email_error").parentNode.style.display="inline";
$("email_error").innerHTML="Another profile with same email id exists.";
}
if(str=="displayname"){
$("displayname_error").parentNode.style.display="inline";
$("displayname_error").innerHTML="This displayname is not available.";
}
if(str=="both"){
$("email_error").parentNode.style.display="inline";
$("email_error").innerHTML="Another profile with same email id exists.";
$("displayname_error").parentNode.style.display="inline";
$("displayname_error").innerHTML="This displayname is not available.";
}
$("Register_error").innerHTML="Please correct the errors marked in red to proceed <img src=\"/public/images/alert_icon.gif\" width=\"5\" height=\"5\"";
$("Register_error").parentNode.style.display="inline";
Yaxis=obtainPostitionY($("Register_error"));
Xaxis=obtainPostitionX($("Register_error"));
window.scrollTo(Xaxis,Yaxis);
return false;
}else{
var _24=document.body.offsetWidth/2-150;
var _25=screen.height/2-200;
var h=document.documentElement.scrollTop;
_25=_25+h;
var _27="Congratulations you have successfully registered on Shiksha.com";
$("reloadflag").value=0;
showConfirmation(_24,_25,_27);
window.setTimeout(function(){
window.location.reload();
},5000);
}
}
}
var cityList = eval({"2":{"28":"Agartala","29":"Agra","30":"Ahmedabad","31":"Ahmednagar","33":"Ajmer","822":"Akola","34":"Aligarh","35":"Allahabad","823":"Amravati","37":"Amritsar","38":"Anand","39":"Anantapur","40":"Andhra Pradesh - Other","42":"Arunachal Pradesh - Other","44":"Assam - Other","45":"Aurangabad","278":"Bangalore","47":"Bareilly","49":"Belgaum","736":"Bhagalpur","749":"Bhilai","1293":"Bhilwara","55":"Bhopal","56":"Bhubaneshwar","912":"Bhubaneswar","58":"Bidar","59":"Bihar - Other","796":"Bijapur","1313":"Bikaner","1359":"Calcutta","62":"Calicut","63":"Chandigarh","64":"Chennai","10248":"Chhattisgarh - Other","808":"Chitradurga","703":"Chittoor","66":"Cochin","67":"Coimbatore","719":"Cuddapah","69":"Cuttack","806":"Davangere","73":"Dehradun","74":"Delhi","76":"Dhanbad","78":"Dharwad","821":"Dhule","732":"Dirbrugarh","1092":"District 24 Parganas","80":"Durgapur","82":"Erode","84":"Faridabad","85":"Gandhinagar","86":"Gangtok","861":"Ganjam","87":"Ghaziabad","1577":"Ghazipur","758":"Goa","90":"Gorakhpur","1616":"Greater Noida","91":"Gujarat - Other","92":"Gulbarga","94":"Guntur","95":"Gurgaon","96":"Guwahati","97":"Gwalior","98":"Haldia","99":"Haryana - Other","100":"Himachal Pradesh - Other","101":"Hisar","103":"Hubli","702":"Hyderabad","106":"Indore","108":"Jabalpur","109":"Jaipur","111":"Jalandhar","112":"Jalgaon","115":"Jamanagar","113":"Jammu","116":"Jamshedpur","893":"Jaunpur","117":"Jharkhand - Other","118":"Jodhpur","122":"Kanpur","124":"Karnataka - Other","125":"Kerala - Other","699":"Khammam","126":"Kharagpur","127":"Kochi","129":"Kolhapur","130":"Kolkata","132":"Kota","133":"Kottayam","704":"Krishna","136":"Kurnool","848":"Latur","138":"Lucknow","139":"Ludhiana","140":"Madhya Pradesh - Other","141":"Madurai","142":"Maharashtra - Other","143":"Mangalore","261":"Manipal","144":"Manipur - Other","145":"Mathura","146":"Meerut","147":"Meghalaya - Other","1011":"Midnapore","148":"Mizoram - Other","151":"Mumbai","737":"Muzaffarpur","153":"Mysore","154":"Nagaland - Other","156":"Nagpur","847":"Nanded","849":"Nashik","158":"Navi Mumbai","159":"Nellore","161":"Noida","163":"Orissa - Other","166":"Panipat","846":"Parbhani","171":"Patna","172":"Pondicherry","174":"Pune","916":"Punjab","727":"Raichur","839":"Raigad","176":"Raipur","178":"Rajasthan - Other","179":"Rajkot","180":"Ranchi","181":"Rohtak","182":"Roorkee","183":"Rourkela","888":"Saharanpur","184":"Salem","833":"Sangli","713":"Secunderabad","807":"Shimoga","187":"Sikkim - Other","189":"Siliguri","190":"Solapur","2631":"Sonepat","2638":"Sriganaganagar","192":"Surat","193":"Tamil Nadu - Other","838":"Thane","757":"Thiruvananthapuram","915":"Tiruchirappalli","197":"Tirupati","198":"Trichy","199":"Tripura - Other","200":"Trivandrum","728":"Tumkur","202":"Udaipur","203":"Ujjain","205":"Uttar Pradesh - Other","10249":"Uttarakhand - Other","2767":"Vadodara","209":"Varanasi","212":"Vijayawada","213":"Visakhapatnam","214":"Warangal","215":"West Bengal - Other","2825":"Yavatmal","10247":"Others"},"3":{"8335":"Akron","8833":"Albany","447":"Albuquerque","9515":"Anaheim","459":"Atlanta","460":"Baltimore","9261":"Baton Rouge","8167":"Berkeley","467":"Birmingham","18":"Boston","9905":"Bronx","8351":"Brooklyn","479":"Buffalo","9333":"California","8354":"Cambridge","8732":"Charleston","8256":"Charlotte","7921":"Chattanooga","8":"Chicago","8362":"Cincinnati","8365":"Cleveland","9785":"Colorado Springs","9345":"Columbia","498":"Columbus","8369":"Dayton","9787":"Denver","7853":"Detroit","217":"Durham","9360":"Erie","264":"Evanston","230":"Florida","9213":"Fort Wayne","9575":"Fresno","7861":"Grand Rapids","529":"Greensboro","8942":"Hialeah","8146":"Honolulu","9225":"Indianapolis","8396":"Jackson","8771":"Jacksonville","8081":"Jersey City","8199":"Kansas City","550":"Knoxville","9282":"Lafayette","9391":"Lancaster","9814":"Las Vegas","8205":"Lexington","9183":"Lincoln","8033":"Little Rock","9610":"Los Angeles","1065":"Louisville","580":"Memphis","8591":"Miami","584":"Minneapolis","9156":"Mobile","9159":"Montgomery","593":"Nashville","9293":"New Orleans","10":"New York","607":"Oakland","8596":"Oklahoma City","611":"Omaha","8982":"Orlando","8702":"Overland Park","244":"Pasadena","236":"Philadelphia","615":"Phoenix","617":"Pittsburgh","7819":"Portland","624":"Providence","629":"Raleigh","633":"Riverside","10010":"Rochester","9670":"Sacramento","8227":"Saint Louis","7768":"Saint Paul","635":"Salem","9674":"San Bernardino","9676":"San Diego","9678":"San Francisco","9680":"San Jose","9687":"Santa Ana","9001":"Sarasota","642":"Savannah","9303":"Shreveport","8644":"Sioux Falls","650":"Southfield","8232":"Springfield","10025":"Syracuse","9008":"Tampa","7799":"Tempe","229":"Texas","664":"Toledo","665":"Tucson","8614":"Tulsa","670":"Utica","9479":"Washington","9":"Washington","8710":"Wichita","681":"Worcester"},"4":{"346":"Aberdeen","921":"Aberystwyth","347":"Armagh","218":"Bangor","348":"Bath","254":"Bedfordshire","349":"Belfast","2837":"Beverley","14":"Birmingham","275":"Bolton","10157":"Boston","350":"Bradford","10151":"Bridgend","274":"Brighton","17":"Bristol","243":"Brownlow Hill Liverpool","924":"Bucks","16":"Cambridge","352":"Canterbury","265":"Cardiff","922":"Chelmsford","238":"Chester","354":"Chichester","1090":"Cirencester","355":"City Of London","10146":"Corby","10142":"Cornwall","220":"Coventry","356":"Derby","2838":"Devon","10143":"Doncaster","252":"Dorset","357":"Dundee","271":"Durham","358":"Edinburgh","10161":"England","934":"Essex","268":"Exeter","226":"George Square","235":"Glasgow","937":"Gloucestershire","245":"Greater Manchester","239":"Greenwich","258":"Hampshire","361":"Hereford","941":"Hertfordshire","1087":"Huddersfield","939":"Hull","943":"Kent","251":"Lancashire","250":"Lancaster","273":"Leeds","225":"Leicester","10144":"Leicestershire","234":"Lincoln","366":"Liverpool","259":"Liverpool Street","13":"London","10145":"Lowestoft","249":"Manchester","1074":"Middlesex","10150":"Midlands","10141":"Midlothian","2836":"Musselburgh","368":"Newcastle Upon Tyne","369":"Newport","10212":"Norfolk","10163":"Northampton","10162":"Northern Ireland","371":"Norwich","372":"Nottingham","935":"Nr Maidstone, Kent","938":"Oxfordshire","260":"Paisley","2839":"Pembrokeshire","936":"Pontypridd","10160":"Reading","248":"Roehampton Lane","277":"Scotland","262":"Sheffield","2835":"Shropshire","955":"Staffordshire","2840":"Stockport","10148":"Suffolk","384":"Sunderland","241":"Surrey","385":"Swansea","10214":"Swindon","1081":"Tees Valley","10149":"Telford","1086":"Thames","1084":"Tyne","223":"Uxbridge","387":"Wakefield","1088":"Wales","388":"Wells","10213":"West Sussex","391":"Wolverhampton","392":"Worcester","256":"York"},"5":{"284":"Acton","6":"Adelaide","287":"Albury-wodonga","288":"Alice Springs","289":"Armidale","257":"Ballarat","293":"Box Hill","25":"Brisbane","228":"Brisbane Queensland","295":"Building 51","297":"Bundaberg","298":"Burwood","246":"Callaghan","7":"Canberra","231":"Caulfield East","303":"Central Coast","305":"Coffs Harbour","281":"Darwin,northern Territory","312":"Gold Coast","247":"Hawthorn, Victoria","316":"Hobart","319":"Launceston","320":"Lismore","10215":"Lithgow","22":"Melbourne","10172":"Nathan","267":"Newcastle","24":"Perth","283":"Queensland","5":"Sydney","342":"Townsville","1069":"Varsity Lakes Qld","232":"Victiria","272":"Victoria","221":"Wollongong"},"6":{"695":"Alexandra Road","691":"Beach Road","1076":"Bencoolen Street","693":"Clementi Road","10187":"Farrar Park","696":"German Centre","26":"Johr Bahru","965":"Middle Road","689":"Nanyang Avenue","10175":"Podium","23":"Singapore","694":"Spring"},"7":{"687":"Auckland","928":"Blenheim","698":"Canterbury","690":"Christchurch","686":"Dunedin","966":"Gisborne","1062":"Greymouth","697":"Hamilton","954":"Hawkes Bay","962":"Invercargill","920":"New Plymouth","1060":"Otaki","692":"Palmerston North","968":"Queenstown","953":"Tauranga","952":"Timaru","919":"Wellington","960":"Whangarei"},"8":{"270":"Alberta","963":"Brandon","964":"British Columbia","961":"Calgary","917":"Castlegar","958":"Charlottetown","1073":"Langley","1071":"Montreal","688":"New Brunswick","1080":"Newfoundland","1091":"North Bay","967":"Nova Scotia","918":"Ontario","224":"Ottawa","1067":"Quebec","10156":"Saskatchewan","1083":"Sudbury","282":"Toronto","222":"Vancouver","10185":"Waterloo","1079":"Winnipeg"},"9":{"394":"Aachen","397":"Berlin","398":"Bielefeld","399":"Bochum","400":"Bonn","401":"Bremen","408":"Dresden","409":"Duisburg And Essen","405":"Dusseldorf","411":"Erlangen And Nuremberg","412":"Esslingen","415":"Freiburg","417":"Giessen","420":"Hamburg","426":"Karlsruhe","429":"Leipzig","430":"Mannheim","433":"Munich","441":"Stuttgart"}});


