
My saved searches
';str+='
';str+='
<\/div>';str+='';str+='
';mysavesearches_ajaxValidation(pid);return str;}
function save_search_options(what,pid)
{var close_save1="

\
My saved searches";if(what=='show')
{check_window('save_search_options(\'hide\',\''+pid+'\')');common_check=1;function_to_call="save_search_options('hide',"+pid+")";dID("save_search_option").innerHTML=writeafterSave(pid);}
else
{common_check=0;function_to_call="";dID("save_search_option").innerHTML=close_save1;}}
function createNewXmlHttpObject()
{req=false;if(window.XMLHttpRequest)
{try
{req=new XMLHttpRequest();}
catch(e)
{req=false;}}
else if(window.ActiveXObject)
{try
{req=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{req=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{req=false;}}}
return req;}
function createNewXmlHttpObject1()
{req1=false;if(window.XMLHttpRequest)
{try
{req1=new XMLHttpRequest();}
catch(e)
{req1=false;}}
else if(window.ActiveXObject)
{try
{req1=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{req1=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{req1=false;}}}
return req1;}
function mysavesearches_ajaxValidation(pid)
{var req=createNewXmlHttpObject();loggedInPid=pid;var to_post="list_save=1 & pid="+pid;if(pid)
{req.open("POST","/P/save_search.php",true);req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');req.send(to_post);req.onreadystatechange=mysavesearches_checkXmlHttpStatus;}
else
{}}
function mysavesearches_checkXmlHttpStatus()
{var str='';if(req.readyState!=4)
{return;}
if(req.status==200)
{var got_response=req.responseText.split("$");if(got_response[0]!="")
{if(got_response[0]!='A_E')
{if(got_response[0])
var gotresponsestr=got_response[0].split("#");if(got_response[1])
var gotresponsestr1=got_response[1].split("#");if(got_response[2])
var gotresponsestr2=got_response[2].split("#");}
if(got_response[0]=='A_E')
{str+='
An error has occurred! We will be correcting this problem at the earliest. Kindly check back later.';}
else
{if(got_response[0])
str+='
'+gotresponsestr[0]+'';if(got_response[1])
str+='
'+gotresponsestr1[0]+'';if(got_response[2])
str+='
'+gotresponsestr2[0]+'';}
dID("my_save_search_id").innerHTML=str;return;}
else
{}}
else
{return;}}
function Get_Cookie(name)
{var start=document.cookie.indexOf(name+"=");var len=start+name.length+1;if((!start)&&(name!=document.cookie.substring(0,name.length)))
{return null;}
if(start==-1)return null;var end=document.cookie.indexOf(";",len);if(end==-1)end=document.cookie.length;return unescape(document.cookie.substring(len,end));}
function Set_Cookie(name,value,days,path,domain,secure)
{var date=new Date();if(days)
{date.setTime(date.getTime()+(days*60*1000));}
document.cookie=name+"="+escape(value)+
((days)?";expires="+date.toGMTString():"")+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+
((secure)?";secure":"");}
function MM_openBrWindow(theURL,winName,features)
{window.open(theURL,winName,features);}
if(typeof SITE_URL=="undefined")
var SITE_URL="http://"+top.location.host;var after_searchbyid='
Search by profile id';var close_searchbyid='
Search by profile id';function check_enter(java_func,e)
{var numCode=e.keyCode;if(numCode==13)
{if(java_func!="")
eval(java_func);}}
function search_by_id(what)
{if(what=="show")
{check_window('search_by_id(\'hide\')');dID("search_by_id").innerHTML=after_searchbyid;dID("SEARCH_BY_USERNAME").focus();common_check=1;function_to_call="search_by_id('hide')";}
else
{common_check=0;function_to_call="";dID("search_by_id").innerHTML=close_searchbyid;}}
function search_by_username()
{if(typeof NAVIGATOR=="undefined")
var NAVIGATOR='';if(typeof SITE_URL=="undefined")
var SITE_URL="http://"+top.location.host;search_username_id=dID("SEARCH_BY_USERNAME");var url_for_profile=SITE_URL+'/profile/viewprofile.php?search=1&username='+search_username_id.value+'&'+NAVIGATOR+'&overwrite=1';if(search_username_id.value==logged_in_username&&search_username_id.value!=""&&logged_in_username!="")
{window.open(url_for_profile,"SAME_USERNAME",'width=800,height=600,status=1,scrollbars=1,resizable=yes');}
else
window.location=url_for_profile;search_by_id('hide');}
if(typeof SITE_URL=="undefined")
var SITE_URL="http://"+top.location.host;after_moreclick='
More Options';close_moreclick='
More Options';function show_more_options(what)
{if(what=="show")
{common_check=1;function_to_call="show_more_options('hide')";dID("more_option").innerHTML=after_moreclick;}
else
{common_check=0;function_to_call="";dID("more_option").innerHTML=close_moreclick;}}
function redirect(prev_url)
{if(prev_url!="")
document.location=prev_url;return false;}
function check_thickbox_command()
{var arr=new Array;var idd="";var after_call="";if(dID("AFTER_LOGIN_CALL"))
after_call=dID("AFTER_LOGIN_CALL").value;if(dID("CALL_THICK"))
{arr[0]=dID("CALL_THICK").value;arr[1]=dID("id_checked").value;}
if(arr[0]||after_call)
{var checkboxes=arr[1].split("-----");for(var i=0;i
10)
tb_show("",url_thick,"");eval(after_call);}
else
{var url_thick=unescape(arr[0]);if(url_thick.length>10)
tb_show("",url_thick,"");}}}
function initializeBody()
{if(!dID("abc1"))
return;var dareDiv=dID("abc1");var wheatDiv=dID("abc2");dareDiv.onmouseover=colorIt;dareDiv.onmouseout=uncolorIt
wheatDiv.onmouseover=colorIt;wheatDiv.onmouseout=uncolorIt;}
function colorIt()
{dID("abc2").style.visibility="visible";dID("abc1").style.visibility="hidden";}
function uncolorIt()
{dID("abc1").style.visibility="visible";dID("abc2").style.visibility="hidden";}
function get_present_date()
{var dt=new Date();var day=dt.getDate();var monthIndex=dt.getMonth();var year=dt.getFullYear();var month_name=new Array();month_name[0]="Jan";month_name[1]="Feb";month_name[2]="Mar";month_name[3]="Apr";month_name[4]="May";month_name[5]="Jun";month_name[6]="Jul";month_name[7]="Aug";month_name[8]="Sep";month_name[9]="Oct";month_name[10]="Nov";month_name[11]="Dec";var month=month_name[monthIndex];var complete_date=day+" "+month+" "+year;return complete_date;}
function includeCSSfile(href)
{var head_node=document.getElementsByTagName('head')[0];var link_tag=document.createElement('link');link_tag.setAttribute('rel','stylesheet');link_tag.setAttribute('type','text/css');link_tag.setAttribute('href',href);link_tag.setAttribute('name','for_home');head_node.appendChild(link_tag);}
function reload_messages(draft_id,draft_name,draft_mes)
{var change_id=draft_id.value;if(typeof(MES)!='undefined')
MES[change_id]=draft_mes.value.replace("
","\n");if(typeof(decline)!='undefined')
decline[change_id]=draft_name.value.replace("
","\n");if(typeof(accept)!='undefined')
accept[change_id]=draft_name.value.replace("
","\n");}
function call_dp(profileid)
{if(dID(profileid))
{var id_hidden=dID(profileid).value;id_hidden=id_hidden+"&after_login_call="+escape("change_tab(dID('horoscope'),'Horoscope')")
document.location=id_hidden;}
return false;}
function up_launch(receiversid,sendersid,senderusername,receiverusername,threadname,status)
{if(senderusername>receiverusername)
threadname=senderusername+"_"+receiverusername;else
threadname=receiverusername+"_"+senderusername;threadname=up_replaceAlpha(threadname);window.open('http://198.104.137.142/profile/chatwindow.php?receiversid='+receiversid+'&sendersid='+sendersid+'&senderusername='+senderusername+'&receiverusername='+receiverusername+"&status="+status+"&checksum="+prof_checksum,threadname,'width=342,height=274,status=1,scrollbars=0,resizable=no');}
function up_replaceAlpha(strIn)
{var strOut="";for(var i=0;i='A'&&cChar<='Z')||(cChar>='a'&&cChar<='z')||(cChar>='0'&&cChar<='9'))
{strOut+=cChar;}
else
{strOut+="_";}}
return strOut;}
function astro_icons()
{var docF=document.getElementsByTagName("input");var pstring="";for(var i=0;i");for(var j=0;j<(x.length-1);j++)
{if(x[j].charAt(0)==">")
x[j]=x[j].substr(1,x[j].length);var y=x[j].split(":");if(typeof(y[2])!="undefined")
{var Guna_str="Guna_"+y[0];var Guna=y[2].substr(0,4)+"/36";var Lg=y[3].substr(0,2);var Su=y[4].substr(0,2);var Me=y[5].substr(0,2);var Ju=y[6].substr(0,2);var Sa=y[7].substr(0,2);var lagan="LAGAN_ID_"+y[0];var main_lagan="MAIN_"+lagan;var imgs=new Array;var titles=new Array;if(Lg==1)
{imgs[0]="lagan_p.jpg";titles[0]="Lagan Favourable"}
else if(Lg==-1)
{imgs[1]="lagan_m.jpg";titles[1]="Lagan Unfavourable"}
if(Su==1)
{imgs[2]="sun_p.jpg"
titles[2]="Sun Favourable"}
else if(Su==-1)
{imgs[3]="sun_m.jpg";titles[3]="Sun Unfavourable";}
if(Me==1)
{imgs[4]="murcury_p.jpg";titles[4]="Mercury Favourable"}
else if(Me==-1)
{imgs[5]="murcury_m.jpg";titles[5]="Mercury Unfavourable"}
if(Ju==1)
{imgs[6]="jupitar_p.jpg";titles[6]="Jupitor Favourable"}
else if(Ju==-1)
{imgs[7]="jupitar_m.jpg";titles[7]="Jupitor Unfavourable"}
if(Sa==1||Sa=="1")
{imgs[8]="saturn_p.jpg";titles[8]="Saturn Favourable"}
else if(Sa==-1)
{imgs[9]="saturn_m.jpg";titles[9]="Saturn Unfavourable"}
if(Guna)
{var img_str="";var IMG_URL="http://ser4.jeevansathi.com/profile/images/";for(var i=0;i
";}
img_str=img_str+""+Guna+" | ";if(dID(lagan))
{dID(lagan).innerHTML="";if(dID(main_lagan))
dID(main_lagan).style.marginTop="-50px";}}}}}
var from_view_similar=0;function save_draft(view_sim)
{var s_draft_show="s_draft_show";var s_draft_id="s_draft_id";var s_draft_name="s_draft_name";var s_draft_mes="s_draft_mes";from_view_similar=0;if(typeof(view_sim)!='undefined')
{from_view_similar=1;s_draft_show="s_draft_show_page";s_draft_id="s_draft_id_page";s_draft_name="s_draft_name_page";s_draft_mes="s_draft_mes_page";}
var draft_id='';var draft_name='';var draft_mes='';var id_name='';var draft_main=dID(s_draft_show);if(dID(s_draft_id))
draft_id=dID(s_draft_id);if(dID(s_draft_name))
draft_name=dID(s_draft_name);if(dID(s_draft_mes))
draft_mes=dID(s_draft_mes);if(draft_name)
{reload_messages(draft_id,draft_name,draft_mes);if(draft_name.value=="")
{draft_name.focus();return 0;}
else
{if(draft_id)
{if(draft_id.value=="")
{draft_id.focus();return 0;}
id_name=draft_id.value;}}
draftname=escape(draft_name.value);real_mes=escape(draft_mes.value);data_to_send=SITE_URL+"/profile/SaveDraft.php?DRAFT_NAME="+draftname+"&DRAFT_ID="+id_name+"&DRAFT_MES="+real_mes+"&D_STATUS="+d_status;draft_main.innerHTML=dra_loader;send_ajax_request(data_to_send,"","after_save_draft","POST");}}
function after_save_draft()
{var s_draft_show="s_draft_show";if(from_view_similar)
{s_draft_show="s_draft_show_page";}
var draft_main=dID(s_draft_show);if(result=='A_E')
{draft_main.innerHTML=""+common_error+"";}
if(result.substr(0,5)=='ERROR')
{draft_main.innerHTML=""+result.substr(6,result.length)+"";}
else
{draft_main.innerHTML=dra_end1+result+dra_end2;}}
function disable_button(id_name,upto)
{for(i=0;i";document.body.innerHTML=html_form+document.body.innerHTML;dID("vsp").submit();tb_remove();}}
var act_contact_id="";var act_con_profilechecksum="";var act_eoi_label="";var act_par_span_label="";function show_details(contact_id,con_profilechecksum,force_focus,eoi_label,par_span_label)
{if(act_contact_id)
close_all_con_layer();check_window('close_all_con_layer()');common_check=1;function_to_call="close_all_con_layer()";act_contact_id=contact_id;act_con_profilechecksum=con_profilechecksum;act_eoi_label=eoi_label;act_par_span_label=par_span_label;if(contact_id&&force_focus)
set_focus_on_anchor("#"+contact_id);var send_url="?ajax_error=2&from_search=1&ONLY_LAYER=1&profilechecksum="+con_profilechecksum+"&checksum="+prof_checksum;send_ajax_request('get_details.php'+send_url,'con_show_loader','append_contact_det');if(top.document.getElementById("browseBottom")&&top.document.getElementById("browseBottom").style.display=="block"){top.document.getElementById("browseBottom").style.visibility="hidden";top.document.getElementById("browseBottom").style.display="none";}
return false;}
function con_show_loader()
{if(act_contact_id)
{var loader_data='';dID(act_contact_id).innerHTML=loader_data;if(dID(act_eoi_label))
dID(act_eoi_label).style.position="";if(dID("hide_1"))
dID("hide_1").style.position="";if(dID(act_par_span_label))
dID(act_par_span_label).style.zIndex=1002;}}
function append_contact_det()
{if(act_contact_id)
{if(result=='A_E')
dID("LOGIN_TO_CON").innerHTML=common_error;else if(result=="LOGIN")
{var func_to_call=escape("show_details('"+act_contact_id+"','"+act_con_profilechecksum+"',1,'"+act_eoi_label+"','"+act_par_span_label+"')");close_all_con_layer();tb_show("","login.php?SHOW_LOGIN_WINDOW=1&after_login_call="+func_to_call,"");}
else
{dID(act_contact_id).innerHTML=result;}
if(dID("show_contact"))
{dID("show_contact").style.display='inline';dID("show_express").innerHTML="";dID("show_express").style.display="none";}}}
function close_all_con_layer()
{if(typeof(showOrHideAllDropDowns)=="function")
showOrHideAllDropDowns('visible');common_check=0;function_to_call="";if(dID(act_contact_id))
{dID(act_contact_id).innerHTML="";act_contact_id="";act_con_profilechecksum="";if(dID(act_eoi_label))
dID(act_eoi_label).style.position="relative";if(dID("hide_1"))
dID("hide_1").style.position="relative";if(dID(act_par_span_label))
dID(act_par_span_label).style.zIndex=0;}
if(top.document.getElementById("browseBottom")&&top.document.getElementById("browseBottom").style.display=="none"){top.document.getElementById("browseBottom").style.visibility="visible";top.document.getElementById("browseBottom").style.display="block";top.scrollTo(0,0);}
return false;}
var font_img=new Array;var font_img_ho=new Array;font_img_ho[1]="a_ho.gif";font_img_ho[2]="biga_ho.gif";font_img_ho[3]="biggera_ho.gif";font_img[1]="a.gif";font_img[2]="biga.gif";font_img[3]="biggera.gif";function reduce_to(values)
{if(!values)
return 1;var percent="12px";var no_rec="14px";var gray="12px";if(values==1)
{percent="11px";no_rec="13px";gray="10px";}
if(values==2)
{percent="12px";no_rec="14px";gray="11px";}
if(values==3)
{percent="13px";no_rec="15px";gray="12px";}
if(dID('font_1'))
dID('font_1').src=SITE_URL+"/profile/images/"+font_img[1];if(dID('font_2'))
dID('font_2').src=SITE_URL+"/profile/images/"+font_img[2];if(dID('font_3'))
dID('font_3').src=SITE_URL+"/profile/images/"+font_img[3];eval("dID('font_"+values+"').src='"+SITE_URL+"/profile/images/"+font_img_ho[values]+"'");Set_Cookie('font_set',values,'','/','','');document.body.style.fontSize=percent;if(dID("no_res"))
{dID("no_res").style.fontSize=no_rec;dID("no_rec").style.fontSize=no_rec;}}
var span_layer_id="";var con_det_id="";function check_checkbox(checkbox_id,sno)
{if(user_login==""&&sno!=-1)
{if(span_layer_id)
span_layer_id.style.zIndex=0;var after_login_call="check_checkbox('"+checkbox_id+"','"+sno+"')";tb_show('','login.php?SHOW_LOGIN_WINDOW=1&after_login_call='+after_login_call,'');return false;}
if(checkbox_id=='NO_ID')
{do_not_check=1;common_check=1;function_to_call="hide_exp_layer(1)";}
if(sno>=0&&checkbox_id!='NO_ID')
{common_check=1;function_to_call="hide_exp_layer()";}
var is_chb_chk=0;for(i=0;i<10;i++)
{eval("var check_box=dID('PROFILE_"+i+"')");if(sno>=0)
{eval("var exp_layer_id=dID('EXP_LAYER_"+i+"')");eval("var span_id=dID('SPAN_"+i+"')");if(span_id)
span_id.style.zIndex="100";if(sno==i)
span_id.style.zIndex="1000";if(exp_layer_id)
if(!exp_layer_id.innerHTML)
exp_layer_id.innerHTML="";else
first_time_exp=exp_layer_id;}
if(check_box)
if(check_box.checked)
{if(checkbox_id=='NO_ID')
is_chb_chk=1;else
check_box.checked=false;}}
if(is_chb_chk==0&&checkbox_id=='NO_ID')
{call_tb_show("nothing_selected.php?width=520&height=120&TYPE=EOI");return false;}
if(typeof(showOrHideAllDropDowns)=="function")
showOrHideAllDropDowns('hidden');if(checkbox_id!="NO")
{if(dID(checkbox_id))
dID(checkbox_id).checked=true;if(sno==11)
span_layer_id=dID('hide_0');else
eval("span_layer_id=dID('SPAN_"+sno+"')");if(span_layer_id)
span_layer_id.style.zIndex=1000;if(sno>=0)
{if(first_time_exp.innerHTML=="")
first_time_exp=dID("exp_layer");eval("var exp_layer_ch_id=dID('EXP_LAYER_"+sno+"')");show_with_opacity(exp_layer_ch_id,first_time_exp);eval("current_exp_layer=dID('EXP_LAYER_"+sno+"');");first_time_exp.innerHTML="";if(dID("multi_button"))
{dID("multi_button").focus();if(!dID("text_id").disabled)
dID("text_id").focus();}
change_message(dID('message_id').options[0].value);start=0;}}
id_check.value=1;if(top.document.getElementById("browseBottom")&&top.document.getElementById("browseBottom").style.display=="block"){top.document.getElementById("browseBottom").style.visibility="hidden";top.document.getElementById("browseBottom").style.display="none";}
return false;}
var do_not_check=0;function call_tb_show(nothing_selected_url)
{common_check=0;function_to_call="";tb_show("",nothing_selected_url,"");}
function hide_exp_layer(allow_exp)
{if(typeof(showOrHideAllDropDowns)=="function")
showOrHideAllDropDowns('visible');if(!allow_exp||allow_exp==2)
{common_check=0;function_to_call="";}
if(allow_exp==1)
{function_to_call="";common_check=0;}
dID('hide_0').style.zIndex=0;var exp_layer_id=dID("exp_layer");if(span_layer_id)
span_layer_id.style.zIndex=0;if(exp_layer_id.innerHTML=="")
{if(current_exp_layer.innerHTML)
{exp_layer_id.innerHTML=current_exp_layer.innerHTML;current_exp_layer.innerHTML="";current_exp_layer=exp_layer_id;first_exp_layer=exp_layer_id;if(do_not_check==0&&allow_exp!=2)
uncheck_all();if(allow_exp)
{do_not_check=0;if(allow_exp==1)
uncheck_all();}
else
uncheck_all();}
start=0;}
else
{current_exp_layer=exp_layer_id;first_exp_layer=current_exp_layer;if(allow_exp!=1&&allow_exp>0)
{do_not_check=0;}
else
uncheck_all();}
if(top.document.getElementById("browseBottom")&&top.document.getElementById("browseBottom").style.display=="none"){top.document.getElementById("browseBottom").style.visibility="visible";top.document.getElementById("browseBottom").style.display="block";}
top.scrollTo(0,0);return false;}
function uncheck_all()
{if(dID("PROFILE_0"))
{for(i=0;i<10;i++)
{eval("check_box=dID('PROFILE_"+i+"')");if(check_box)
check_box.checked=false;}}}
function checkbox_checked()
{var id="";if(dID("PROFILE_0"))
{for(i=0;i<10;i++)
{eval("var check_box=dID('PROFILE_"+i+"')");if(check_box)
if(check_box.checked)
{if(id=="")
id="PROFILE_"+i;else
id=id+"-----PROFILE_"+i;}}}
return id;}
var start_opaque=1;var id_to_opaque="";function show_with_opacity(first_id,second_id)
{id_to_opaque=first_id;id_to_opaque.style.opacity=start_opaque/10;id_to_opaque.style.filter='alpha(opacity='+start_opaque*10+')';first_id.innerHTML=second_id.innerHTML;setopacity_to_100();}
function setopacity_to_100()
{start_opaque=start_opaque+1;id_to_opaque.style.opacity=start_opaque/10;id_to_opaque.style.filter='alpha(opacity='+start_opaque*10+')';if(start_opaque<10)
setTimeout("setopacity_to_100()",10);else
start_opaque=.10;}
var text_message="";var draft_id="";function express_interest()
{var profile_str="";var selected=0;for(i=0;i<10;i++)
{eval("var check_box=dID('PROFILE_"+i+"')");if(check_box)
if(check_box.checked)
{if(selected==0)
profile_str=check_box.value;else
profile_str=profile_str+","+check_box.value;selected++;}}
if(profile_str)
{if(selected>=0)
var type_of_contact='S';if(selected>1)
var type_of_contact='M';text_message=dID("text_id").value;text_message=escape(text_message);draft_id=dID("message_id").value;var url_for_contact="AjaxContact.php?TYPE_OF="+type_of_contact+"&draft_name="+draft_id+"&senders_data="+profile_str+"&MESSAGE="+text_message+"&stype="+stype+"&height=240&width=300";tb_show("",url_for_contact,"");}}
function exp_layer_setting()
{var return_data='';hide_exp_layer(2);return return_data;}
function remove_express_link()
{for(i=0;i<10;i++)
{eval("var span_box=dID('SPAN_"+i+"')");eval("var check_box=dID('PROFILE_"+i+"')");if(check_box)
if(check_box.checked)
{check_box.checked=false;span_box.innerHTML="
";}}}
function show_exp_error(id_ajax)
{var st_error_data='';var ajax_value=id_ajax.innerHTML;if(ajax_value=='A_E')
id_ajax.innerHTML=st_error_data+mid_error_data+common_error+end_error_data;else if(ajax_value.substr(0,5)=='ERROR')
{if(ajax_value.substr(0,8)=='ERROR#20')
id_ajax.innerHTML=st_error_data+ajax_value.substr(8,ajax_value.length)+'