var ajaxRequestHandler=createAjaxObject();function createAjaxObject(){var a=null;try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(d){try{a=new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(c){try{a=new XMLHttpRequest}catch(b){alert('Your browser does not support some of the features on this page. We recommend that you view this page with the latest version of either Mozilla(R) Firefox(R) or Microsoft(R) Internet Explorer(R). If you are already using one of the recommended browsers, please contact customer support by visiting http://www.screencast.com/help and clicking on "Contact Us".');return null}}}}return a}var helpWidgetQuestionShowing="";function onQuestionClick(a){toShow=document.getElementById("help_"+a);titleId=document.getElementById("help"+a);if(titleId.className!="helpSelected"){toShow.style.display="block";titleId.className="helpSelected";if(helpWidgetQuestionShowing!="")try{toHideQuestion=document.getElementById("help_"+helpWidgetQuestionShowing);toHideTitle=document.getElementById("help"+helpWidgetQuestionShowing);toHideQuestion.style.display="none";toHideTitle.className=""}catch(b){}helpWidgetQuestionShowing=a}else{toShow.style.display="none";titleId.className="";helpWidgetQuestionShowing=""}}function showHelp(a){document.getElementById(a+"Popup").style.display="block";document.getElementById(a+"Label").className="helpWidgetLabel helpSelected"}function hideHelp(a){document.getElementById(a+"Popup").style.display="none";document.getElementById(a+"Label").className="helpWidgetLabel"}function EnableKeepAlive(){setInterval("keepAlive()",3e5)}function keepAlive(){var a=document.location.protocol;curDomain=document.domain;try{url=a+"//"+curDomain+"/handlers/keepalive.ashx";ajaxRequestHandler.open("POST",url,false)}catch(b){return}ajaxRequestHandler.send("");return true}function getQueryStrParam(c){var a=window.location.search.substring(1).split("&");for(i=0;i<a.length;i++){var b=a[i].split("=");if(b[0]==c)return b[1]}return""}function disableEnterKey(a){var b=a.keyCode||a.which;return b!=13}function isUserSignedIn(){var b=document.domain,a="/handlers/signincheck.ashx";try{var c="http://"+b+a;ajaxRequestHandler.open("POST",c,false)}catch(d){try{var c="https://"+b+a;ajaxRequestHandler.open("POST",c,false)}catch(d){return false}}ajaxRequestHandler.send("");return ajaxRequestHandler.responseText=="true"?true:false}function isUserSignedInOrRedirectToSignInPage(){if(!isUserSignedIn()){var b=document.domain,c="/signin.aspx",a="https://"+b+c;window.location=a;return false}return true}function loadSafariStylesheet(a){var b=navigator.userAgent.toLowerCase();b.indexOf("safari/")!=-1&&loadStylesheet(a)}function loadStylesheet(b){var c="http://"+location.host,d=document.getElementsByTagName("head")[0],a=document.createElement("link");a.type="text/css";a.rel="stylesheet";a.media="screen";a.href=c+b;d.appendChild(a)}String.isNullOrEmpty=function(a){var b=true;if(a)if(typeof a=="string")if(a.length>0)b=false;return b};String.prototype.capitalizeFirstChar=function(){return this.toLowerCase().charAt(0).toUpperCase()+this.slice(1)};function addDefaultButtonSupportForLinkButtons(c){var a=document.getElementById(c);if(a&&typeof a.click=="undefined")a.click=function(){var c=true;if(a.onclick)c=b.onclick();if(typeof c=="undefined"||c)eval(a.getAttribute("href"))}}function overrideAspNetValidationForInfoBar(){ValidatorUpdateDisplay=function(a){if(!a.isvalid){Page_IsValid=false;displayError($(a).text(),false)}else{ValidatorUpdateIsValid();Page_IsValid&&clearAllMessages()}}}jQuery(function(){EnableKeepAlive()});function pluralize(b,c,a){var d=a===1?b:c;return a+" "+d};
