/* forgot password popup layer [ begin ] */ $(function(){ $(".v").click(function(){ showForgotPassword(); return false; }); }); function showForgotPassword() { $("#global_layer").remove(); $("body").append("
"); $.post( "/includes/?PIPELINE_SESSION_ID=ab28773cc0a8877c4d633c841cfb5a06" + "layer_forgot_password.jsp", function(data) { fixSelect(true); $("#global_layer").html(data); doc = new doc(); $("#global_layer").css("top",Math.round(doc.innerHeight/2) + doc.pageYOffset - Math.round($("#global_layer").height()/2)); $("#global_layer").css("left",Math.round(doc.innerWidth/2) + doc.pageXOffset - Math.round($("#global_layer").width()/2)); fixPNG($(".png_ie")); $(".mid","#global_layer").height($(".inner","#global_layer").height()); $(".submit_forgot_password").click(function(){ submitForgotPassword(); return false; }); $("#global_layer .close").click(function(){ fixSelect(''); $("#global_layer").remove(); return false; }); } ); } function submitForgotPassword() { $.post( "/user/forgot_password.cmd?PIPELINE_SESSION_ID=ab28773cc0a8877c4d633c841cfb5a06", { userName: $("input[@name=fpUserName]").val() }, function(data) { $("#global_layer").remove(); $("body").append(""); $("#global_layer").html(data); doc = new doc(); $("#global_layer").css("top",Math.round(doc.innerHeight/2) + doc.pageYOffset - Math.round($("#global_layer").height()/2)); $("#global_layer").css("left",Math.round(doc.innerWidth/2) + doc.pageXOffset - Math.round($("#global_layer").width()/2)); fixPNG($(".png_ie")); $(".mid","#global_layer").height($(".inner","#global_layer").height()); $(".close/a","#global_layer").click(function(){ fixSelect(''); $("#global_layer").remove(); return false; }); $(".submit_forgot_password").click(function(){ submitForgotPassword(); return false; }); } ); } /* forgot password popup layer [ end ] */