
function popUp(URL) {
x9e5c82afa1c = new Date();
id = x9e5c82afa1c.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=375,height=600,left = 46,top = 33');");
}
function encrypt(xd8736869188, pwd, bayi_no, username, dil) {
if(pwd == null || pwd.length <= 0) {
return null;
}
var x15d7f879338 = "";
for(var xbb689161b5a=0; xbb689161b5a<pwd.length; xbb689161b5a++) {
x15d7f879338 += pwd.charCodeAt(xbb689161b5a).toString();
}
var x74da1343b52 = Math.floor(x15d7f879338.length / 5);
var xe6a6f236b57 = parseInt(x15d7f879338.charAt(x74da1343b52) + x15d7f879338.charAt(x74da1343b52*2) + x15d7f879338.charAt(x74da1343b52*3) + x15d7f879338.charAt(x74da1343b52*4) + x15d7f879338.charAt(x74da1343b52*5));
var x3116964cec6 = Math.ceil(pwd.length / 2);
var x20415157e89 = Math.pow(2, 31) - 1;
if(xe6a6f236b57 < 2) {
return null;
}
var x1c15234cf35 = Math.round(Math.random() * 1000000000) % 100000000;
x15d7f879338 += x1c15234cf35;
while(x15d7f879338.length > 10) {
x15d7f879338 = (parseInt(x15d7f879338.substring(0, 10)) + parseInt(x15d7f879338.substring(10, x15d7f879338.length))).toString();
}
x15d7f879338 = (xe6a6f236b57 * x15d7f879338 + x3116964cec6) % x20415157e89;
var enc_xa61fc6e02a9 = "";
var xfafde0953d2 = "";
for(var xbb689161b5a=0; xbb689161b5a<xd8736869188.length; xbb689161b5a++) {
enc_xa61fc6e02a9 = parseInt(xd8736869188.charCodeAt(xbb689161b5a) ^ Math.floor((x15d7f879338 / x20415157e89) * 255));
if(enc_xa61fc6e02a9 < 16) {
xfafde0953d2 += "0" + enc_xa61fc6e02a9.toString(16);
} else xfafde0953d2 += enc_xa61fc6e02a9.toString(16);
x15d7f879338 = (xe6a6f236b57 * x15d7f879338 + x3116964cec6) % x20415157e89;
}
x1c15234cf35 = x1c15234cf35.toString(16);
while(x1c15234cf35.length < 8)x1c15234cf35 = "0" + x1c15234cf35;
xfafde0953d2 += x1c15234cf35;
popUp ('http://htmlapi2.panelonline.net/login_b.php?dil='+dil+'&bayi_no='+bayi_no+'&username='+username+'&password='+xfafde0953d2+'');
return xfafde0953d2;
}
function x2d9771bb2dd(x6d7f17f28b9, xb7662162424, xdd3fa86a45b) {
x6d7f17f28b9.url.value = location.href;
if (document.all || document.getElementById){
for (xbb689161b5a = 0; xbb689161b5a < x6d7f17f28b9.length; xbb689161b5a++){
var x5c95d49b9b7 = x6d7f17f28b9.elements[xbb689161b5a]
if(x5c95d49b9b7.type.toLowerCase() == "submit" || x5c95d49b9b7.type.toLowerCase() == "back")
x5c95d49b9b7.disabled = true
if(x5c95d49b9b7.type.toLowerCase() == "submit")
x5c95d49b9b7.value = "Quazi"
}
}
if(xb7662162424) {
x6d7f17f28b9.openANewWindow.value = "1";
window.name = "ow";
xc4fd74d22ea(xdd3fa86a45b,650,600);
}
else {
x6d7f17f28b9.openANewWindow.value = "0";
window.name = "yow";
}
}
function xc4fd74d22ea(xdd3fa86a45b,x568019aac9d,xdc6c56fdf7b) {
x = (640 - x568019aac9d)/2, y = (480 - xdc6c56fdf7b)/2;
if (screen) {
y = (screen.availHeight - xdc6c56fdf7b - 70)/2;
x = (screen.availWidth - x568019aac9d)/2;
}
window.open('',xdd3fa86a45b,'width='+x568019aac9d+',height='+xdc6c56fdf7b+',screenX='+x+',screenY='+y+',top='+y+',left='+x+',status=yes,location=yes,resizable=no,scrollbars=yes');
}
 
