if(top.location!=self.location){top.location=self.location.href}function $(A){return document.getElementById(A)}function getWindowHeight(){var A=0;if(typeof (window.innerHeight)=="number"){A=window.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){A=(document.documentElement.clientHeight+70)}else{if(document.body&&document.body.clientHeight){A=document.body.clientHeight}}}return A}function setFooter(){var D=getWindowHeight();if(D>0){var C=$("content").offsetHeight;var A=$("footer");var B=A.offsetHeight;if(D-(C+B)>=0){A.style.position="relative";A.style.top=((D-(C+B))-20)+"px"}else{A.style.position="static"}}}function assignInfo(A){if($(A)){if($(A).value==""){$(A).value="Username"}}}function wipeInfo(A){if($(A)){if($(A).value=="Username"){$(A).value=""}}}function assignHandlers(){setFooter();window.onresize=function(){setFooter()};assignInfo("usernameLogin");assignInfo("passwordLogin");if($("usernameLogin")){$("usernameLogin").onfocus=function(){wipeInfo("usernameLogin")};$("usernameLogin").onblur=function(){assignInfo("usernameLogin")}}if($("passwordLogin")){$("passwordLogin").onfocus=function(){wipeInfo("passwordLogin")};$("passwordLogin").onblur=function(){assignInfo("passwordLogin")}}}assignHandlers();