function Browseris(){var c=navigator.userAgent.toLowerCase();this.osver=1;if(c){var a=c.substring(c.indexOf("windows ")+11);this.osver=parseFloat(a)}this.major=parseInt(navigator.appVersion);this.nav=((c.indexOf("mozilla")!=-1)&&((c.indexOf("spoofer")==-1)&&(c.indexOf("compatible")==-1)));this.nav6=this.nav&&(this.major==5);this.nav6up=this.nav&&(this.major>=5);this.nav7up=false;if(this.nav6up){var b=c.indexOf("netscape/");if(b>=0){this.nav7up=parseInt(c.substring(b+9))>=7}}this.ie=(c.indexOf("msie")!=-1);this.aol=this.ie&&c.indexOf(" aol ")!=-1;if(this.ie){var d=c.substring(c.indexOf("msie ")+5);this.iever=parseInt(d);this.verIEFull=parseFloat(d)}else{this.iever=0}this.ie4up=this.ie&&(this.major>=4);this.ie5up=this.ie&&(this.iever>=5);this.ie55up=this.ie&&(this.verIEFull>=5.5);this.ie6up=this.ie&&(this.iever>=6);this.winnt=((c.indexOf("winnt")!=-1)||(c.indexOf("windows nt")!=-1));this.win32=((this.major>=4)&&(navigator.platform=="Win32"))||(c.indexOf("win32")!=-1)||(c.indexOf("32bit")!=-1);this.mac=(c.indexOf("mac")!=-1);this.w3c=this.nav6up;this.safari=(c.indexOf("safari")!=-1);this.safari125up=false;if(this.safari&&this.major>=5){var b=c.indexOf("safari/");if(b>=0){this.safari125up=parseInt(c.substring(b+7))>=125}}}var browseris=new Browseris();var bis=browseris;function byid(a){return document.getElementById(a)}function newE(a){return document.createElement(a)}function wpf(){return document.forms[MSOWebPartPageFormName]}function startReplacement(){}function GetEventSrcElement(a){if(browseris.nav){return a.target}else{return a.srcElement}}function GetEventKeyCode(a){if(browseris.nav){return a.which}else{return a.keyCode}}function GetInnerText(a){if(browseris.safari){return a.innerHTML}else{if(browseris.nav){return a.textContent}else{return a.innerText}}}var UTF8_1ST_OF_2=192;var UTF8_1ST_OF_3=224;var UTF8_1ST_OF_4=240;var UTF8_TRAIL=128;var HIGH_SURROGATE_BITS=55296;var LOW_SURROGATE_BITS=56320;var SURROGATE_6_BIT=64512;var SURROGATE_ID_BITS=63488;var SURROGATE_OFFSET=65536;function escapeProperlyCoreCore(j,g,e,c){var k="";var f="";var d=0;var h=" \"%<>'&";if(typeof(j)=="undefined"){return""}for(d=0;d<j.length;d++){var l=j.charCodeAt(d);var a=j.charAt(d);if(g&&(a=="#"||a=="?")){k+=j.substr(d);break}if(e&&a=="&"){k+=a;continue}if(l<=127){if(c){k+=a}else{if((l>=97&&l<=122)||(l>=65&&l<=90)||(l>=48&&l<=57)||(g&&(l>=32&&l<=95)&&h.indexOf(a)<0)){k+=a}else{if(l<=15){k+="%0"+l.toString(16).toUpperCase()}else{if(l<=127){k+="%"+l.toString(16).toUpperCase()}}}}}else{if(l<=2047){f=UTF8_1ST_OF_2|(l>>6);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|(l&63);k+="%"+f.toString(16).toUpperCase()}else{if((l&SURROGATE_6_BIT)!=HIGH_SURROGATE_BITS){f=UTF8_1ST_OF_3|(l>>12);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|((l&4032)>>6);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|(l&63);k+="%"+f.toString(16).toUpperCase()}else{if(d<j.length-1){var l=(l&1023)<<10;d++;var b=j.charCodeAt(d);l|=b&1023;l+=SURROGATE_OFFSET;f=UTF8_1ST_OF_4|(l>>18);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|((l&258048)>>12);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|((l&4032)>>6);k+="%"+f.toString(16).toUpperCase();f=UTF8_TRAIL|(l&63);k+="%"+f.toString(16).toUpperCase()}}}}}return k}function escapeProperly(a){return escapeProperlyCoreCore(a,false,false,false)}function escapeProperlyCore(b,a){return escapeProperlyCoreCore(b,a,false,false)}function escapeUrlForCallback(d){var b=d.indexOf("#");var c=d.indexOf("?");if((b>0)&&((c==-1)||(b<c))){var a=d.substr(0,b);if(c>0){a+=d.substr(c)}d=a}return escapeProperlyCoreCore(d,true,false,true)}function PageUrlValidation(a){if(a.substr(0,4)!="http"&&a.substr(0,1)!="/"){var b="Invalid page URL: ";alert(b);return""}else{return a}}function DeferCall(){if(arguments.length==0){return null}var args=arguments;var fn=null;if(browseris.ie5up||browseris.nav6up){eval("if (typeof("+args[0]+")=='function') { fn="+args[0]+"; }")}if(fn==null){return null}if(args.length==1){return fn()}else{if(args.length==2){return fn(args[1])}else{if(args.length==3){return fn(args[1],args[2])}else{if(args.length==4){return fn(args[1],args[2],args[3])}else{if(args.length==5){return fn(args[1],args[2],args[3],args[4])}else{if(args.length==6){return fn(args[1],args[2],args[3],args[4],args[5])}else{if(args.length==7){return fn(args[1],args[2],args[3],args[4],args[5],args[6])}else{if(args.length==8){return fn(args[1],args[2],args[3],args[4],args[5],args[6],args[7])}else{if(args.length==9){return fn(args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8])}else{if(args.length==10){return fn(args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9])}else{var L_TooManyDefers_Text="Too many arguments passed to DeferCall";alert(L_TooManyDefers_Text)}}}}}}}}}}return null}var L_ContainIllegalChar_Text="^1 contains illegal character '^2'.";var L_ContainIllegalString_Text="^1 contains illegal characters or substring.";var LegalUrlChars=new Array(false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,false,true,false,false,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false);function AdmBuildParam(a){var c;var b;for(b=1;b<AdmBuildParam.arguments.length;b++){c=new RegExp("\\^"+b);a=a.replace(c,AdmBuildParam.arguments[b])}return a}function IndexOfIllegalCharInUrlLeafName(c){for(var a=0;a<c.length;a++){var b=c.charCodeAt(a);if(c.charAt(a)=="."&&(a==0||a==(c.length-1))){return a}if(b<160&&(c.charAt(a)=="/"||!LegalUrlChars[b])){return a}}return -1}function IndexOfIllegalCharInUrlPath(c){for(var a=0;a<c.length;a++){var b=c.charCodeAt(a);if(b<160&&!LegalUrlChars[b]){return a}}return -1}function UrlContainsIllegalStrings(a){if(a.indexOf("..")>=0||a.indexOf("//")>=0||a.indexOf("./")>=0||a.indexOf("/.")>=0||a.indexOf(".")==0||a.lastIndexOf(".")==(a.length-1)){return true}return false}function UrlLeafNameValidate(c,a){var d="";if(typeof(c.MessagePrefix)=="string"){d=c.MessagePrefix}else{d=c.id}var b=IndexOfIllegalCharInUrlLeafName(a.Value);if(b>=0){if(typeof(c.errormessage)=="string"){c.errormessage=AdmBuildParam(L_ContainIllegalChar_Text,d,a.Value.charAt(b))}a.IsValid=false}else{if(UrlContainsIllegalStrings(a.Value)){if(typeof(c.errormessage)=="string"){c.errormessage=AdmBuildParam(L_ContainIllegalString_Text,d)}a.IsValid=false}else{a.IsValid=true}}}function UrlPathValidate(c,a){var d="";if(typeof(c.MessagePrefix)=="string"){d=c.MessagePrefix}else{d=c.id}var b=IndexOfIllegalCharInUrlPath(a.Value);if(b>=0){if(typeof(c.errormessage)=="string"){c.errormessage=AdmBuildParam(L_ContainIllegalChar_Text,d,a.Value.charAt(b))}a.IsValid=false}else{if(UrlContainsIllegalStrings(a.Value)){if(typeof(c.errormessage)=="string"){c.errormessage=AdmBuildParam(L_ContainIllegalString_Text,d)}a.IsValid=false}else{a.IsValid=true}}}function IsCheckBoxListSelected(c){if(c==null){return false}var a=c.length;if(a==null){return c.checked}else{for(var b=0;b<a;b++){if(c[b].checked){return true}}}return false}function STSValidatorEnable(d,c,b){var a=document.getElementById(d);if(a==null){return}if(b==true||(a.getAttribute("AlwaysEnableSilent")==true)){a.enabled=(c==true)}else{ValidatorEnable(a,c)}}function encodeScriptQuote(d){var c="";var a=0;for(a=0;a<d.length;a++){var b=d.charAt(a);if(b=="'"){c+="%27"}else{c+=b}}return c}function STSHtmlEncode(d){var c="";var a=0;for(a=0;a<d.length;a++){var b=d.charAt(a);switch(b){case"<":c+="&lt;";break;case">":c+="&gt;";break;case"&":c+="&amp;";break;case'"':c+="&quot;";break;case"'":c+="&#39;";break;default:c+=b;break}}return c}function StAttrQuote(a){a=a.toString();a=a.replace(/&/g,"&amp;");a=a.replace(/\"/g,"&quot;");a=a.replace(/\r/g,"&#13;");return'"'+a+'"'}function STSScriptEncode(d){var c="";var b=0;for(b=0;b<d.length;b++){var a=d.charCodeAt(b);if(a>4095){c+=("\\u"+a.toString(16).toUpperCase())}else{if(a>255){c+=("\\u0"+a.toString(16).toUpperCase())}else{if(a>127){c+=("\\u00"+a.toString(16).toUpperCase())}else{switch(d.charAt(b)){case"\n":c+="\\n";break;case"\r":c+="\\r";break;case'"':c+="\\u0022";break;case"%":c+="\\u0025";break;case"&":c+="\\u0026";break;case"'":c+="\\u0027";break;case"(":c+="\\u0028";break;case")":c+="\\u0029";break;case"+":c+="\\u002b";break;case"/":c+="\\u002f";break;case"<":c+="\\u003c";break;case">":c+="\\u003e";break;case"\\":c+="\\\\";break;default:c+=d.charAt(b)}}}}}return c}function STSScriptEncodeWithQuote(a){return'"'+STSScriptEncode(a)+'"'}var SPOnError_cachedOriginalOnError=window.onerror;var L_PleaseWaitForScripts_Text="Please wait while scripts are loaded...";var g_pageLoadComplete=false;var previousRSChange="";if(document.onreadystatechange!=null){previousRSChange=document.onreadystatechange}document.onreadystatechange=setLoadComplete;function setLoadComplete(){if(previousRSChange!=null&&previousRSChange!=""){eval(previousRSChange)}if(document.readyState=="complete"){g_pageLoadComplete=true;window.status="";window.onerror=SPOnError_cachedOriginalOnError}}function SPOnError_handleErrors(f,b,a){var d=false;if(!g_pageLoadComplete&&document.readyState!="complete"){d=true}if(d){try{window.status=L_PleaseWaitForScripts_Text}catch(c){}return true}else{if(typeof(SPOnError_cachedOriginalOnError)=="function"){window.onerror=SPOnError_cachedOriginalOnError;return SPOnError_cachedOriginalOnError(f,b,a)}else{window.onerror=null;return false}}}window.onerror=SPOnError_handleErrors;var L_Language_Text="1033";var L_ClickOnce1_text="You are already attempting to save this item. If you attempt to save this item again, you may create duplicate information. Would you like to save this item again?";var L_STSRecycleConfirm_Text="Are you sure you want to send this item to the site Recycle Bin?";var L_STSRecycleConfirm1_Text="Are you sure you want to send this folder and all its contents to the site Recycle Bin?";var L_STSDelConfirm_Text="Are you sure you want to delete this item?";var L_STSDelConfirm1_Text="Are you sure you want to delete this folder and all its contents?";var L_NewDocLibTb1_Text="The document could not be created. \nThe required application may not be installed properly, or the template for this document library cannot be opened.\n\nPlease try the following:\n1. Check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document again.\n\n2.  If you have permission to modify this document library, go to General Settings for the library and configure a new template.";var L_NewDocLibTb2_Text="'New Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater. To add a document to this document library, click the 'Upload Document' button.";var L_NewFormLibTb1_Text="The document could not be created.\nThe required application may not be installed properly, or the template for this document library cannot be opened.\n\nPlease try the following:\n1. Check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document again.\n\n2.  If you have permission to modify this document library, go to General Settings for the library and configure a new template.";var L_NewFormLibTb2_Text="This feature requires Microsoft Internet Explorer 6.0 or later and a Windows SharePoint Services-compatible XML editor such as Microsoft Office InfoPath.";var L_ConfirmCheckout_Text="You must check out this item before making changes.  Do you want to check out this item now?";var L_CheckOutRetry_Text="Check out failed, do you want to retry to check out from server?";var L_CannotEditPropertyForLocalCopy_Text="You cannot edit the properties of a document while it is checked out and being modified offline.";var L_CannotEditPropertyCheckout_Text="You cannot edit the properties of this document while it is checked out or locked for editing by another user.";var L_NewFormClickOnce1_Text="New Folder";var L_EnterValidCopyDest_Text="Please enter a valid folder URL and a file name.  Folder URLs must begin with 'http:' or 'https:'.";var L_ConfirmUnlinkCopy_Text="Because this item is a copy, it may still be receiving updates from its source.  You should make sure that this item is removed from the source's list of items to update, otherwise this item may continue to receive updates.  Are you sure that you want to unlink this item?";var L_CopyingOfflineVersionWarning_Text="You currently have this document checked out locally.  Only versions stored on the server can be copied.  To copy the most recent minor version, click OK.  To copy the currently checked out version, click Cancel, check in the document and then retry the copy operation.";var L_Loading_Text="Loading...";var L_Loading_Error_Text="An error has occurred with the data fetch.  Please refresh the page and retry.";var L_WarnkOnce_text="This item contains a custom recurrence pattern.  If you save your changes you will not be able to revert to the previous pattern.";var L_WebFoldersRequired_Text="Please wait while Explorer View is loaded. If Explorer View does not appear, your browser may not support it.";var L_WebFoldersError_Text="Your client does not support opening this list with Windows Explorer.";var L_AccessibleMenu_Text="Menu";var L_NewBlogPost_Text="This feature requires Microsoft Internet Explorer 6.0 or later and a Windows SharePoint Services-compatible blog editor such as Microsoft Office Word 2007 or later.";var L_NewBlogPostFailed_Text="Unable to connect to the blog program because it may be busy or missing. Check the program, and then try again.";var recycleBinEnabled=0;var bIsFileDialogView=false;var g_ViewIdToViewCounterMap=new Array();function UpdateAccessibilityUI(){var b=document.getElementById("TurnOnAccessibility");var a=document.getElementById("TurnOffAccessibility");if(IsAccessibilityFeatureEnabled()){if(b!=null){b.style.display="none"}if(a!=null){a.style.display=""}}else{if(b!=null){b.style.display=""}if(a!=null){a.style.display="none"}}}function SetIsAccessibilityFeatureEnabled(a){if(a){document.cookie="WSS_AccessibilityFeature=true;path=;"}else{document.cookie="WSS_AccessibilityFeature=false;path=;"}}function DeleteCookie(a){document.cookie=a+"=; expires=Thu, 01-Jan-70 00:00:01 GMT"}function GetCookie(d){var b=document.cookie.split("; ");for(var c=0;c<b.length;c++){var a=b[c].split("=");if(d==a[0]){if(a.length>1){return unescapeProperly(a[1])}else{return null}}}return null}function IsAccessibilityFeatureEnabled(){return GetCookie("WSS_AccessibilityFeature")=="true"}function escapeForSync(g){var f="";var c=0;var d=0;var b="\\&|[]";for(c=0;c<g.length;c++){var a=g.charCodeAt(c);var e=g.charAt(c);if(d&&a<=127){f+="]";d=0}if(!d&&a>127){f+="[";d=1}if(b.indexOf(e)>=0){f+="|"}if((a>=97&&a<=122)||(a>=65&&a<=90)||(a>=48&&a<=57)){f+=e}else{if(a<=15){f+="%0"+a.toString(16).toUpperCase()}else{if(a<=127){f+="%"+a.toString(16).toUpperCase()}else{if(a<=255){f+="00"+a.toString(16).toUpperCase()}else{if(a<=4095){f+="0"+a.toString(16).toUpperCase()}else{f+=a.toString(16).toUpperCase()}}}}}}if(d){f+="]"}return f}var g_rgdwchMinEncoded=new Array([0,128,2048,65536,2097152,67108864,2147483648]);function Vutf8ToUnicode(f){var d=0;var b="";var h,e,g;var a,c;while(d<f.length){if(f[d]<=127){b+=String.fromCharCode(f[d++])}else{g=f[d++];a=((g)&32)?(((g)&16)?3:2):1;h=g&(255>>>(2+a));while(a&&(d<f.length)){--a;g=f[d++];if(g==0){return b}if((g&192)!=128){b+="?";break}h=(h<<6)|((g)&63)}if(a){b+="?";break}if(h<g_rgdwchMinEncoded[c]){b+="?";break}else{if(h<=65535){b+=String.fromCharCode(h)}else{if(h<=1114111){h-=SURROGATE_OFFSET;b+=String.fromCharCode(HIGH_SURROGATE_BITS|h>>>10);b+=String.fromCharCode(LOW_SURROGATE_BITS|((h)&1023))}else{b+="?"}}}}}return b}function unescapeProperlyInternal(h){if(h==null){return"null"}var d=0,e=0;var a="";var g=new Array;var c=0;var b,f;while(d<h.length){if(h.charAt(d)=="%"){if(h.charAt(++d)=="u"){b="";for(e=0;e<4&&d<h.length;++e){b+=h.charAt(++d)}while(b.length<4){b+="0"}f=parseInt(b,16);if(isNaN(f)){a+="?"}else{a+=String.fromCharCode(f)}}else{b="";for(e=0;e<2&&d<h.length;++e){b+=h.charAt(d++)}while(b.length<2){b+="0"}f=parseInt(b,16);if(isNaN(f)){if(c){a+=Vutf8ToUnicode(g);c=0;g.length=c}a+="?"}else{g[c++]=f}}}else{if(c){a+=Vutf8ToUnicode(g);c=0;g.length=c}a+=h.charAt(d++)}}if(c){a+=Vutf8ToUnicode(g);c=0;g.length=c}return a}function unescapeProperly(b){var a=null;if((browseris.ie55up||browseris.nav6up)&&(typeof(decodeURIComponent)!="undefined")){a=decodeURIComponent(b)}else{a=unescapeProperlyInternal(b)}return a}function navigateMailToLink(e,b){if(b){return navigateMailToLinkNew(b)}var f="";for(ix=0;ix<e.length;ix++){var a=e.charAt(ix);var d;var c;if(a=="%"){d=e.charAt(ix+1);d+=e.charAt(ix+2);c=d.toLowerCase();if(c=="3a"||c=="2f"||c=="2e"||c=="2d"||c=="3d"){f+=a}else{f+=a;f+="25"}}else{f+=a}}window.location=f}function navigateMailToLinkNew(a){window.location="mailto:?body="+escapeProperly(a)}function newBlogPostOnClient(g,d,b){var a;var c;a=StsOpenEnsureEx("SharePoint.OpenDocuments.3");if(a==null){alert(L_NewBlogPost_Text);return}try{c=a.NewBlogPost(g,d,b)}catch(f){alert(L_NewBlogPostFailed_Text)}}function GetUrlFromWebUrlAndWebRelativeUrl(b,c){var a=(b==null||b.length<=0)?"/":b;if(a.charAt(a.length-1)!="/"){a+="/"}a+=c;return a}var g_updateFormDigestPageLoaded=new Date();function UpdateFormDigest(n,d){try{if((g_updateFormDigestPageLoaded==null)||(typeof(g_updateFormDigestPageLoaded)!="object")){return}var b=new Date();if(b.getTime()-g_updateFormDigestPageLoaded.getTime()<d){return}if((n==null)||(n.length<=0)){return}var l=document.getElementsByName("__REQUESTDIGEST")[0];if((l==null)||(l.tagName.toLowerCase()!="input")||(l.type.toLowerCase()!="hidden")||(l.value==null)||(l.value.length<=0)){return}var g=null;try{g=new ActiveXObject("Msxml2.XMLHTTP")}catch(k){g=null}if(g==null){try{g=new XMLHttpRequest()}catch(k){g=null}}if(g==null){return}g.open("POST",GetUrlFromWebUrlAndWebRelativeUrl(n,"_vti_bin/sites.asmx"),false);g.setRequestHeader("Content-Type","text/xml");g.setRequestHeader("SOAPAction","http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest");g.send('<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">  <soap:Body>    <GetUpdatedFormDigest xmlns="http://schemas.microsoft.com/sharepoint/soap/" />  </soap:Body></soap:Envelope>');var j=g.responseText;if((j==null)||(j.length<=0)){return}var m="<GetUpdatedFormDigestResult>";var f="</GetUpdatedFormDigestResult>";var h=j.indexOf(m);var e=j.indexOf(f,h+m.length);var c=null;if((h>=0)&&(e>h)){var c=j.substring(h+m.length,e)}if((c==null)||(c.length<=0)){return}var a=l.value;l.value=c}catch(k){}}function GetStssyncHandler(a){var c;try{c=new ActiveXObject("SharePoint.StssyncHandler"+a)}catch(b){c=null}return c}function GetStssyncAppNameForType(e,d){if(browseris.ie5up&&browseris.win32){var b;var f=null;if(e!=""){f=GetStssyncHandler(".3")}if(!f){if(e!=""&&e!="calendar"&&e!="contacts"){return false}f=GetStssyncHandler(".2");if(!f||!(b=f.GetStssyncAppName())){return false}}else{if(!(b=f.GetStssyncAppNameForType(e))){return false}}var a="Connect to ";var c="";return a+b+c}else{return d}}function GetStssyncIconPath(b,c){if(browseris.ie5up&&browseris.win32){var a;var f=null;f=GetStssyncHandler(".3");if(!f){return false}try{a=f.GetStssyncIconName();return c+a}catch(d){return b}}else{return b}}function GetStssyncAppName(a){return GetStssyncAppNameForType("",a)}function ExportHailStorm(l,f,m,c,o,h,r,s,b,q){var p=500;var g=20;var n="stssync://sts/?ver=1.1&type="+escapeProperly(l)+"&cmd=add-folder&base-url="+escapeForSync(f)+"&list-url="+escapeForSync("/"+makeAbsUrl(h).substr(f.length+1)+"/")+"&guid="+escapeProperly(m);var k="&site-name="+escapeForSync(c)+"&list-name="+escapeForSync(o);var d="";if(b){d+="&folder-url="+escapeForSync("/"+b.substr(s.length+1))}if(q){d+="&folder-id="+q}if(n.length+k.length+d.length>p&&(c.length>g||o.length>g)){if(c.length>g){c=c.substring(0,g-1)+"..."}if(o.length>g){o=o.substring(0,g-1)+"..."}k="&site-name="+escapeForSync(c)+"&list-name="+escapeForSync(o)}n=n+k+d;var a="The title of the site or list is too long. Shorten the title and try again.";if(n.length>p){alert(a)}else{try{window.location.href=n}catch(j){}}}function GetDiagramLaunchInstalled(){var c;var b=false;try{c=new ActiveXObject("DiagramLaunch.DiagramLauncher");var a;a=c.EnsureDiagramApplication()}catch(d){c=null}return a}var fSSImporter=false;var SSImporterObj;function EnsureSSImporter(){if(!fSSImporter){if(browseris.ie5up&&browseris.win32){var a='try{    SSImporterObj=new ActiveXObject("SharePoint.SpreadsheetLauncher.2");    if (SSImporterObj)        fSSImporter=true;} catch (e){try{    SSImporterObj=new ActiveXObject("SharePoint.SpreadsheetLauncher.1");    if (SSImporterObj)        fSSImporter=true;} catch (e){    fSSImporter=false;};};';var b=new Function(a);b()}}return fSSImporter}function ShowHideSection(c,a){var d=document.getElementById(c);var b=document.getElementById(a);if((d==null)){return}if(d.style.display!="none"){d.style.display="none";b.src="/_layouts/images/plus.gif"}else{d.style.display="";b.src="/_layouts/images/minus.gif"}}function ShowSection(c,a){var d=document.getElementById(c);var b=document.getElementById(a);if((d==null)){return}if(d.style.display=="none"){d.style.display="";b.src="/_layouts/images/minus.gif"}}function ShowHideInputFormSection(c,a){var d=document.getElementById(c);if(d!=null){d.style.display=a?"":"none"}for(var b=1;b<3;b++){d=document.getElementById(c+"_tablerow"+b);if(d!=null){d.style.display=a?"":"none"}}}function ShowHideInputFormControl(id,bHide,bDisableValidators,bSilent){var displaySetting="";if(bHide==true){displaySetting="none"}var validators=eval(id+"_validators");if(validators!=null){for(var i=0;i<validators.length;i++){STSValidatorEnable(validators[i],!bDisableValidators,bSilent)}}for(var i=1;i<=5;i++){var rowId=id+"_tablerow"+i;var row=document.getElementById(rowId);if((row!=null)&&!browseris.mac){row.style.display=displaySetting}}}function SetControlDisabledStatus(c,a){try{if(c.setAttribute){c.setAttribute("disabled",a)}if(!a&&c.removeAttribute){c.removeAttribute("disabled")}}catch(b){}}function SetControlDisabledStatusRecursively(d,a){if(d==null){return}SetControlDisabledStatus(d,a);var c=d.childNodes;for(var b=0;c.length>b;b++){SetControlDisabledStatusRecursively(c.item(b),a)}}function SetChildControlsDisabledStatus(d,a){var c=d.childNodes;for(var b=0;b<c.length;b++){SetControlDisabledStatusRecursively(c.item(b),a)}}var g_PNGImageIds;var g_PNGImageSources;function displayPNGImage(f,e,c,a,d){if(g_PNGImageIds==null){g_PNGImageIds=new Array()}if(g_PNGImageSources==null){g_PNGImageSources=new Array()}var b=null;document.write("<IMG id='"+f+"' ");if(c&&c>0){document.write("width='"+c+"' ")}if(a&&a>0){document.write("height='"+a+"' ")}document.write("alt='"+d+"' ");if(b){document.write("style='"+b+"' ")}document.write(" src='"+e+"' />");g_PNGImageIds.push(f);g_PNGImageSources.push(e)}function ProcessPNGImages(){var a=browseris.ie&&browseris.ie55up&&browseris.verIEFull<7;if(g_PNGImageIds!=null&&a){for(var c=0;c<g_PNGImageIds.length;c++){var b=document.getElementById(g_PNGImageIds[c]);if(b!=null&&g_PNGImageSources[c]!=null){b.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+g_PNGImageSources[c]+"),sizingMethod=scale);";b.src="/_layouts/images/blank.gif"}}}}var CTXTYPE_EDITMENU=0;var CTXTYPE_VIEWSELECTOR=1;function ContextInfo(){this.listBaseType=null;this.listTemplate=null;this.listName=null;this.view=null;this.listUrlDir=null;this.HttpPath=null;this.HttpRoot=null;this.serverUrl=null;this.imagesPath=null;this.PortalUrl=null;this.RecycleBinEnabled=null;this.isWebEditorPreview=null;this.rootFolderForDisplay=null;this.isPortalTemplate=null;this.isModerated=false;this.recursiveView=false;this.displayFormUrl=null;this.editFormUrl=null;this.newFormUrl=null;this.ctxId=null;this.CurrentUserId=null;this.isForceCheckout=false;this.EnableMinorVersions=false;this.ModerationStatus=0;this.verEnabled=0;this.isVersions=0;this.WorkflowsAssociated=false;this.ContentTypesEnabled=false;this.SendToLocationName="";this.SendToLocationUrl=""}function STSPageUrlValidation(a){return PageUrlValidation(a)}function GetSource(a){var b=GetUrlKeyValue("Source");if(b==""){if(a!=null&&a!=""){b=a}else{b=window.location.href}}return escapeProperly(STSPageUrlValidation(b))}function GetUrlKeyValue(d,c,b){var e="";if(b==null){b=window.location.href+""}var a=b.indexOf("&"+d+"=");if(a==-1){a=b.indexOf("?"+d+"=")}if(a!=-1){ndx2=b.indexOf("&",a+1);if(ndx2==-1){ndx2=b.length}e=b.substring(a+d.length+2,ndx2)}if(c){return e}else{return unescapeProperlyInternal(e)}}function LoginAsAnother(a,c){document.cookie="loginAsDifferentAttemptCount=0";if(c=="1"){GoToPage(a)}else{var b=a.indexOf("?")>=0?"&":"?";a+=b+"Source="+escapeProperly(window.location.href);STSNavigate(a)}}function isPortalTemplatePage(a){if(GetUrlKeyValue("PortalTemplate")=="1"||GetUrlKeyValue("PortalTemplate",a)=="1"||(currentCtx!=null&&currentCtx.isPortalTemplate)){return true}else{return false}}function STSNavigate(a){if(isPortalTemplatePage(a)){window.top.location=STSPageUrlValidation(a)}else{window.location=STSPageUrlValidation(a)}}function GoToPage(a){var b=a.indexOf("?")>=0?"&":"?";var c=GetSource();if(c!=null&&c!=""){a+=b+"Source="+c}STSNavigate(a)}function TrimSpaces(c){var d;var b;c=c.toString();var a=c.length;for(d=0;d<a;d++){if(c.charAt(d)!=" "){break}}if(d==a){return""}for(b=a-1;b>d;b--){if(c.charAt(b)!=" "){break}}b++;return c.substring(d,b)}function TrimWhiteSpaces(c){var d;var b;c=c.toString();var a=c.length;for(d=0;d<a;d++){ch=c.charAt(d);if(ch!=" "&&ch!="\t"&&ch!="\n"&&ch!="\r"&&ch!="\f"){break}}if(d==a){return""}for(b=a-1;b>d;b--){ch=c.charAt(b);if(ch!=" "&&ch!="\t"&&ch!="\n"&&ch!="\r"&&ch!="\f"){break}}b++;return c.substring(d,b)}function GetAttributeFromItemTable(d,a,c){var b=d!=null?d.getAttribute(a):null;if(b==null&&d!=null&&c!=null){b=d.getAttribute(c)}return b}function GetDiagramLaunchInstalled(){var c;var b=false;try{c=new ActiveXObject("DiagramLaunch.DiagramLauncher");var a;a=c.EnsureDiagramApplication()}catch(d){c=null}return a}function ShowMtgNavigatorPane(){document.getElementById("MeetingNavigatorPane").style.display="block"}function HideMtgNavigatorPane(){document.getElementById("MeetingNavigatorPane").style.display="none"}function GetMultipleUploadEnabled(){try{if(browseris.ie5up&&!browseris.mac&&(new ActiveXObject("STSUpld.UploadCtl"))){return true}}catch(a){}return false}function SetUploadPageTitle(){if(GetUrlKeyValue("Type")==1){document.title=L_NewFormClickOnce1_Text;if(browseris.ie||browseris.nav6up){var a=document.getElementById("onetidTextTitle");if(a!=null){a.innerHTML=L_NewFormClickOnce1_Text}}}}function GetSelectedValue(a){if(a&&(a.selectedIndex>-1)){return a.options[a.selectedIndex].value}else{return""}}function GetSelectedText(a){if(a&&(a.selectedIndex>-1)){return a.options[a.selectedIndex].text}else{return""}}function MtgShowTimeZone(){if(GetCookie("MtgTimeZone")=="1"){MtgToggleTimeZone()}}function FormatDate(g,b,a,e){var f="<b>Date:</b>";var d="<b>Time:</b>";var c=" - ";if(browseris.win32&&g==a){c=" -\u200e "}if(g==a){document.write(f+" "+g);if(b!=e){document.write(" "+d+" "+b+c+e)}else{document.write(" "+d+" "+b)}}else{document.write(f+" "+g+" ("+b+")"+c+a+" ("+e+")")}}function GetAlertText(a){var c="This meeting date is no longer associated with a meeting in your calendar and scheduling program. Either this meeting date was canceled, or the link to the workspace was removed from the scheduled meeting.";var j="This meeting date was canceled from your calendar and scheduling program. To specify what you want to do with the associated information in the workspace, do the following: In the Meeting Series pane, point to the meeting date, and in the drop-down list, click Keep, Delete, or Move.";var b="This meeting date is no longer linked to the associated meeting in your calendar and scheduling program. To specify what you want to do with the information in the workspace, do the following: In the Meeting Series pane, point to the meeting date, and in the drop-down list, click Keep, Delete, or Move.";var k="This meeting series was canceled from your calendar and scheduling program.";var d="This meeting series is no longer linked to the associated meeting series in your calendar and scheduling program. You can keep or delete the workspace. If you keep the workspace, you will not be able to link it to another scheduled meeting.";var e="This meeting was changed in your calendar and scheduling program from a recurring meeting to a nonrecurring meeting. You can keep or delete the workspace. If you keep the workspace, you will not be able to link it to another scheduled meeting.";var h="This meeting was changed in your calendar and scheduling program from a nonrecurring meeting to a recurring meeting. The current workspace does not support a recurring meeting. In your scheduling program, unlink the meeting from the workspace, and then link the meeting again to a new workspace. The new workspace will automatically support a recurring meeting.";var f="This meeting was created using a calendar and scheduling program that only supports series updates to the Meeting Workspace. Changes you make to individual occurrences of meetings in that program will not appear in the workspace.";var g="This past meeting was modified or canceled from your calendar and scheduling program. To keep, delete or move this meeting in the workspace, use the drop-down menu next to its date in the Meeting Series pane. To update the scheduling information for this meeting in the workspace, use your scheduling program to update this specific meeting occurrence.";var m=a&(16-1);var l=a-m;if(m){switch(m){case 1:return(g_meetingCount==1)?c:j;case 2:return k;case 3:return j;case 4:return(g_meetingCount==1)?c:b;case 5:return d;case 6:return e;case 7:return h;case 8:return g}}else{if(l){switch(l){case 16:return f}}}return null}function retrieveCurrentThemeLink(){var c;var b=document.getElementsByTagName("link");for(var d=0;d<b.length;d++){if((b[d].type=="text/css")&&(b[d].id=="onetidThemeCSS")){c=b[d]}}if(c){var e=/(\.\.\/)+/;var a=c.href;var f=a.replace(e,"/");return f}}function StBuildParam(a){var c;var b;for(b=1;b<StBuildParam.arguments.length;b++){c=new RegExp("\\^"+b);a=a.replace(c,StBuildParam.arguments[b])}return a}JSRequest={QueryString:null,FileName:null,PathName:null,EnsureSetup:function(){if(JSRequest.QueryString!=null){return}JSRequest.QueryString=new Array();var g=window.location.search.substring(1);var d=g.split("&");for(var b=0;b<d.length;b++){var f=d[b].indexOf("=");if(f>-1){var a=d[b].substring(0,f);var c=d[b].substring(f+1);JSRequest.QueryString[a]=c}}var e=JSRequest.PathName=window.location.pathname;var f=e.lastIndexOf("/");if(f>-1){JSRequest.FileName=e.substring(f+1)}else{JSRequest.PageName=e}}};var ExpGroupWPListName="WSS_ExpGroupWPList";var ExpGroupCookiePrefix="WSS_ExpGroup_";var ExpGroupCookieDelimiter="&";var ExpGroupMaxWP=11;var ExpGroupMaxCookieLength=3960;var g_ExpGroupQueue=new Array();var g_ExpGroupInProgress=false;var g_ExpGroupTable=new Array();var g_ExpGroupNeedsState=false;var g_ExpGroupParseStage=false;function ExpCollGroup(e,b){if(document.getElementById("titl"+e)==null){return}viewTable=document.getElementById("titl"+e).parentNode;if(viewTable==null){return}tbodyTags=viewTable.getElementsByTagName("TBODY");numElts=tbodyTags.length;len=e.length;img=document.getElementById(b);if(img==null){return}srcPath=img.src;index=srcPath.lastIndexOf("/");b=srcPath.slice(index+1);var c=false;if(b=="plus.gif"){c=true;displayStr="";img.src="/_layouts/images/minus.gif"}else{c=false;displayStr="none";img.src="/_layouts/images/plus.gif"}for(var a=0;a<numElts;a++){var d=tbodyTags[a];if((d.id!=null)&&(d.id.length>len+4)&&(e==d.id.slice(4).substr(0,len))){if(c){index=d.id.indexOf("_",len+4);if(index!=-1){index=d.id.indexOf("_",index+1);if(index!=-1){continue}}}d.style.display=displayStr;if(c&&d.id.substr(0,4)=="titl"){imgObj=document.getElementById("img_"+d.id.slice(4));imgObj.src="/_layouts/images/plus.gif"}}}if(!g_ExpGroupParseStage){if(g_ExpGroupNeedsState&&ExpGroupFetchWebPartID(e)!=null){if(c){AddGroupToCookie(e)}else{RemoveGroupFromCookie(e)}}if(c){tbody=document.getElementById("tbod"+e+"_");if(tbody!=null){isLoaded=tbody.getAttribute("isLoaded");if(isLoaded=="false"){ExpGroupFetchData(e)}}}}}function ExpGroupFetchData(c){var a='<tr><td></td><td class="ms-gbload">'+L_Loading_Text+"</td></tr>";ExpGroupRenderData(a,c,"false");if(!g_ExpGroupInProgress){var b=ExpGroupFetchGroupString(c);if(b==null){var a='<tr><td></td><td class="ms-gbload">'+L_Loading_Error_Text+"</td></tr>";ExpGroupRenderData(a,c,"false");if(g_ExpGroupQueue.length>0){ExpGroupFetchData(g_ExpGroupQueue.shift())}return}g_ExpGroupInProgress=true;if(!ExpGroupCallServer(b,c)){if(g_ExpGroupQueue.length>0){ExpGroupFetchData(g_ExpGroupQueue.shift())}}}else{g_ExpGroupQueue.push(c)}}function ExpGroupCallServer(groupString,groupName){var webPartID=ExpGroupFetchWebPartID(groupName);if(webPartID!=null){var functionName="ExpGroupCallServer"+webPartID;var functionCall=functionName+"('"+groupString+"','"+groupName+"')";eval(functionCall)}}function ExpGroupReceiveData(c,e){var d="ctx"+e.substring(0,e.indexOf("-"));var a=c.indexOf('CTXName="');if(a!=-1){if(d!="ctx1"){c=c.replace(/ CTXName=\"ctx1\" /g,' CTXName="'+d+'" ')}}var b=false;if(c.length<4){b=true}else{if(c.substring(0,3)!="<tr"){b=true}}if(b){c="<TR><TD>"+c+"</TD></TR>"}ExpGroupRenderData(c,e,"true");g_ExpGroupInProgress=false;if(g_ExpGroupQueue.length>0){ExpGroupFetchData(g_ExpGroupQueue.shift())}}function ExpGroupRenderData(d,e,a){var c=document.getElementById("tbod"+e+"_");var b=document.createElement("DIV");b.innerHTML='<TABLE><TBODY id="tbod'+e+'_" isLoaded="'+a+'">'+d+"</TBODY></TABLE>";c.parentNode.replaceChild(b.firstChild.firstChild,c)}function ExpGroupFetchGroupString(b){titlTbody=document.getElementById("titl"+b);if(titlTbody==null){return null}else{var a=titlTbody.getAttribute("groupString");return a}}function ExpGroupFetchWebPartID(c){var a=c.substring(0,c.indexOf("-"));var b=document.getElementById("GroupByWebPartID"+a);if(b==null){return null}return b.getAttribute("webPartID")}function RenderActiveX(a){document.write(a)}function OnItem(a){DeferCall("OnItemDeferCall",a)}function OnLink(a){DeferCall("OnLinkDeferCall",a)}function MMU_PopMenuIfShowing(a){DeferCall("MMU_PopMenuIfShowingDeferCall",a)}function OnMouseOverFilter(a){DeferCall("OnMouseOverFilterDeferCall",a)}function MMU_EcbTableMouseOverOut(b,a){DeferCall("MMU_EcbTableMouseOverOutDeferCall",b,a)}function OnMouseOverAdHocFilter(b,a){DeferCall("OnMouseOverAdHocFilterDeferCall",b,a)}function MMU_EcbLinkOnFocusBlur(b,c,a){DeferCall("MMU_EcbLinkOnFocusBlurDeferCall",b,c,a)}var bFixTextAlignforBidiCalled=false;function FixTextAlignForBidi(c){if(!browseris.ie||bFixTextAlignforBidiCalled){return}bFixTextAlignforBidiCalled=true;var b=document.styleSheets;if(b!=null){for(var a=0;a<b.length;a++){if((b[a]!=null)&&(b[a].rules!=null)){for(var d=0;d<b[a].rules.length;d++){if(b[a].rules[d].selectorText==".ms-vh"||b[a].rules[d].selectorText==".ms-vh2"||b[a].rules[d].selectorText==".ms-vh-icon"||b[a].rules[d].selectorText==".ms-vh-icon-empty"||b[a].rules[d].selectorText==".ms-vh2-nograd"||b[a].rules[d].selectorText==".ms-vh2-nograd-icon"||b[a].rules[d].selectorText==".ms-vh2-nofilter"||b[a].rules[d].selectorText==".ms-vh2-nofilter-icon"||b[a].rules[d].selectorText==".ms-vhImage"){b[a].rules[d].style.textAlign=c}}}}}}var IMNControlObj=null;var bIMNControlInited=false;var IMNDictionaryObj=null;var bIMNSorted=false;var bIMNOnloadAttached=false;var IMNOrigScrollFunc=null;var bIMNInScrollFunc=false;var IMNSortableObj=null;var IMNHeaderObj=null;var IMNNameDictionaryObj=null;var IMNShowOfflineObj=null;function EnsureIMNControl(){if(!bIMNControlInited){if(browseris.ie5up&&browseris.win32){}bIMNControlInited=true;if(IMNControlObj){IMNControlObj.OnStatusChange=IMNOnStatusChange}}return IMNControlObj}function IMNImageInfo(){this.img=null;this.alt=""}var L_IMNOnline_Text="Available";var L_IMNOffline_Text="Offline";var L_IMNAway_Text="Away";var L_IMNBusy_Text="Busy";var L_IMNDoNotDisturb_Text="Do not disturb";var L_IMNIdle_Text="May be away";var L_IMNBlocked_Text="Blocked";var L_IMNOnline_OOF_Text="Available (OOF)";var L_IMNOffline_OOF_Text="Offline (OOF)";var L_IMNAway_OOF_Text="Away (OOF)";var L_IMNBusy_OOF_Text="Busy (OOF)";var L_IMNDoNotDisturb_OOF_Text="Do not disturb (OOF)";var L_IMNIdle_OOF_Text="May be away (OOF)";function IMNGetStatusImage(d,c){var a="blank.gif";var e="";switch(d){case 0:a="imnon.png";e=L_IMNOnline_Text;break;case 11:a="imnonoof.png";e=L_IMNOnline_OOF_Text;break;case 1:if(c){a="imnoff.png";e=L_IMNOffline_Text}else{a="blank.gif";e=""}break;case 12:if(c){a="imnoffoof.png";e=L_IMNOffline_OOF_Text}else{a="blank.gif";e=""}break;case 2:a="imnaway.png";e=L_IMNAway_Text;break;case 13:a="imnawayoof.png";e=L_IMNAway_OOF_Text;break;case 3:a="imnbusy.png";e=L_IMNBusy_Text;break;case 14:a="imnbusyoof.png";e=L_IMNBusy_OOF_Text;break;case 4:a="imnaway.png";e=L_IMNAway_Text;break;case 5:a="imnbusy.png";e=L_IMNBusy_Text;break;case 6:a="imnaway.png";e=L_IMNAway_Text;break;case 7:a="imnbusy.png";e=L_IMNBusy_Text;break;case 8:a="imnaway.png";e=L_IMNAway_Text;break;case 9:a="imndnd.png";e=L_IMNDoNotDisturb_Text;break;case 15:a="imndndoof.png";e=L_IMNDoNotDisturb_OOF_Text;break;case 10:a="imnbusy.png";e=L_IMNBusy_Text;break;case 16:a="imnidle.png";e=L_IMNIdle_Text;break;case 17:a="imnidleoof.png";e=L_IMNIdle_OOF_Text;break;case 18:a="imnblocked.png";e=L_IMNBlocked_Text;break;case 19:a="imnidlebusy.png";e=L_IMNBusy_Text;break;case 20:a="imnidlebusyoof.png";e=L_IMNBusy_OOF_Text;break}var b=new IMNImageInfo();b.img=a;b.alt=e;return b}function IMNGetHeaderImage(){var a=new IMNImageInfo();a.img="imnhdr.gif";a.alt="";return a}function IMNIsOnlineState(a){if(a==1){return false}return true}function IMNSortList(d,c,e){var b=null;var a=null;if(IMNSortableObj&&IMNSortableObj[d]){a=document.getElementById(d);while(a&&!(a.tagName=="TR"&&typeof(a.Sortable)!="undefined")){a=a.parentNode}b=a;while(b&&b.tagName!="TABLE"){b=b.parentNode}if(b!=null&&a!=null){if(b.rows[1].style.display=="none"){for(i=1;i<4;i++){b.rows[i].style.display="block"}}if(!IMNIsOnlineState(c)&&IMNIsOnlineState(e)){b.rows[2].style.display="none";i=3;while(b.rows[i].id!="Offline"&&b.rows[i].innerText<a.innerText){i++}b.moveRow(a.rowIndex,i);if(b.rows[b.rows.length-3].id=="Offline"){b.rows[b.rows.length-2].style.display="block"}}else{if(IMNIsOnlineState(c)&&!IMNIsOnlineState(e)){if(a.rowIndex==3&&b.rows[a.rowIndex+1].id=="Offline"){b.rows[2].style.display="block"}if(b.rows[b.rows.length-3].id=="Offline"){b.rows[b.rows.length-2].style.display="none"}i=b.rows.length-2;while(b.rows[i-1].id!="Offline"&&b.rows[i].innerText>a.innerText){i--}b.moveRow(a.rowIndex,i)}}}}}function IMNOnStatusChange(b,c,d){if(IMNDictionaryObj){var a=IMNGetStatusImage(c,IMNSortableObj[d]||IMNShowOfflineObj[d]);if(IMNDictionaryObj[d]!=c){if(bIMNSorted){IMNSortList(d,IMNDictionaryObj[d],c)}IMNUpdateImage(d,a);IMNDictionaryObj[d]=c}}}function IMNUpdateImage(b,j){var d=document.images(b);if(d){var e=j.img;var f=j.alt;var a=d.src;var h=a.lastIndexOf("/");var c=a.slice(0,h+1);c+=e;if(a==c&&e!="blank.gif"){return}if(d.altbase){d.alt=d.altbase}else{d.alt=f}var k=browseris.ie&&browseris.ie55up&&browseris.verIEFull<7;var g=(c.toLowerCase().indexOf(".png")>0);if(k){if(g){d.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+c+"),sizingMethod=scale,enabled=true);";d.src="/_layouts/images/blank.gif"}else{d.style.filter="";d.src=c}}else{d.src=c}}}function IMNHandleAccelerator(){if(IMNControlObj){if(event.altKey&&event.shiftKey&&event.keyCode==121){IMNControlObj.DoAccelerator()}}}function IMNImageOnClick(){if(IMNControlObj){IMNShowOOUIKyb();IMNControlObj.DoAccelerator()}}function IMNGetOOUILocation(g){var k=new Object;var b=g;var m=g;var j=0,h=0,c=0;var a=document.dir=="rtl";while(b&&b.tagName!="SPAN"&&b.tagName!="TABLE"){b=b.parentNode}if(b){var d=b.tagName=="TABLE"?b.rows(0).cells(0).childNodes:b.childNodes;var f;for(f=0;f<d.length;++f){if(d.item(f).tagName=="IMG"&&d.item(f).id){m=d.item(f);break}if(d.item(f).tagName=="A"&&d.item(f).childNodes.length>0&&d.item(f).childNodes.item(0).tagName=="IMG"&&d.item(f).childNodes.item(0).id){m=d.item(f).childNodes.item(0);break}}}g=m;while(g){if(a){if(g.scrollWidth>=g.clientWidth+g.scrollLeft){c=g.scrollWidth-g.clientWidth-g.scrollLeft}else{c=g.clientWidth+g.scrollLeft-g.scrollWidth}j+=g.offsetLeft+c}else{j+=g.offsetLeft-g.scrollLeft}h+=g.offsetTop-g.scrollTop;g=g.offsetParent}try{g=window.frameElement;while(g){if(a){if(g.scrollWidth>=g.clientWidth+g.scrollLeft){c=g.scrollWidth-g.clientWidth-g.scrollLeft}else{c=g.clientWidth+g.scrollLeft-g.scrollWidth}j+=g.offsetLeft+c}else{j+=g.offsetLeft-g.scrollLeft}h+=g.offsetTop-g.scrollTop;g=g.offsetParent}}catch(l){}k.objSpan=b;k.objOOUI=m;k.oouiX=j;k.oouiY=h;if(a){k.oouiX+=m.offsetWidth}return k}function IMNShowOOUIMouse(){IMNShowOOUI(0)}function IMNShowOOUIKyb(){IMNShowOOUI(1)}function IMNShowOOUI(c){if(browseris.ie5up&&browseris.win32){var g=window.event.srcElement;var h=g;var a=g;var f=0,e=0;if(EnsureIMNControl()&&IMNNameDictionaryObj){var d=IMNGetOOUILocation(g);h=d.objSpan;a=d.objOOUI;f=d.oouiX;e=d.oouiY;var b=IMNNameDictionaryObj[a.id];if(h){h.onkeydown=IMNHandleAccelerator}IMNControlObj.ShowOOUI(b,c,f,e)}}}function IMNHideOOUI(){if(IMNControlObj){IMNControlObj.HideOOUI();return false}return true}function IMNScroll(){if(!bIMNInScrollFunc){bIMNInScrollFunc=true;IMNHideOOUI()}bIMNInScrollFunc=false;if(IMNOrigScrollFunc==IMNScroll){return true}return IMNOrigScrollFunc?IMNOrigScrollFunc():true}var imnCount=0;var imnElems;var imnElemsCount=0;var imnMarkerBatchSize=4;var imnMarkerBatchDelay=40;function ProcessImn(){if(EnsureIMNControl()&&IMNControlObj.PresenceEnabled){imnElems=document.getElementsByName("imnmark");imnElemsCount=imnElems.length;ProcessImnMarkers()}}function ProcessImnMarkers(){for(i=0;i<imnMarkerBatchSize;++i){if(imnCount==imnElemsCount){return}IMNRC(imnElems[imnCount].sip,imnElems[imnCount]);imnCount++}setTimeout("ProcessImnMarkers()",imnMarkerBatchDelay)}function IMNRC(b,d){if(b==null||b==""){return}if(browseris.ie5up&&browseris.win32){var f=(d)?d:window.event.srcElement;var e=f;var c=f.id;var j=false;if(!IMNDictionaryObj){IMNDictionaryObj=new Object();IMNNameDictionaryObj=new Object();IMNSortableObj=new Object();IMNShowOfflineObj=new Object();if(!IMNOrigScrollFunc){IMNOrigScrollFunc=window.onscroll;window.onscroll=IMNScroll}}if(IMNDictionaryObj){if(!IMNNameDictionaryObj[c]){IMNNameDictionaryObj[c]=b;j=true}if(typeof(IMNDictionaryObj[c])=="undefined"){IMNDictionaryObj[c]=1}if(!IMNSortableObj[c]&&(typeof(f.Sortable)!="undefined")){IMNSortableObj[c]=f.Sortable;if(!bIMNOnloadAttached){if(EnsureIMNControl()&&IMNControlObj.PresenceEnabled){window.attachEvent("onload",IMNSortTable)}bIMNOnloadAttached=true}}if(!IMNShowOfflineObj[c]&&(typeof(f.ShowOfflinePawn)!="undefined")){IMNShowOfflineObj[c]=f.ShowOfflinePawn}if(j&&EnsureIMNControl()&&IMNControlObj.PresenceEnabled){var a=1,g;a=IMNControlObj.GetStatus(b,c);if(IMNIsOnlineState(a)||IMNSortableObj[c]||IMNShowOfflineObj[c]){g=IMNGetStatusImage(a,IMNSortableObj[c]||IMNShowOfflineObj[c]);IMNUpdateImage(c,g);IMNDictionaryObj[c]=a}}}if(j){var h=IMNGetOOUILocation(f);e=h.objSpan;if(e){e.onmouseover=IMNShowOOUIMouse;e.onfocusin=IMNShowOOUIKyb;e.onmouseout=IMNHideOOUI;e.onfocusout=IMNHideOOUI}}}}function IMNSortTable(){var a;for(a in IMNDictionaryObj){IMNSortList(a,1,IMNDictionaryObj[a])}bIMNSorted=true}function IMNRegisterHeader(){if(browseris.ie5up&&browseris.win32){var b=window.event.srcElement;if(!IMNHeaderObj){IMNHeaderObj=new Object()}if(IMNHeaderObj){var c=b.id;if(!IMNHeaderObj[c]){IMNHeaderObj[c]=c;var a;a=IMNGetHeaderImage();IMNUpdateImage(c,a)}}}}var _spBodyOnLoadFunctionNames;if(_spBodyOnLoadFunctionNames==null){_spBodyOnLoadFunctionNames=new Array();_spBodyOnLoadFunctionNames.push("_spBodyOnLoad");_spBodyOnLoadFunctionNames.push("_spRestoreScrollForDiv_rscr")}var _spOriginalFormAction;var _spEscapedFormAction;var _spFormOnSubmitCalled=false;var _spBodyOnPageShowRegistered=false;function _spBodyOnPageShow(a){_spFormOnSubmitCalled=false}function _spResetFormOnSubmitCalledFlag(a,b){_spFormOnSubmitCalled=false}function _spBodyOnLoadWrapper(){if(!_spBodyOnPageShowRegistered&&typeof(browseris)!="undefined"&&!browseris.ie&&typeof(window.addEventListener)=="function"){window.addEventListener("pageshow",_spBodyOnPageShow,false);_spBodyOnPageShowRegistered=true}if(_spOriginalFormAction==null){if(document.forms.length>0){_spOriginalFormAction=document.forms[0].action;var c=window.location.href;var b=c.indexOf("://");if(b>=0){var a=c.substring(b+3);b=a.indexOf("/");if(b>=0){c=a.substring(b)}}_spEscapedFormAction=escapeUrlForCallback(c);document.forms[0].action=_spEscapedFormAction}}_spFormOnSubmitCalled=false;if(typeof(Sys)!="undefined"&&typeof(Sys.Net)!="undefined"&&typeof(Sys.Net.WebRequestManager)!="undefined"){Sys.Net.WebRequestManager.add_invokingRequest(_spResetFormOnSubmitCalledFlag)}ProcessDefaultOnLoad(_spBodyOnLoadFunctionNames)}var _spSuppressFormOnSubmitWrapper=false;function _spFormOnSubmitWrapper(){if(_spSuppressFormOnSubmitWrapper){return true}if(_spFormOnSubmitCalled){return false}if(typeof(_spFormOnSubmit)=="function"){var a=_spFormOnSubmit();var b=false;if(typeof(a)==typeof(b)&&a==b){return false}}RestoreToOriginalFormAction();_spFormOnSubmitCalled=true;return true}function RestoreToOriginalFormAction(){if(_spOriginalFormAction!=null){if(_spEscapedFormAction==document.forms[0].action){document.forms[0].action=_spOriginalFormAction}_spOriginalFormAction=null;_spEscapedFormAction=null}}function DefaultFocus(){if(typeof(_spUseDefaultFocus)!="undefined"){var c=document.getElementsByName("_spFocusHere");var b=null;if(c==null||c.length<=0){b=document.getElementById("_spFocusHere")}else{if(c!=null&&c.length>0){b=c[0]}}if(b!=null){var a=b.getElementsByTagName("a");if(a!=null&&a.length>0){try{a[0].focus()}catch(d){}}}}}function ProcessDefaultOnLoad(onLoadFunctionNames){ProcessPNGImages();UpdateAccessibilityUI();ProcessImn();for(var i=0;i<onLoadFunctionNames.length;i++){var expr="if(typeof("+onLoadFunctionNames[i]+")=='function'){"+onLoadFunctionNames[i]+"();}";eval(expr)}if(typeof(_spUseDefaultFocus)!="undefined"){DefaultFocus()}};