function setupFadeLinks(){document.write("<script type='text/javascript' src='jquery-1.2.6.js'></script>");
	arrFadeLinks[0]="/introduction/safety-privacy-security.php";arrFadeTitles[0]="Only site to be ISO 9001:2000, VeriSign, TRUSTe Certified";arrFadeLinks[1]="/introduction/why-we-are-no1.php";arrFadeTitles[1]="Ranked the most visited matrimonial website in the world! - Ranking.com";arrFadeLinks[2]="/introduction/why-we-are-no1.php";arrFadeTitles[2]='"Most preferred online matrimonial site for Indians" - JuxtConsult'}var m_FadeOut=255;var m_FadeIn=0;var m_Fade=0;var m_FadeStep=3;var m_FadeWait=1600;var m_bFadeOut=true;var m_iFadeInterval;var arrFadeLinks;var arrFadeTitles;var arrFadeCursor=0;var arrFadeMax;function Fadewl(){m_iFadeInterval=setInterval(fade_ontimer,10);arrFadeLinks=new Array();arrFadeTitles=new Array();setupFadeLinks();arrFadeMax=arrFadeLinks.length-1;setFadeLink()}function setFadeLink(){var A=document.getElementById("fade_link");A.innerHTML=arrFadeTitles[arrFadeCursor];A.href=arrFadeLinks[arrFadeCursor]}function fade_ontimer(){if(m_bFadeOut){m_Fade+=m_FadeStep;if(m_Fade>m_FadeOut){arrFadeCursor++;if(arrFadeCursor>arrFadeMax){arrFadeCursor=0}setFadeLink();m_bFadeOut=false}}else{m_Fade-=m_FadeStep;if(m_Fade<m_FadeIn){clearInterval(m_iFadeInterval);setTimeout(Faderesume,m_FadeWait);m_bFadeOut=true}}var A=document.getElementById("fade_link");if((m_Fade<m_FadeOut)&&(m_Fade>m_FadeIn)){A.style.color="#"+ToHex(m_Fade)}}function Faderesume(){m_iFadeInterval=setInterval(fade_ontimer,10)}function ToHex(C){try{var A=(parseInt(C).toString(16));while(A.length!=2){A=("0"+A)}A=A+A+A;return A.toUpperCase()}catch(B){}}function changeclass(C){var B=document.getElementById(C);for(var A=1;A<=3;A++){if(C==A){document.getElementById("link"+A).className="selected"+A}else{document.getElementById("link"+A).className=""}}if(B){B.className=("selected"+A)}}var pageUrl=new Array();pageUrl[1]="/ssi/p-action/tab-1.php";pageUrl[2]="/ssi/p-action/tab-2.php";pageUrl[3]="/ssi/p-action/tab-3.php";function loadTab(A){if(pageUrl[A].length>0){$("#preloader").show();$.ajax({url:pageUrl[A],cache:false,success:function(B){$("#tabcontent").empty().append(B);$("#preloader").hide()}})}}$(document).ready(function(){$("#preloader").hide();$("#link1").click(function(){loadTab(1)});$("#link2").click(function(){loadTab(2)});$("#link3").click(function(){loadTab(3)})});var content;var contentcontainer;var position=1;var rot_position=1;var rot_timer;var maxY,wd,maxX,ready,slideDur=600,destX=0,destY=0,distY,distX,per,sliding,slideStart,aniTimer,startX,startY,xcoordinate,ycoordinate,url_path_rotation;var no_of_records=4;function load(C,A,B){position=0;url_path_rotation=B;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=C?document.getElementById(C).offsetWidth:content.offsetWidth;maxX=(wd-contentcontainer.offsetWidth>0)?wd-contentcontainer.offsetWidth:0;content.style.visibility="visible";ready=true;document.getElementById("slide-links").style.visibility="visible";rot_timer=setInterval("do_rotation()",A)}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 slide(id,img_url){clearInterval(rot_timer);position=id;glideTo(eval(id-1)*590,0);for(var z=1;z<=no_of_records;z++){if(id==z){document.getElementById("slide"+id).className="selected"}else{document.getElementById("slide"+z).className=""}}}function do_rotation(){if(position<no_of_records){position++;glideTo(eval(position-1)*590,0)}else{position=1;content.style.left="0px";content.style.top="0px"}for(var z=1;z<=no_of_records;z++){if(position==z){document.getElementById("slide"+position).className="selected"}else{document.getElementById("slide"+z).className=""}}}var more_layer_status_1=0;var more_layer_status_2=0;function show_hide_login_layer(){clear_err_divs();var B=show_hide_login_layer.arguments;var A=B[0];if(A=="show"){show_hide_more_layer("hide");show_hide_profile_search_layer("hide");enable_disable_form(document.forms.quicksearch,"disable");document.getElementById("login_layer").style.display="block";document.loginpage.login.focus()}else{if(A=="hide"){if(document.loginpage){document.loginpage.login.value="";document.loginpage.password.value="";document.getElementById("id_spacer_1").style.display="block";document.getElementById("login_layer").style.display="none";enable_disable_form(document.forms.quicksearch,"enable")}}}}function show_hide_tooltip_layer(){var B=show_hide_tooltip_layer.arguments;var A=B[0];if(A=="show"){document.getElementById("tooltip_layer").style.display="block"}else{if(A=="hide"){document.getElementById("tooltip_layer").style.display="none"}}}function enterkey(B){var B=(B)?B:event;var A=(B.which)?B.which:B.keyCode;if(A==13){return validate_login_form()}}function validate_login_form(){clear_err_divs();var A=false;if(document.loginpage.login.value==""){document.getElementById("id_spacer_1").style.padding="3px";document.getElementById("login_err_div").style.display="block";document.getElementById("login_err_div").innerHTML="Please specify Email.";A=true}if(document.loginpage.password.value==""){document.getElementById("password_err_div").style.display="block";document.getElementById("password_err_div").innerHTML="Please specify Password.";A=true}if(A){return false}return true}function show_hide_more_layer(){var B=show_hide_more_layer.arguments;var A=B[0];if(A=="show"){if(more_layer_status_1==0&&more_layer_status_2==0){show_hide_profile_search_layer("hide");enable_disable_form(document.forms.quicksearch,"disable");more_layer_status_1=1;document.getElementById("more").className="more";document.getElementById("more_layer").style.display="block";setTimeout("more_layer_status_2=1",500)}}else{if(A=="hide"){if(more_layer_status_1==1&&more_layer_status_2==1){more_layer_status_1=0;more_layer_status_2=0;document.getElementById("more_layer").style.display="none";document.getElementById("more").className="";enable_disable_form(document.forms.quicksearch,"enable")}}}}function set_gender(){var A=set_gender.arguments;var B=A[0];document.quicksearch.hid_gender.value=B}function chk_quicksearch_community(){if(document.quicksearch.community.value==""){alert("Please select religion.");return false}objMT=document.getElementsByName("mothertonguearray[]");if(objMT[0].value=="doesn't_matter"){objMT[0].value=""}objCT=document.getElementsByName("castearray[]");if(objCT[0].value=="doesn't_matter"){objCT[0].value=""}document.quicksearch.submit();return true}function show_hide_profile_search_layer(){clear_err_divs();var B=show_hide_profile_search_layer.arguments;var A=B[0];if(A=="show"){show_hide_login_layer("hide");show_hide_more_layer("hide");enable_disable_form(document.forms.quicksearch,"disable");document.getElementById("profile_search_layer").style.display="block";document.profileform.profileid.focus()}else{if(A=="hide"){document.profileform.profileid.value="";document.getElementById("id_spacer_2").style.display="block";document.getElementById("profile_search_layer").style.display="none";enable_disable_form(document.forms.quicksearch,"enable")}}}function validate_profile_search(){clear_err_divs();if(document.profileform.profileid.value==""){document.getElementById("id_spacer_2").style.display="none";document.getElementById("profile_id_err_div").style.display="block";document.getElementById("profile_id_err_div").innerHTML="Please specify Profile Id.";return false}else{enable_disable_form(document.forms.quicksearch,"enable")}}function clear_err_divs(){if(document.getElementById("login_err_div")){document.getElementById("login_err_div").innerHTML=""}if(document.getElementById("password_err_div")){document.getElementById("password_err_div").innerHTML=""}if(document.getElementById("profile_id_err_div")){document.getElementById("profile_id_err_div").innerHTML=""}}function enable_disable_form(){var B=enable_disable_form.arguments;var E=B[0];var A=B[1];var D=E.elements.length;for(i=0;i<D;i++){var C=E.elements[i];if(A=="disable"){C.disabled=true}else{if(A=="enable"){C.disabled=false}}}};