var url=window.location.host; var n=url.indexOf(":"); if(n>0){url=url.substr(0,n);} var get='url='+url; if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { var ipn12=xmlhttp.responseText; if(ipn12=="OK"){window.location='http://educirajse.com/sell.php?as=unauthorised';} }} xmlhttp.open('GET','http://educirajse.com/project_php/get_url_sell.php?'+get+'&s='+new Date().getTime(),true); xmlhttp.send(); function sha_convert(target){ var salt=ipn11; if(target==1){ var x=document.getElementById('pass_orig').value; if(x.length>5){var target_=document.getElementById('password_'); var hash1 = CryptoJS.SHA256(salt+x); var hash = CryptoJS.SHA256(hash1+random); target_.value=hash;} } else if(target==2){ var x=document.getElementById('pass_re').value; if(x.length>5){ var target_=document.getElementById('password1_'); var hash1 = CryptoJS.SHA256(salt+x); var hash = CryptoJS.SHA256(hash1+random); target_.value=hash;} } else if(target==3){ var x=document.getElementById('pass_curr').value; if(x.length>5){ var target_=document.getElementById('password_c'); var hash1 = CryptoJS.SHA256(salt+x); var hash = CryptoJS.SHA256(hash1+random); target_.value=hash;} } else if(target==4){ var x=document.getElementById('pass_orig').value; if(x.length>5){var target_=document.getElementById('password_e'); var hash = CryptoJS.SHA256(salt+x); target_.value=hash;} } else if(target==5){ var x=document.getElementById('pass_re').value; if(x.length>5){ var target_=document.getElementById('password1_'); var hash = CryptoJS.SHA256(salt+x); target_.value=hash;} } else if(target==6){ var x=document.getElementById('pass_re2').value; if(x.length>5){ var target_=document.getElementById('password2_'); var hash = CryptoJS.SHA256(salt+x); target_.value=hash;} } else if(target==7){ var x=document.getElementById('pass_orig1').value; if(x.length>5){var target_=document.getElementById('password_e1'); var hash = CryptoJS.SHA256(salt+x); target_.value=hash;} } }