Sys={};var recommendedIEVer="7.0";var recommendedFFVer="3.0.0";var recommendedSafariVer="4.0";$(function(){$("#aspnetForm").attr("action","/Pages/SignedOutHome.aspx");$(".login, .forgotpass").appendTo($("#TopBanner")).show();if($("#email").val()!=""){$("#lblEmail").hide()}if($("#pass").val()!=""){$("#lblPassword").hide()}$("#pass").keydown(function(D){if(D.keyCode==13){$('input[type="submit"').click()}});var A=navigator.userAgent.toLowerCase();var B=$.browser;if(B.mozilla&&B.version<"1.9"){ShowBrowserMessage("Firefox "+B.version)}else{if(B.msie&&B.version<recommendedIEVer){ShowBrowserMessage("Internet Explorer "+B.version)}else{if(B.safari&&B.version<recommendedSafariVer){ShowBrowserMessage("Safari "+B.version)}else{if(A.indexOf("iphone")!=-1){ShowBrowserMessage("an iPhone")}else{if(!B.msie&&!B.safari&&!B.mozilla){ShowBrowserMessage()}}}}}if($("#sendFeedback").length>0){var C=function(){$("#sendfeedbackBg").show().css({opacity:0}).animate({opacity:"0.7"},"slow");$("#sendfeedback").show().css({opacity:0}).animate({opacity:"1"},"slow",function(){$("#sendfeedback").css("opacity",null)});$("#feedbacktxt").show().css("opacity",0.92)};setTimeout(function(){$(".buttons").animate({left:"-=230px"},"slow",C);$(".feedbackHide").animate({opacity:0},"slow")},500);$("#sendFeedback").click(function(){var D=navigator.userAgent;$.ajax({type:"POST",url:"/Pages/SignedOutHome.aspx/SendFeedback",data:'{feedback:"'+$("#feedbacktxt").val()+'",userAgent:"'+D+'",UserID: "'+$("#"+ClientID.hfUA).val()+'"}',contentType:"application/json; charset=utf-8",dataType:"json"});$("#sendFeedback").hide();$("#feedbacktxt").hide();$("#feedbackThx").fadeIn();return false})}});function ShowBrowserMessage(B){var A="";if(B){A="You are currently using "+B+"<br><br>"}A+="The site may work fine, but we officially only support Internet Explorer "+recommendedIEVer+"+, FireFox "+recommendedFFVer+"+, and Safari "+recommendedSafariVer+"+.";$("#browserIssue").html(A).show()}function ShowSystemMessage(){$(function(){edu.Overlay.ShowThemed("div-messages")})}function ShowCodeWindow(){$("#schoolCodes .schoolCode").each(function(){$(this).keyup(function(A){if($(this).val().length==4){$(this).next().focus()}})});edu.Overlay.ShowThemed("div-codewindow")}function GoCheckLicenses(){var A=$("#SchoolCode1").val()+"-"+$("#SchoolCode2").val()+"-"+$("#SchoolCode3").val();window.location.href="LicenseUsage.aspx?code="+A}function screen(A){$("#fullImg").remove();A=$(A);$("<img>").attr("id","fullImg").css({width:704,height:526,position:"absolute",top:0,left:0,"z-index":2,cursor:"pointer"}).appendTo($("#fullScreen")).attr("src",A.attr("src").replace("/thumb","")).click(function(){edu.Overlay.Hide()});$("#caption").text(A.attr("title"));edu.Overlay.Show(document.getElementById("fullScreen"),"#fff")}function LiveChat(){var A="http://www.answerchat.com/cgi-bin/answerchat.exe?account=e0008&cPage=http://localhost:8080/Pages/Home.aspx&browser=Safari&bVersion=5&action=js&backgroundID=0137&buttonFolder=0006&gmt=-4&person=Anonymous&email=Anonymous";var B=window.open(A,"name","height=350,width=600");if(B&&B.focus){B.focus()}}function displayPolicy(A){edu.Overlay.ShowWait();$("#policy_content").load(A,function(){edu.Overlay.ShowThemed("policy")})}function GetTerms(){edu.Overlay.ShowThemed("div-terms")}function GetPrivacy(){edu.Overlay.ShowThemed("div-privacy")};