Sys={};var recommendedIEVer="7.0";var recommendedFFVer="3.0.0";var recommendedSafariVer="4.0";$(document).ready(function(){$("#aspnetForm").attr("action","/Pages/SignedOutHome.aspx");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()}}}}}$("#"+ClientID.UsernameInput).focus();$("#"+ClientID.PasswordInput).keydown(function(C){if(C.keyCode==13){$("#"+ClientID.AcceptButton).click()}});if($("#"+ClientID.hfUA).val()!="0"){$("#sendfeedbackBg").show().css({top:190,opacity:0}).animate({opacity:"0.7",top:"240px"},"slow");$("#sendfeedback").show().css({top:190,opacity:0}).animate({opacity:"1",top:"240px"},"slow",function(){$("#sendfeedback").css("opacity",null)});$("#feedbacktxt").show().css("opacity",0.92);$("#sendFeedback").click(function(){var C=navigator.userAgent;$.ajax({type:"POST",url:"/Pages/SignedOutHome.aspx/SendFeedback",data:'{feedback:"'+$("#feedbacktxt").val()+'",userAgent:"'+C+'",UserID: "'+$("#"+ClientID.hfUA).val()+'"}',contentType:"application/json; charset=utf-8",dataType:"json"});$("#sendFeedback").hide();$("#feedbacktxt").hide();$("#feedbackThx").fadeIn();return false})}});function Validate(){return true}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+"+.";$("#browserMsg").html(A)}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 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()}};