function Get(a){return document.getElementById(a)}function GoToFirstChlidLink(a){for(i=0;i<a.childNodes.length;i++){if(a.childNodes[i].nodeName.toLowerCase()=="a"){document.location.href=a.childNodes[i].href
}}}function hideElement(a){document.getElementById(a).style.position="absolute";document.getElementById(a).style.visibility="hidden"}function showElement(a){document.getElementById(a).style.position="relative";
document.getElementById(a).style.position="static";document.getElementById(a).style.visibility="visible"}function ChangeLabelColor(e,c,b){var a=e;var d=0;while(a.nodeName.toLowerCase()!="tr"&&d<10){a=a.parentNode;
d++}if(d==10){return}a.style.backgroundColor=b;for(i=0;i<a.childNodes.length;i++){if(a.childNodes[i].nodeName.toLowerCase()=="th"){a.childNodes[i].style.color=c}}}var highlightColor="#10147F";var unHighlightColor="#000000";
var backgroundColor="#E8ECF5";var noColor="#FFFFFF";function HighlightLabel(a){ChangeLabelColor(a,highlightColor,backgroundColor)}function UnHighlightLabel(a){ChangeLabelColor(a,unHighlightColor,noColor)
}function OpenFeaturesWindow(a){featuresWindow=window.open("http://www.ezlandlordforms.com/wizards/demos/tour.aspx?p="+a,"FeaturesTour","width=740,height=480,resizable=no,scrollbars=yes,menubar=no,status=no");
try{if(window.focus){featuresWindow.focus()}}catch(b){}}function FocusSignInForm(){try{var a=document.getElementById("LogInEmail");var b=document.getElementById("LogInPassword");if(a!=null&&a.value==""){a.focus()
}else{if(b!=null){b.focus()}}}catch(c){}}function SetCursorLocation(a){document.getElementById(a).focus()}function WindowOnload(b){var a=window.onload;window.onload=function(){if(a){a()}b}}function findPosX(a){var b=0;
if(a.offsetParent){while(1){b+=a.offsetLeft;if(!a.offsetParent){break}a=a.offsetParent}}else{if(a.x){b+=a.x}}return b}function findPosY(b){var a=0;if(b.offsetParent){while(1){a+=b.offsetTop;if(!b.offsetParent){break
}b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function HideElement(a){document.getElementById(a).style.position="absolute";document.getElementById(a).style.visibility="hidden"}function ShowElement(a){document.getElementById(a).style.position="relative";
document.getElementById(a).style.position="static";document.getElementById(a).style.visibility="visible"}function CreateCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()
}else{var a=""}document.cookie=c+"="+d+a+"; path=/"}function ReadCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)
}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}function EraseCookie(a){createCookie(a,"",-1)}function ClearDefaultText(a,b){if(a.value==b){a.value="";a.style.color="#000000"}}function SetupDefaultText(a,b){if(a.value==b){a.style.color="#969696"
}}function SubmitOnEnter(b,a){var d;var c;if(window.event){d=b.keyCode}else{if(b.which){d=b.which}}if(d==13){a();return false}return true}function FixOffscreenPosition(d){var b=1000;var a=1000;if(parseInt(navigator.appVersion)>3){if(navigator.appName=="Netscape"){a=window.innerWidth;
b=window.innerHeight}if(navigator.appName.indexOf("Microsoft")!=-1){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}}var c=document.all?((document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body).scrollTop:pageYOffset;
if(findPosY(d)+d.offsetHeight>c+b){d.style.top=(c+b-d.offsetHeight-5)+"px"}if(findPosY(d)<(c+2)){d.style.top=(c+2)+"px"}}function nothing(){}if(typeof window.event!="undefined"){document.onkeydown=function(){var b=event.srcElement.type;
var a=event.keyCode;return(a!=8||b=="text"||b=="password"||b=="textarea")}}else{document.onkeypress=function(c){var b=c.target.type;var a=c.keyCode;if(a!=8||b=="text"||b=="password"||b=="textarea"){return true
}else{return false}}}function moneyFormat(b){var d=b.value;var f="";var e="";var c=false;var a="";for(i=0;i<d.length;i++){a=d.substring(i,i+1);if(a>="0"&&a<="9"){if(c){f=""+f+a}else{e=""+e+a}}if(a=="."){if(c){e="";
break}c=true}}if(e==""){e="0"}if(e.length>1){while(e.length>1&&e.substring(0,1)=="0"){e=e.substring(1,e.length)}}if(f.length>2){if(f.substring(2,3)>"4"){f=parseInt(f.substring(0,2))+1;if(f<10){f="0"+f}else{f=""+f
}}else{f=f.substring(0,2)}if(f==100){f="00";e=parseInt(e)+1}}if(f.length==1){f=f+"0"}if(f.length==0){f=f+"00"}if(d.substring(0,1)!="-"||(e=="0"&&f=="00")){b.value=e+"."+f}else{b.value="-"+e+"."+f}}function changeImage(a,b){a.src=b
};
