﻿function Browseris(){var a=navigator.userAgent.toLowerCase();this.osver=1;if(a){var d=a.substring(a.indexOf("windows ")+11);this.osver=parseFloat(d)}this.major=parseInt(navigator.appVersion);this.nav=a.indexOf("mozilla")!=-1&&(a.indexOf("spoofer")==-1&&a.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=a.indexOf("netscape/");if(b>=0)this.nav7up=parseInt(a.substring(b+9))>=7}this.ie=a.indexOf("msie")!=-1;this.aol=this.ie&&a.indexOf(" aol ")!=-1;if(this.ie){var c=a.substring(a.indexOf("msie ")+5);this.iever=parseInt(c);this.verIEFull=parseFloat(c)}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=a.indexOf("winnt")!=-1||a.indexOf("windows nt")!=-1;this.win32=this.major>=4&&navigator.platform=="Win32"||a.indexOf("win32")!=-1||a.indexOf("32bit")!=-1;this.mac=a.indexOf("mac")!=-1;this.w3c=this.nav6up;this.safari=a.indexOf("safari")!=-1;this.safari125up=false;if(this.safari&&this.major>=5){var b=a.indexOf("safari/");if(b>=0)this.safari125up=parseInt(a.substring(b+7))>=125}}var browseris=new Browseris,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,UTF8_1ST_OF_3=224,UTF8_1ST_OF_4=240,UTF8_TRAIL=128,HIGH_SURROGATE_BITS=55296,LOW_SURROGATE_BITS=56320,SURROGATE_6_BIT=64512,SURROGATE_ID_BITS=63488,SURROGATE_OFFSET=65536;function escapeProperlyCoreCore(f,g,h,i){var c="",b="",d=0,k=" \"%<>'&";if(typeof f=="undefined")return "";for(d=0;d<f.length;d++){var a=f.charCodeAt(d),e=f.charAt(d);if(g&&(e=="#"||e=="?")){c+=f.substr(d);break}if(h&&e=="&"){c+=e;continue}if(a<=127){if(i)c+=e;else if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||g&&(a>=32&&a<=95)&&k.indexOf(e)<0)c+=e;else if(a<=15)c+="%0"+a.toString(16).toUpperCase();else if(a<=127)c+="%"+a.toString(16).toUpperCase()}else if(a<=2047){b=UTF8_1ST_OF_2|a>>6;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|a&63;c+="%"+b.toString(16).toUpperCase()}else if((a&SURROGATE_6_BIT)!=HIGH_SURROGATE_BITS){b=UTF8_1ST_OF_3|a>>12;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|a&63;c+="%"+b.toString(16).toUpperCase()}else if(d<f.length-1){var a=(a&1023)<<10;d++;var j=f.charCodeAt(d);a|=j&1023;a+=SURROGATE_OFFSET;b=UTF8_1ST_OF_4|a>>18;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|(a&258048)>>12;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=UTF8_TRAIL|a&63;c+="%"+b.toString(16).toUpperCase()}}return c}function escapeProperly(a){return escapeProperlyCoreCore(a,false,false,false)}function escapeProperlyCore(b,a){return escapeProperlyCoreCore(b,a,false,false)}function escapeUrlForCallback(a){var c=a.indexOf("#"),b=a.indexOf("?");if(c>0&&(b==-1||c<b)){var d=a.substr(0,c);if(b>0)d+=a.substr(b);a=d}return escapeProperlyCoreCore(a,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,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'.",L_ContainIllegalString_Text="^1 contains illegal characters or substring.",LegalUrlChars=[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(b){var c,a;for(a=1;a<AdmBuildParam.arguments.length;a++){c=new RegExp("\\^"+a);b=b.replace(c,AdmBuildParam.arguments[a])}return b}function IndexOfIllegalCharInUrlLeafName(b){for(var a=0;a<b.length;a++){var c=b.charCodeAt(a);if(b.charAt(a)=="."&&(a==0||a==b.length-1))return a;if(c<160&&(b.charAt(a)=="/"||!LegalUrlChars[c]))return a}return -1}function IndexOfIllegalCharInUrlPath(b){for(var a=0;a<b.length;a++){var c=b.charCodeAt(a);if(c<160&&!LegalUrlChars[c])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(a,b){var c="";if(typeof a.MessagePrefix=="string")c=a.MessagePrefix;else c=a.id;var d=IndexOfIllegalCharInUrlLeafName(b.Value);if(d>=0){if(typeof a.errormessage=="string")a.errormessage=AdmBuildParam(L_ContainIllegalChar_Text,c,b.Value.charAt(d));b.IsValid=false}else if(UrlContainsIllegalStrings(b.Value)){if(typeof a.errormessage=="string")a.errormessage=AdmBuildParam(L_ContainIllegalString_Text,c);b.IsValid=false}else b.IsValid=true}function UrlPathValidate(a,b){var c="";if(typeof a.MessagePrefix=="string")c=a.MessagePrefix;else c=a.id;var d=IndexOfIllegalCharInUrlPath(b.Value);if(d>=0){if(typeof a.errormessage=="string")a.errormessage=AdmBuildParam(L_ContainIllegalChar_Text,c,b.Value.charAt(d));b.IsValid=false}else if(UrlContainsIllegalStrings(b.Value)){if(typeof a.errormessage=="string")a.errormessage=AdmBuildParam(L_ContainIllegalString_Text,c);b.IsValid=false}else b.IsValid=true}function IsCheckBoxListSelected(a){if(a==null)return false;var c=a.length;if(c==null)return a.checked;else for(var b=0;b<c;b++)if(a[b].checked)return true;return false}function STSValidatorEnable(d,b,c){var a=document.getElementById(d);if(a==null)return;if(c==true||a.getAttribute("AlwaysEnableSilent")==true)a.enabled=b==true;else ValidatorEnable(a,b)}function encodeScriptQuote(c){var b="",a=0;for(a=0;a<c.length;a++){var d=c.charAt(a);if(d=="'")b+="%27";else b+=d}return b}function STSHtmlEncode(c){var a="",b=0;for(b=0;b<c.length;b++){var d=c.charAt(b);switch(d){case "<":a+="&lt;";break;case ">":a+="&gt;";break;case "&":a+="&amp;";break;case '"':a+="&quot;";break;case "'":a+="&#39;";break;default:a+=d}}return a}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 a="",c=0;for(c=0;c<d.length;c++){var b=d.charCodeAt(c);if(b>4095)a+="\\u"+b.toString(16).toUpperCase();else if(b>255)a+="\\u0"+b.toString(16).toUpperCase();else if(b>127)a+="\\u00"+b.toString(16).toUpperCase();else switch(d.charAt(c)){case "\n":a+="\\n";break;case "\r":a+="\\r";break;case '"':a+="\\u0022";break;case "%":a+="\\u0025";break;case "&":a+="\\u0026";break;case "'":a+="\\u0027";break;case "(":a+="\\u0028";break;case ")":a+="\\u0029";break;case "+":a+="\\u002b";break;case "/":a+="\\u002f";break;case "<":a+="\\u003c";break;case ">":a+="\\u003e";break;case "\\":a+="\\\\";break;default:a+=d.charAt(c)}}return a}function STSScriptEncodeWithQuote(a){return '"'+STSScriptEncode(a)+'"'}var SPOnError_cachedOriginalOnError=window.onerror,L_PleaseWaitForScripts_Text="Please wait while scripts are loaded...",g_pageLoadComplete=false,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(c,d,b){var a=false;if(!g_pageLoadComplete&&document.readyState!="complete")a=true;if(a){try{window.status=L_PleaseWaitForScripts_Text}catch(e){}return true}else if(typeof SPOnError_cachedOriginalOnError=="function"){window.onerror=SPOnError_cachedOriginalOnError;return SPOnError_cachedOriginalOnError(c,d,b)}else{window.onerror=null;return false}}window.onerror=SPOnError_handleErrors;var L_Language_Text="1033",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?",L_STSRecycleConfirm_Text="Are you sure you want to send this item to the site Recycle Bin?",L_STSRecycleConfirm1_Text="Are you sure you want to send this folder and all its contents to the site Recycle Bin?",L_STSDelConfirm_Text="Are you sure you want to delete this item?",L_STSDelConfirm1_Text="Are you sure you want to delete this folder and all its contents?",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.",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.",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.",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.",L_ConfirmCheckout_Text="You must check out this item before making changes.  Do you want to check out this item now?",L_CheckOutRetry_Text="Check out failed, do you want to retry to check out from server?",L_CannotEditPropertyForLocalCopy_Text="You cannot edit the properties of a document while it is checked out and being modified offline.",L_CannotEditPropertyCheckout_Text="You cannot edit the properties of this document while it is checked out or locked for editing by another user.",L_NewFormClickOnce1_Text="New Folder",L_EnterValidCopyDest_Text="Please enter a valid folder URL and a file name.  Folder URLs must begin with 'http:' or 'https:'.",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?",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.",L_Loading_Text="Loading...",L_Loading_Error_Text="An error has occurred with the data fetch.  Please refresh the page and retry.",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.",L_WebFoldersRequired_Text="Please wait while Explorer View is loaded. If Explorer View does not appear, your browser may not support it.",L_WebFoldersError_Text="Your client does not support opening this list with Windows Explorer.",L_AccessibleMenu_Text="Menu",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.",L_NewBlogPostFailed_Text="Unable to connect to the blog program because it may be busy or missing. Check the program, and then try again.",recycleBinEnabled=0,bIsFileDialogView=false,g_ViewIdToViewCounterMap=[];function UpdateAccessibilityUI(){var a=document.getElementById("TurnOnAccessibility"),b=document.getElementById("TurnOffAccessibility");if(IsAccessibilityFeatureEnabled()){if(a!=null)a.style.display="none";if(b!=null)b.style.display=""}else{if(a!=null)a.style.display="";if(b!=null)b.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 c=document.cookie.split("; ");for(var b=0;b<c.length;b++){var a=c[b].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(e){var b="",d=0,c=0,g="\\&|[]";for(d=0;d<e.length;d++){var a=e.charCodeAt(d),f=e.charAt(d);if(c&&a<=127){b+="]";c=0}if(!c&&a>127){b+="[";c=1}if(g.indexOf(f)>=0)b+="|";if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)b+=f;else if(a<=15)b+="%0"+a.toString(16).toUpperCase();else if(a<=127)b+="%"+a.toString(16).toUpperCase();else if(a<=255)b+="00"+a.toString(16).toUpperCase();else if(a<=4095)b+="0"+a.toString(16).toUpperCase();else b+=a.toString(16).toUpperCase()}if(c)b+="]";return b}var g_rgdwchMinEncoded=new Array([0,128,2048,65536,2097152,67108864,2147483648]);function Vutf8ToUnicode(d){var e=0,a="",b,h,c,f,g;while(e<d.length)if(d[e]<=127)a+=String.fromCharCode(d[e++]);else{c=d[e++];f=c&32?c&16?3:2:1;b=c&255>>>2+f;while(f&&e<d.length){--f;c=d[e++];if(c==0)return a;if((c&192)!=128){a+="?";break}b=b<<6|c&63}if(f){a+="?";break}if(b<g_rgdwchMinEncoded[g]){a+="?";break}else if(b<=65535)a+=String.fromCharCode(b);else if(b<=1114111){b-=SURROGATE_OFFSET;a+=String.fromCharCode(HIGH_SURROGATE_BITS|b>>>10);a+=String.fromCharCode(LOW_SURROGATE_BITS|b&1023)}else a+="?"}return a}function unescapeProperlyInternal(c){if(c==null)return "null";var e=0,g=0,d="",f=[],a=0,b,h;while(e<c.length)if(c.charAt(e)=="%")if(c.charAt(++e)=="u"){b="";for(g=0;g<4&&e<c.length;++g)b+=c.charAt(++e);while(b.length<4)b+="0";h=parseInt(b,16);if(isNaN(h))d+="?";else d+=String.fromCharCode(h)}else{b="";for(g=0;g<2&&e<c.length;++g)b+=c.charAt(e++);while(b.length<2)b+="0";h=parseInt(b,16);if(isNaN(h)){if(a){d+=Vutf8ToUnicode(f);a=0;f.length=a}d+="?"}else f[a++]=h}else{if(a){d+=Vutf8ToUnicode(f);a=0;f.length=a}d+=c.charAt(e++)}if(a){d+=Vutf8ToUnicode(f);a=0;f.length=a}return d}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(d,f){if(f)return navigateMailToLinkNew(f);var b="";for(ix=0;ix<d.length;ix++){var c=d.charAt(ix),e,a;if(c=="%"){e=d.charAt(ix+1);e+=d.charAt(ix+2);a=e.toLowerCase();if(a=="3a"||a=="2f"||a=="2e"||a=="2d"||a=="3d")b+=c;else{b+=c;b+="25"}}else b+=c}window.location=b}function navigateMailToLinkNew(a){window.location="mailto:?body="+escapeProperly(a)}function newBlogPostOnClient(b,d,c){var a,e;a=StsOpenEnsureEx("SharePoint.OpenDocuments.3");if(a==null){alert(L_NewBlogPost_Text);return}try{e=a.NewBlogPost(b,d,c)}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(e,i){try{if(g_updateFormDigestPageLoaded==null||typeof g_updateFormDigestPageLoaded!="object")return;var k=new Date;if(k.getTime()-g_updateFormDigestPageLoaded.getTime()<i)return;if(e==null||e.length<=0)return;var b=document.getElementsByName("__REQUESTDIGEST")[0];if(b==null||b.tagName.toLowerCase()!="input"||b.type.toLowerCase()!="hidden"||b.value==null||b.value.length<=0)return;var a=null;try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(m){a=null}if(a==null)try{a=new XMLHttpRequest}catch(m){a=null}if(a==null)return;a.open("POST",GetUrlFromWebUrlAndWebRelativeUrl(e,"_vti_bin/sites.asmx"),false);a.setRequestHeader("Content-Type","text/xml");a.setRequestHeader("SOAPAction","http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest");a.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 c=a.responseText;if(c==null||c.length<=0)return;var g="<GetUpdatedFormDigestResult>",j="</GetUpdatedFormDigestResult>",d=c.indexOf(g),h=c.indexOf(j,d+g.length),f=null;if(d>=0&&h>d)var f=c.substring(d+g.length,h);if(f==null||f.length<=0)return;var l=b.value;b.value=f}catch(m){}}function GetStssyncHandler(b){var a;try{a=new ActiveXObject("SharePoint.StssyncHandler"+b)}catch(c){a=null}return a}function GetStssyncAppNameForType(b,f){if(browseris.ie5up&&browseris.win32){var c,a=null;if(b!="")a=GetStssyncHandler(".3");if(!a){if(b!=""&&b!="calendar"&&b!="contacts")return false;a=GetStssyncHandler(".2");if(!a||!(c=a.GetStssyncAppName()))return false}else if(!(c=a.GetStssyncAppNameForType(b)))return false;var d="Connect to ",e="";return d+c+e}else return f}function GetStssyncIconPath(c,d){if(browseris.ie5up&&browseris.win32){var b,a=null;a=GetStssyncHandler(".3");if(!a)return false;try{b=a.GetStssyncIconName();return d+b}catch(e){return c}}else return c}function GetStssyncAppName(a){return GetStssyncAppNameForType("",a)}function ExportHailStorm(o,j,n,c,b,m,p,l,h,i){var g=500,a=20,d="stssync://sts/?ver=1.1&type="+escapeProperly(o)+"&cmd=add-folder"+"&base-url="+escapeForSync(j)+"&list-url="+escapeForSync("/"+makeAbsUrl(m).substr(j.length+1)+"/")+"&guid="+escapeProperly(n),f="&site-name="+escapeForSync(c)+"&list-name="+escapeForSync(b),e="";if(h)e+="&folder-url="+escapeForSync("/"+h.substr(l.length+1));if(i)e+="&folder-id="+i;if(d.length+f.length+e.length>g&&(c.length>a||b.length>a)){if(c.length>a)c=c.substring(0,a-1)+"...";if(b.length>a)b=b.substring(0,a-1)+"...";f="&site-name="+escapeForSync(c)+"&list-name="+escapeForSync(b)}d=d+f+e;var k="The title of the site or list is too long. Shorten the title and try again.";if(d.length>g)alert(k);else try{window.location.href=d}catch(q){}}function GetDiagramLaunchInstalled(){var a,c=false;try{a=new ActiveXObject("DiagramLaunch.DiagramLauncher");var b;b=a.EnsureDiagramApplication()}catch(d){a=null}return b}var fSSImporter=false,SSImporterObj;function EnsureSSImporter(){if(!fSSImporter)if(browseris.ie5up&&browseris.win32){var b='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;};};',a=new Function(b);a()}return fSSImporter}function ShowHideSection(c,d){var a=document.getElementById(c),b=document.getElementById(d);if(a==null)return;if(a.style.display!="none"){a.style.display="none";b.src="/_layouts/images/plus.gif"}else{a.style.display="";b.src="/_layouts/images/minus.gif"}}function ShowSection(b,c){var a=document.getElementById(b),d=document.getElementById(c);if(a==null)return;if(a.style.display=="none"){a.style.display="";d.src="/_layouts/images/minus.gif"}}function ShowHideInputFormSection(c,d){var a=document.getElementById(c);if(a!=null)a.style.display=d?"":"none";for(var b=1;b<3;b++){a=document.getElementById(c+"_tablerow"+b);if(a!=null)a.style.display=d?"":"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,row=document.getElementById(rowId);if(row!=null&&!browseris.mac)row.style.display=displaySetting}}function SetControlDisabledStatus(a,b){try{if(a.setAttribute)a.setAttribute("disabled",b);if(!b&&a.removeAttribute)a.removeAttribute("disabled")}catch(c){}}function SetControlDisabledStatusRecursively(a,c){if(a==null)return;SetControlDisabledStatus(a,c);var d=a.childNodes;for(var b=0;d.length>b;b++)SetControlDisabledStatusRecursively(d.item(b),c)}function SetChildControlsDisabledStatus(d,c){var b=d.childNodes;for(var a=0;a<b.length;a++)SetControlDisabledStatusRecursively(b.item(a),c)}var g_PNGImageIds,g_PNGImageSources;function displayPNGImage(e,d,b,a,f){if(g_PNGImageIds==null)g_PNGImageIds=[];if(g_PNGImageSources==null)g_PNGImageSources=[];var c=null;document.write("<IMG id='"+e+"' ");if(b&&b>0)document.write("width='"+b+"' ");if(a&&a>0)document.write("height='"+a+"' ");document.write("alt='"+f+"' ");if(c)document.write("style='"+c+"' ");document.write(" src='"+d+"' />");g_PNGImageIds.push(e);g_PNGImageSources.push(d)}function ProcessPNGImages(){var c=browseris.ie&&browseris.ie55up&&browseris.verIEFull<7;if(g_PNGImageIds!=null&&c)for(var a=0;a<g_PNGImageIds.length;a++){var b=document.getElementById(g_PNGImageIds[a]);if(b!=null&&g_PNGImageSources[a]!=null){b.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+g_PNGImageSources[a]+"),sizingMethod=scale);";b.src="/_layouts/images/blank.gif"}}}var CTXTYPE_EDITMENU=0,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(b){var a=GetUrlKeyValue("Source");if(a=="")if(b!=null&&b!="")a=b;else a=window.location.href;return escapeProperly(STSPageUrlValidation(a))}function GetUrlKeyValue(d,e,a){var c="";if(a==null)a=window.location.href+"";var b=a.indexOf("&"+d+"=");if(b==-1)b=a.indexOf("?"+d+"=");if(b!=-1){ndx2=a.indexOf("&",b+1);if(ndx2==-1)ndx2=a.length;c=a.substring(b+d.length+2,ndx2)}if(e)return c;else return unescapeProperlyInternal(c)}function LoginAsAnother(a,b){document.cookie="loginAsDifferentAttemptCount=0";if(b=="1")GoToPage(a);else{var c=a.indexOf("?")>=0?"&":"?";a+=c+"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(b){var c=b.indexOf("?")>=0?"&":"?",a=GetSource();if(a!=null&&a!="")b+=c+"Source="+a;STSNavigate(b)}function TrimSpaces(c){var a,b;c=c.toString();var d=c.length;for(a=0;a<d;a++)if(c.charAt(a)!=" ")break;if(a==d)return "";for(b=d-1;b>a;b--)if(c.charAt(b)!=" ")break;b++;return c.substring(a,b)}function TrimWhiteSpaces(c){var a,b;c=c.toString();var d=c.length;for(a=0;a<d;a++){ch=c.charAt(a);if(ch!=" "&&ch!="\t"&&ch!="\n"&&ch!="\r"&&ch!="\f")break}if(a==d)return "";for(b=d-1;b>a;b--){ch=c.charAt(b);if(ch!=" "&&ch!="\t"&&ch!="\n"&&ch!="\r"&&ch!="\f")break}b++;return c.substring(a,b)}function GetAttributeFromItemTable(a,d,c){var b=a!=null?a.getAttribute(d):null;if(b==null&&a!=null&&c!=null)b=a.getAttribute(c);return b}function GetDiagramLaunchInstalled(){var a,c=false;try{a=new ActiveXObject("DiagramLaunch.DiagramLauncher");var b;b=a.EnsureDiagramApplication()}catch(d){a=null}return b}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(a,b,d,e){var f="<b>Date:</b>",g="<b>Time:</b>",c=" - ";if(browseris.win32&&a==d)c=" -‎ ";if(a==d){document.write(f+" "+a);if(b!=e)document.write(" "+g+" "+b+c+e);else document.write(" "+g+" "+b)}else document.write(f+" "+a+" ("+b+")"+c+d+" ("+e+")")}function GetAlertText(e){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.",b="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.",l="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.",g="This meeting series was canceled from your calendar and scheduling program.",k="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.",i="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.",j="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.",h="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.",f="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.",a=e&16-1,d=e-a;if(a)switch(a){case 1:return g_meetingCount==1?c:b;case 2:return g;case 3:return b;case 4:return g_meetingCount==1?c:l;case 5:return k;case 6:return i;case 7:return j;case 8:return f}else if(d)switch(d){case 16:return h}return null}function retrieveCurrentThemeLink(){var c,b=document.getElementsByTagName("link");for(var a=0;a<b.length;a++)if(b[a].type=="text/css"&&b[a].id=="onetidThemeCSS")c=b[a];if(c){var f=/(\.\.\/)+/,d=c.href,e=d.replace(f,"/");return e}}function StBuildParam(b){var c,a;for(a=1;a<StBuildParam.arguments.length;a++){c=new RegExp("\\^"+a);b=b.replace(c,StBuildParam.arguments[a])}return b}JSRequest={QueryString:null,FileName:null,PathName:null,EnsureSetup:function(){if(JSRequest.QueryString!=null)return;JSRequest.QueryString=[];var e=window.location.search.substring(1),c=e.split("&");for(var a=0;a<c.length;a++){var b=c[a].indexOf("=");if(b>-1){var g=c[a].substring(0,b),f=c[a].substring(b+1);JSRequest.QueryString[g]=f}}var d=JSRequest.PathName=window.location.pathname,b=d.lastIndexOf("/");if(b>-1)JSRequest.FileName=d.substring(b+1);else JSRequest.PageName=d}};var ExpGroupWPListName="WSS_ExpGroupWPList",ExpGroupCookiePrefix="WSS_ExpGroup_",ExpGroupCookieDelimiter="&",ExpGroupMaxWP=11,ExpGroupMaxCookieLength=3960,g_ExpGroupQueue=[],g_ExpGroupInProgress=false,g_ExpGroupTable=[],g_ExpGroupNeedsState=false,g_ExpGroupParseStage=false;function ExpCollGroup(a,d){if(document.getElementById("titl"+a)==null)return;viewTable=document.getElementById("titl"+a).parentNode;if(viewTable==null)return;tbodyTags=viewTable.getElementsByTagName("TBODY");numElts=tbodyTags.length;len=a.length;img=document.getElementById(d);if(img==null)return;srcPath=img.src;index=srcPath.lastIndexOf("/");d=srcPath.slice(index+1);var c=false;if(d=="plus.gif"){c=true;displayStr="";img.src="/_layouts/images/minus.gif"}else{c=false;displayStr="none";img.src="/_layouts/images/plus.gif"}for(var e=0;e<numElts;e++){var b=tbodyTags[e];if(b.id!=null&&b.id.length>len+4&&a==b.id.slice(4).substr(0,len)){if(c){index=b.id.indexOf("_",len+4);if(index!=-1){index=b.id.indexOf("_",index+1);if(index!=-1)continue}}b.style.display=displayStr;if(c&&b.id.substr(0,4)=="titl"){imgObj=document.getElementById("img_"+b.id.slice(4));imgObj.src="/_layouts/images/plus.gif"}}}if(!g_ExpGroupParseStage){if(g_ExpGroupNeedsState&&ExpGroupFetchWebPartID(a)!=null)if(c)AddGroupToCookie(a);else RemoveGroupFromCookie(a);if(c){tbody=document.getElementById("tbod"+a+"_");if(tbody!=null){isLoaded=tbody.getAttribute("isLoaded");if(isLoaded=="false")ExpGroupFetchData(a)}}}}function ExpGroupFetchData(a){var c='<tr><td></td><td class="ms-gbload">'+L_Loading_Text+"</td></tr>";ExpGroupRenderData(c,a,"false");if(!g_ExpGroupInProgress){var b=ExpGroupFetchGroupString(a);if(b==null){var c='<tr><td></td><td class="ms-gbload">'+L_Loading_Error_Text+"</td></tr>";ExpGroupRenderData(c,a,"false");if(g_ExpGroupQueue.length>0)ExpGroupFetchData(g_ExpGroupQueue.shift());return}g_ExpGroupInProgress=true;if(!ExpGroupCallServer(b,a))if(g_ExpGroupQueue.length>0)ExpGroupFetchData(g_ExpGroupQueue.shift())}else g_ExpGroupQueue.push(a)}function ExpGroupCallServer(groupString,groupName){var webPartID=ExpGroupFetchWebPartID(groupName);if(webPartID!=null){var functionName="ExpGroupCallServer"+webPartID,functionCall=functionName+"('"+groupString+"','"+groupName+"')";eval(functionCall)}}function ExpGroupReceiveData(a,c){var d="ctx"+c.substring(0,c.indexOf("-")),e=a.indexOf('CTXName="');if(e!=-1)if(d!="ctx1")a=a.replace(/ CTXName=\"ctx1\" /g,' CTXName="'+d+'" ');var b=false;if(a.length<4)b=true;else if(a.substring(0,3)!="<tr")b=true;if(b)a="<TR><TD>"+a+"</TD></TR>";ExpGroupRenderData(a,c,"true");g_ExpGroupInProgress=false;if(g_ExpGroupQueue.length>0)ExpGroupFetchData(g_ExpGroupQueue.shift())}function ExpGroupRenderData(d,a,e){var c=document.getElementById("tbod"+a+"_"),b=document.createElement("DIV");b.innerHTML='<TABLE><TBODY id="tbod'+a+'_" isLoaded="'+e+'">'+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(b){var c=b.substring(0,b.indexOf("-")),a=document.getElementById("GroupByWebPartID"+c);if(a==null)return null;return a.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(c,b,a){DeferCall("MMU_EcbLinkOnFocusBlurDeferCall",c,b,a)}var bFixTextAlignforBidiCalled=false;function FixTextAlignForBidi(d){if(!browseris.ie||bFixTextAlignforBidiCalled)return;bFixTextAlignforBidiCalled=true;var a=document.styleSheets;if(a!=null)for(var b=0;b<a.length;b++)if(a[b]!=null&&a[b].rules!=null)for(var c=0;c<a[b].rules.length;c++)if(a[b].rules[c].selectorText==".ms-vh"||a[b].rules[c].selectorText==".ms-vh2"||a[b].rules[c].selectorText==".ms-vh-icon"||a[b].rules[c].selectorText==".ms-vh-icon-empty"||a[b].rules[c].selectorText==".ms-vh2-nograd"||a[b].rules[c].selectorText==".ms-vh2-nograd-icon"||a[b].rules[c].selectorText==".ms-vh2-nofilter"||a[b].rules[c].selectorText==".ms-vh2-nofilter-icon"||a[b].rules[c].selectorText==".ms-vhImage")a[b].rules[c].style.textAlign=d}var IMNControlObj=null,bIMNControlInited=false,IMNDictionaryObj=null,bIMNSorted=false,bIMNOnloadAttached=false,IMNOrigScrollFunc=null,bIMNInScrollFunc=false,IMNSortableObj=null,IMNHeaderObj=null,IMNNameDictionaryObj=null,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",L_IMNOffline_Text="Offline",L_IMNAway_Text="Away",L_IMNBusy_Text="Busy",L_IMNDoNotDisturb_Text="Do not disturb",L_IMNIdle_Text="May be away",L_IMNBlocked_Text="Blocked",L_IMNOnline_OOF_Text="Available (OOF)",L_IMNOffline_OOF_Text="Offline (OOF)",L_IMNAway_OOF_Text="Away (OOF)",L_IMNBusy_OOF_Text="Busy (OOF)",L_IMNDoNotDisturb_OOF_Text="Do not disturb (OOF)",L_IMNIdle_OOF_Text="May be away (OOF)";function IMNGetStatusImage(e,d){var b="blank.gif",a="";switch(e){case 0:b="imnon.png";a=L_IMNOnline_Text;break;case 11:b="imnonoof.png";a=L_IMNOnline_OOF_Text;break;case 1:if(d){b="imnoff.png";a=L_IMNOffline_Text}else{b="blank.gif";a=""}break;case 12:if(d){b="imnoffoof.png";a=L_IMNOffline_OOF_Text}else{b="blank.gif";a=""}break;case 2:b="imnaway.png";a=L_IMNAway_Text;break;case 13:b="imnawayoof.png";a=L_IMNAway_OOF_Text;break;case 3:b="imnbusy.png";a=L_IMNBusy_Text;break;case 14:b="imnbusyoof.png";a=L_IMNBusy_OOF_Text;break;case 4:b="imnaway.png";a=L_IMNAway_Text;break;case 5:b="imnbusy.png";a=L_IMNBusy_Text;break;case 6:b="imnaway.png";a=L_IMNAway_Text;break;case 7:b="imnbusy.png";a=L_IMNBusy_Text;break;case 8:b="imnaway.png";a=L_IMNAway_Text;break;case 9:b="imndnd.png";a=L_IMNDoNotDisturb_Text;break;case 15:b="imndndoof.png";a=L_IMNDoNotDisturb_OOF_Text;break;case 10:b="imnbusy.png";a=L_IMNBusy_Text;break;case 16:b="imnidle.png";a=L_IMNIdle_Text;break;case 17:b="imnidleoof.png";a=L_IMNIdle_OOF_Text;break;case 18:b="imnblocked.png";a=L_IMNBlocked_Text;break;case 19:b="imnidlebusy.png";a=L_IMNBusy_Text;break;case 20:b="imnidlebusyoof.png";a=L_IMNBusy_OOF_Text}var c=new IMNImageInfo;c.img=b;c.alt=a;return c}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(e,c,d){var a=null,b=null;if(IMNSortableObj&&IMNSortableObj[e]){b=document.getElementById(e);while(b&&!(b.tagName=="TR"&&typeof b.Sortable!="undefined"))b=b.parentNode;a=b;while(a&&a.tagName!="TABLE")a=a.parentNode;if(a!=null&&b!=null){if(a.rows[1].style.display=="none")for(i=1;i<4;i++)a.rows[i].style.display="block";if(!IMNIsOnlineState(c)&&IMNIsOnlineState(d)){a.rows[2].style.display="none";i=3;while(a.rows[i].id!="Offline"&&a.rows[i].innerText<b.innerText)i++;a.moveRow(b.rowIndex,i);if(a.rows[a.rows.length-3].id=="Offline")a.rows[a.rows.length-2].style.display="block"}else if(IMNIsOnlineState(c)&&!IMNIsOnlineState(d)){if(b.rowIndex==3&&a.rows[b.rowIndex+1].id=="Offline")a.rows[2].style.display="block";if(a.rows[a.rows.length-3].id=="Offline")a.rows[a.rows.length-2].style.display="none";i=a.rows.length-2;while(a.rows[i-1].id!="Offline"&&a.rows[i].innerText>b.innerText)i--;a.moveRow(b.rowIndex,i)}}}}function IMNOnStatusChange(d,b,a){if(IMNDictionaryObj){var c=IMNGetStatusImage(b,IMNSortableObj[a]||IMNShowOfflineObj[a]);if(IMNDictionaryObj[a]!=b){if(bIMNSorted)IMNSortList(a,IMNDictionaryObj[a],b);IMNUpdateImage(a,c);IMNDictionaryObj[a]=b}}}function IMNUpdateImage(j,d){var a=document.images(j);if(a){var e=d.img,i=d.alt,c=a.src,g=c.lastIndexOf("/"),b=c.slice(0,g+1);b+=e;if(c==b&&e!="blank.gif")return;if(a.altbase)a.alt=a.altbase;else a.alt=i;var f=browseris.ie&&browseris.ie55up&&browseris.verIEFull<7,h=b.toLowerCase().indexOf(".png")>0;if(f)if(h){a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+b+"),sizingMethod=scale,enabled=true);";a.src="/_layouts/images/blank.gif"}else{a.style.filter="";a.src=b}else a.src=b}}function IMNHandleAccelerator(){if(IMNControlObj)if(event.altKey&&event.shiftKey&&event.keyCode==121)IMNControlObj.DoAccelerator()}function IMNImageOnClick(){if(IMNControlObj){IMNShowOOUIKyb();IMNControlObj.DoAccelerator()}}function IMNGetOOUILocation(a){var e={},c=a,g=a,h=0,i=0,f=0,j=document.dir=="rtl";while(c&&c.tagName!="SPAN"&&c.tagName!="TABLE")c=c.parentNode;if(c){var d=c.tagName=="TABLE"?c.rows(0).cells(0).childNodes:c.childNodes,b;for(b=0;b<d.length;++b){if(d.item(b).tagName=="IMG"&&d.item(b).id){g=d.item(b);break}if(d.item(b).tagName=="A"&&d.item(b).childNodes.length>0&&d.item(b).childNodes.item(0).tagName=="IMG"&&d.item(b).childNodes.item(0).id){g=d.item(b).childNodes.item(0);break}}}a=g;while(a){if(j){if(a.scrollWidth>=a.clientWidth+a.scrollLeft)f=a.scrollWidth-a.clientWidth-a.scrollLeft;else f=a.clientWidth+a.scrollLeft-a.scrollWidth;h+=a.offsetLeft+f}else h+=a.offsetLeft-a.scrollLeft;i+=a.offsetTop-a.scrollTop;a=a.offsetParent}try{a=window.frameElement;while(a){if(j){if(a.scrollWidth>=a.clientWidth+a.scrollLeft)f=a.scrollWidth-a.clientWidth-a.scrollLeft;else f=a.clientWidth+a.scrollLeft-a.scrollWidth;h+=a.offsetLeft+f}else h+=a.offsetLeft-a.scrollLeft;i+=a.offsetTop-a.scrollTop;a=a.offsetParent}}catch(k){}e.objSpan=c;e.objOOUI=g;e.oouiX=h;e.oouiY=i;if(j)e.oouiX+=g.offsetWidth;return e}function IMNShowOOUIMouse(){IMNShowOOUI(0)}function IMNShowOOUIKyb(){IMNShowOOUI(1)}function IMNShowOOUI(g){if(browseris.ie5up&&browseris.win32){var c=window.event.srcElement,b=c,d=c,e=0,f=0;if(EnsureIMNControl()&&IMNNameDictionaryObj){var a=IMNGetOOUILocation(c);b=a.objSpan;d=a.objOOUI;e=a.oouiX;f=a.oouiY;var h=IMNNameDictionaryObj[d.id];if(b)b.onkeydown=IMNHandleAccelerator;IMNControlObj.ShowOOUI(h,g,e,f)}}}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,imnElems,imnElemsCount=0,imnMarkerBatchSize=4,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(e,g){if(e==null||e=="")return;if(browseris.ie5up&&browseris.win32){var b=g?g:window.event.srcElement,c=b,a=b.id,f=false;if(!IMNDictionaryObj){IMNDictionaryObj={};IMNNameDictionaryObj={};IMNSortableObj={};IMNShowOfflineObj={};if(!IMNOrigScrollFunc){IMNOrigScrollFunc=window.onscroll;window.onscroll=IMNScroll}}if(IMNDictionaryObj){if(!IMNNameDictionaryObj[a]){IMNNameDictionaryObj[a]=e;f=true}if(typeof IMNDictionaryObj[a]=="undefined")IMNDictionaryObj[a]=1;if(!IMNSortableObj[a]&&typeof b.Sortable!="undefined"){IMNSortableObj[a]=b.Sortable;if(!bIMNOnloadAttached){if(EnsureIMNControl()&&IMNControlObj.PresenceEnabled)window.attachEvent("onload",IMNSortTable);bIMNOnloadAttached=true}}if(!IMNShowOfflineObj[a]&&typeof b.ShowOfflinePawn!="undefined")IMNShowOfflineObj[a]=b.ShowOfflinePawn;if(f&&EnsureIMNControl()&&IMNControlObj.PresenceEnabled){var d=1,h;d=IMNControlObj.GetStatus(e,a);if(IMNIsOnlineState(d)||IMNSortableObj[a]||IMNShowOfflineObj[a]){h=IMNGetStatusImage(d,IMNSortableObj[a]||IMNShowOfflineObj[a]);IMNUpdateImage(a,h);IMNDictionaryObj[a]=d}}}if(f){var i=IMNGetOOUILocation(b);c=i.objSpan;if(c){c.onmouseover=IMNShowOOUIMouse;c.onfocusin=IMNShowOOUIKyb;c.onmouseout=IMNHideOOUI;c.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 c=window.event.srcElement;if(!IMNHeaderObj)IMNHeaderObj={};if(IMNHeaderObj){var a=c.id;if(!IMNHeaderObj[a]){IMNHeaderObj[a]=a;var b;b=IMNGetHeaderImage();IMNUpdateImage(a,b)}}}}var _spBodyOnLoadFunctionNames;if(_spBodyOnLoadFunctionNames==null){_spBodyOnLoadFunctionNames=[];_spBodyOnLoadFunctionNames.push("_spBodyOnLoad");_spBodyOnLoadFunctionNames.push("_spRestoreScrollForDiv_rscr")}var _spOriginalFormAction,_spEscapedFormAction,_spFormOnSubmitCalled=false,_spBodyOnPageShowRegistered=false;function _spBodyOnPageShow(){_spFormOnSubmitCalled=false}function _spResetFormOnSubmitCalledFlag(){_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 b=window.location.href,a=b.indexOf("://");if(a>=0){var c=b.substring(a+3);a=c.indexOf("/");if(a>=0)b=c.substring(a)}_spEscapedFormAction=escapeUrlForCallback(b);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 b=_spFormOnSubmit(),a=false;if(typeof b==typeof a&&b==a)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 a=document.getElementsByName("_spFocusHere"),b=null;if(a==null||a.length<=0)b=document.getElementById("_spFocusHere");else if(a!=null&&a.length>0)b=a[0];if(b!=null){var c=b.getElementsByTagName("a");if(c!=null&&c.length>0)try{c[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()}