// JavaScript Document
function bookmark(a,b){if((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion)>=4)){window.external.AddFavorite(a,b)}else{if(navigator.appName=="Netscape"){window.sidebar.addPanel(b,a,"")}else{alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark")}}}function bookMark(){if(document.all){if(window.location.href.indexOf("https")){alert("You cannot bookmark a page on your local computer.")}else{window.external.AddFavorite(document.location.href,document.title)}}else{alert("Please select CTRL-D to bookmark this page")}}function jump(a){if(a.selectedIndex!=0){window.location=a.options[a.selectedIndex].value}else{alert("Please Select a Loan Type")}}window.onerror=ReportScriptError;function HideScriptError(c,b,a){return true}function ReportScriptError(b,a,k){try{window.onerror=HideScriptError;var c="Line:"+k+", Error: "+b;var d=GetStackTrace(arguments.caller);var f=navigator.userAgent;var h="/global/images/reportscripterror.aspx?Source="+escape(window.location)+"&Error="+escape(c)+"&Trace="+escape(d)+"&Browser="+escape(f);var g=GetXMLHttp();if(null!=g){g.open("GET",h,true);g.send(null)}}catch(j){}return true}function GetStackTrace(a){if(null==a){return"UnknownFunction"}var c="";while(a!=null&&a.callee!=null&&a.caller!=a){var b=a.callee.toString();b=b.substring(9,b.indexOf(")")+1);c+=b+"; ";a=a.caller}return c}function GetXMLHttp(){var a=false;if(window.XMLHttpRequest){a=new XMLHttpRequest()}else{if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLHTTP")}}return a}function G(a){if(a&&typeof(a)=="string"){a=document.getElementById?document.getElementById(a):null}return a&&typeof(a)=="object"?a:null}function GS(a){a=G(a);return a?a.style:null}function StrGetDisplay(a){a=GS(a);return a?a.display:""}function SDsply(b,a){b=GS(b);if(b){b.display=a}}function SDsplyH(a){SDsply(a,"none")}function SDsplyS(a){SDsply(a,"")}function TDsply(b,a){SDsply(b,(StrGetDisplay(b)==a?"none":a))}function FVis(a){return StrGetDisplay(a)!="none"}function SWdth(b,a){b=GS(b);if(b){b.width=a}}function SWdthNF(a){SWdth(a,"100%")}function TDB(a){TDsply(a,"block");return false}function FSClk(a){return a&&a.button<=1&&a.shiftKey}function FSEnt(a){return a&&a.keyCode==13&&a.shiftKey}function GHlp(b){var a=(window.navigator.appName.toUpperCase().indexOf("NETSCAPE")>=0)?",scrollbars=1":"";window.open(b,"_hlp011","toolbar=0,status=0,menubar=0"+a+",resizable=1,width=260,height="+Math.round(window.screen.availHeight*2/3));return false}function FChkSrchTxt(b){var a=/^[\s]*$/;return b&&!a.test(b)}function FocSrchTxt(a){if(a&&a.value){if(strNonSearchString!=null&&strNonSearchString!="undefined"&&a.value==strNonSearchString&&!fEnteredText){a.value=""}else{a.select()}setSearchOnColor(a);fEnteredText=true}}function FTrySearch(f,d,b){fSearchFocus=false;searchclose();var a=document.getElementById(d);if("undefined"!=typeof(a)&&null!=a&&SelectAction(a,b)){try{external.AutoCompleteSaveForm(a)}catch(c){}a.submit()}if(f&&f.stopPropagation){f.stopPropagation()}return false}function FEntTextbox(c,b,a){if(c&&13==c.keyCode){return FTrySearch(c,b,a)}return true}function FBSCTrySearch(f,d,c,e){var b=G(f);if(!b){return false}if(!FChkSrchTxt(G("BSCQU").value)){alert(d);return false}if(!b.av){var a=document.createElement("input");a.id="av";a.name="av";a.type="hidden";b.appendChild(a)}b.qu.value=G("BSCQU").value;b.av.value=G("BSCAV").value;b.sc.value=e;b.action=c;b.submit();return false}function FOnClipartSearchKey(a){if(a&&13==a.keyCode){SearchClipartFromCM()}return true}function SearchClipartFromCM(){var a=20;if(document.getElementById("inputClpSrchClipart").checked){a=21}if(document.getElementById("inputClpSrchPhotos").checked){a=22}if(document.getElementById("inputClpSrchAnimations").checked){a=23}if(document.getElementById("inputClpSrchSounds").checked){a=24}var c=document.getElementById("inputClpSrchText").value;if(null==c||0>=c.length||!FChkSrchTxt(c)){alert(strClpSrchEmptyQuery);return}var b=document.getElementById("frmClipartSearch");b.qu.value=c;b.sc.value=a.toString();b.submit()}function FBSCEndTextbox(f,d,b,a,c){if(f&&f.keyCode==13){return FBSCTrySearch(d,b,a,c)}return true}function TbrGet(a){a=G(a);if(a&&a.tagName=="TABLE"){return a.rows[0]}return null}function FCIIRange(b,a){return b&&b.tagName=="TR"&&a!=null&&a>=0&&a<b.cells.length}function StrGTT(b){var a=null;b=G(b);if(b){a=b.getAttribute("TBICTYPE");if(!a){a="i"}}return a}function FIGTbic(a){return FITbic(a)||FGTbic(a)}function FITbic(a){return StrGTT(a)=="i"}function FGTbic(a){return StrGTT(a)=="g"}function FSTbic(a){return StrGTT(a)=="s"}function FPTbic(a){return StrGTT(a)=="p"}function TbicGet(c,e,g,f){f=G(f);if(!f){var d=TbrGet(c);if(!d){return}if(e==null){e=0}if(g==null){g=true}if(FCIIRange(d,e)){if(!g){f=d.cells[e]}else{for(var b=0,a=d.cells.length;b<a;b++){f=d.cells[b];if(FIGTbic(f)){if(e==0){break}else{e--}}f=null;if(e<0){break}}}}}return f}function HideTbic(a,b,c){c=TbicGet(a,b,true,c);if(c){SDsplyH(c);PTBSep(a)}}function ShowTbic(a,b,c){c=TbicGet(a,b,true,c);if(c){SDsplyS(c);PTBSep(a)}}function PTBSep(e){var f=TbrGet(e);if(!f){return}var g;var c,b=f.cells.length;for(c=0,g=f.cells[c];g&&c<b;c++,g=f.cells[c]){if(FSTbic(g)){SDsplyH(g)}}var a=false;var d;for(c=0,g=f.cells[c];g&&c<b;c++,g=f.cells[c]){if(FIGTbic(g)&&FVis(g)){a=true}else{if(FPTbic(g)){a=false}}d=f.cells[c+1];if(a&&FSTbic(g)&&FIGTbic(d)&&FVis(d)){SDsplyS(g)}}}function SetTopNavSiteMapLinkBorder(b,a){if(!document.getElementById||"undefined"==typeof(document.getElementById)){return}var c=document.getElementById(b);if("undefined"==typeof(c)||null==c||"undefined"==typeof(c.className)){return}if(a){c.className="TopNavCellLinkHover"}else{c.className="TopNavCellLink"}}function StrEncodeUrlComponent(a){if(typeof(a)=="undefined"||null==a){return""}if(typeof(encodeURIComponent)!="undefined"){return StrEncodeUrlComponent55(a)}return StrEncodeUrlComponent50(a)}function StrEncodeUrlComponent55(a){return encodeURIComponent(a)}function StrEncodeUrlComponent50(d){var a=0;var e="";for(a=0;a<d.length;a++){var c=d.charAt(a);var b=d.charCodeAt(a);if(b<128){if("!"==c||"'"==c||"("==c||")"==c||"~"==c){e+=c}else{if(0==b){e+="%00"}else{if(127==b){e+="%7F"}else{if("+"==c){e+="%2B"}else{if("/"==c){e+="%2F"}else{if("@"==c){e+="%40"}else{e+=escape(c)}}}}}}}else{if(b<2048){e+="%";e+=((b>>6)+192).toString(16).toUpperCase();e+="%";e+=((b&63)+128).toString(16).toUpperCase()}else{e+="%";e+=((b>>12)+224).toString(16).toUpperCase();e+="%";e+=(((b>>6)&63)+128).toString(16).toUpperCase();e+="%";e+=((b&63)+128).toString(16).toUpperCase()}}}return e}function StrReplaceParam(f,d,g){var e=f.toUpperCase();var h=d.toUpperCase();var c=e.indexOf("?"+h);if(c<0){c=e.indexOf("&"+h)}if(c<0){return f}var j=e.indexOf("&",c+1);if(j<0){c--}var b=f.substring(0,c+1);if(j>=0){b+=f.substring(j+1,f.length)}if(typeof(g)!="undefined"&&null!=g&&g.length>0){var a=b.indexOf("?")<0?"?":"&";if(b.charAt(b.length-1)==a){a=""}b+=a+d+"="+g}return b}function FCheckElementID(a){if("undefined"==typeof(document.getElementById(a))){return false}if(null==document.getElementById(a)){return false}return true}function FFeedbackWizCheckIDs(){if(FCheckElementID("divFeedbackPanel1")&&(FCheckElementID("divFeedbackPanel2")||fIsSimpleFeedbackWiz)&&(FCheckElementID("divFeedbackPanel3")||fIsSimpleFeedbackWiz)&&FCheckElementID("imgRatingStar1")&&FCheckElementID("imgRatingStar2")&&FCheckElementID("imgRatingStar3")&&FCheckElementID("imgRatingStar4")&&FCheckElementID("imgRatingStar5")&&(FCheckElementID("tbFeedbackText")||fIsSimpleFeedbackWiz)){return true}return false}function NavigateIFrameIE(b,c){var a=frames[b];if(typeof(a)!="undefined"&&null!=a){a.location.replace(c)}}function NavigateIFrameNetscape(b,c){var a=document.getElementById(b);if(typeof(a)!="undefined"&&null!=a){if(typeof(a.contentWindow)!="undefined"){a.contentWindow.location.replace(c)}else{a.src=c}}}function NavigateIFrame(a,b){if(window.navigator.appName.toUpperCase().indexOf("NETSCAPE")>=0){NavigateIFrameNetscape(a,b)}else{NavigateIFrameIE(a,b)}}function FeedbackWizShowFirstPane(){document.getElementById("divFeedbackPanel1").style.display="block";document.getElementById("divFeedbackPanel2").style.display="none";document.getElementById("divFeedbackPanel3").style.display="none";iFeedbackWizStarRated=0;iRvasap=0;FeedbackWizMouseOutStar();FeedbackWizUpdateCounter()}function FeedbackWizShowThankYouPane(){document.getElementById("divFeedbackPanel1").style.display="none";document.getElementById("divFeedbackPanel2").style.display="none";document.getElementById("divFeedbackPanel3").style.display="block"}function FeedbackWizShowPane(g,e){for(var c=1;c<=4;c++){var a="divFeedbackPanel"+c;if(!FCheckElementID(a)){continue}if(c!=g){document.getElementById(a).style.display="none";continue}document.getElementById(a).style.display="block";if(typeof(e)=="undefined"){continue}for(var b=1;b<=3;b++){var d=a+"Sub"+b;if(!FCheckElementID(d)){continue}if(b==e){document.getElementById(d).style.display="block"}else{document.getElementById(d).style.display="none"}}}if(2==g){var f=document.getElementById("tbFeedbackText");if(null!=f&&typeof(f)!="undefined"){f.focus()}}if(1==g&&e<0){iRvasap=0}}function FeedbackWizDoSubmit(d){if(typeof(window.navigator)!="undefined"&&typeof(window.navigator.onLine)!="undefined"){if(!window.navigator.onLine){alert(strYouAreNotOnlineErrMsg);return}}if(!FFeedbackWizCheckIDs()){return}if("undefined"==typeof(strPageAssetId)||null==strPageAssetId||0>=strPageAssetId.length){return}if(d){document.getElementById("divFeedbackPanel1").style.display="none";document.getElementById("divFeedbackPanel2").style.display="block";document.getElementById("divFeedbackPanel3").style.display="none"}if(1!=iFeedbackWizStarRated&&2!=iFeedbackWizStarRated&&3!=iFeedbackWizStarRated&&4!=iFeedbackWizStarRated&&5!=iFeedbackWizStarRated){iFeedbackWizStarRated=0;iRvasap=0}var c="";if(1==iRvasap){c=GetCookie("apfbkid","");if(null!=c&&36==c.length){c="&apfbkid="+StrEncodeUrlComponent(c)}else{c=""}mSetCookie("apfbkid","");iRvasap=0}else{iRvasap=1}var a=strFeedbackPageUrl+"?rating="+iFeedbackWizStarRated.toString()+c+"&AssetID="+strPageAssetId+"&AssetVersion="+strAssetVersion+"&"+strPageLoggingParams;var b="";if(d){b=document.getElementById("tbFeedbackText").value}if(typeof(b)=="undefined"){b=""}else{if(null==b){b=""}}var f=1024*4;if(typeof(document.cookie)!=undefined&&null!=document.cookie){f-=document.cookie.length}f-=23;f-=64;b=escape(b);if(f<=0){b=""}else{if(b.length>f){b=b.substring(0,f)}}document.cookie="feedbackComment="+b+";path=/";var e='FeedbackWizDelayedSubmit("'+a+'", '+(d?"true":"false")+");";window.setTimeout(e,100)}function FeedbackWizDoSubmitAsst(e,g){if(typeof(window.navigator)!="undefined"&&typeof(window.navigator.onLine)!="undefined"){if(!window.navigator.onLine){alert(strYouAreNotOnlineErrMsg);return}}if("undefined"==typeof(strPageAssetId)||null==strPageAssetId||0>=strPageAssetId.length){return}if(!FCheckElementID("divFeedbackPanel1")||!FCheckElementID("divFeedbackPanel2")||!FCheckElementID("divFeedbackPanel3")||!FCheckElementID("divFeedbackPanel4")){return}var d=false;if(e<0){e=iFeedbackWizStarRated;d=true}else{iFeedbackWizStarRated=e;iRvasap=0}var j="";if(1==iRvasap){j=GetCookie("apfbkid","");if(null!=j&&36==j.length){j="&apfbkid="+StrEncodeUrlComponent(j)}else{j=""}mSetCookie("apfbkid","");iRvasap=0}else{iRvasap=1}var h=strFeedbackPageUrl+"?rating="+e.toString()+j+"&AssetID="+strPageAssetId+"&AssetVersion="+strAssetVersion+"&"+strPageLoggingParams;var a="";if(g){a=document.getElementById("tbFeedbackText").value;if(typeof(a)=="undefined"){a=""}else{if(null==a){a=""}}a=escape(a);if(a.length>1024*4){a=a.substring(0,1024*4)}if(d&&a.length<=0){FeedbackWizShowPane(4,-1);return}}if(a.length>0){document.cookie="feedbackComment="+a+";path=/"}var k=3;if(5==e){k=1}else{if(1==e){k=2}}var b='FeedbackWizDelayedSubmitAsst("'+h+'", '+(g?"4":"2")+", "+k+");";window.setTimeout(b,100);if(g){FeedbackWizShowPane(3,-1)}if(1==e||5==e||3==e){var f=document.getElementById("tbFeedbackText");if(typeof(f)=="undefined"||null==f||typeof(f.title)=="undefined"){return}var c="";if(5==e){c="divFeedbackPanel2Sub1"}else{if(1==e){c="divFeedbackPanel2Sub2"}else{c="divFeedbackPanel2Sub3"}}var l=document.getElementById(c);if(typeof(l)=="undefined"||null==l||typeof(l.innerHTML)=="undefined"||null==l.innerHTML){return}f.title=l.innerHTML}}function FeedbackWizDelayedSubmitAsst(a,b,d){var c=true;try{NavigateIFrame("submitTarget",a)}catch(f){c=false;alert(strCannotSubmitFeedbackErrmsg);FeedbackWizShowPane(1,-1)}if(true==c){if(0!=b){if(4==b){window.setTimeout("FeedbackWizShowPane("+b+", "+d+");",1200)}else{FeedbackWizShowPane(b,d)}}}else{FeedbackWizShowPane(1,-1)}}function FeedbackWizDelayedSubmit(a,c){var b=true;try{NavigateIFrame("submitTarget",a)}catch(d){b=false;alert(strCannotSubmitFeedbackErrmsg);FeedbackWizShowFirstPane()}if(true==b){if(c){window.setTimeout("FeedbackWizShowThankYouPane();",1200)}}else{FeedbackWizShowFirstPane()}}function FeedbackWizGenerateFXHeader(){document.write("<DIV>&nbsp;</DIV>");document.write('<DIV CLASS="cdOLn">&nbsp;</DIV>\n')}function RgimgFeedbackWizGetImages(){var a=new Array(5);a[0]=document.getElementById("imgRatingStar1");a[1]=document.getElementById("imgRatingStar2");a[2]=document.getElementById("imgRatingStar3");a[3]=document.getElementById("imgRatingStar4");a[4]=document.getElementById("imgRatingStar5");return a}function FeedbackWizUpdateCounter(){goDisplayCount(650,"tbFeedbackText","spnFeedbackCounter","btnFeedbackWizSubmit")}function FeedbackWizUpdateCounterDelay(){if(typeof(window)!="undefined"&&null!=window){window.setTimeout("FeedbackWizUpdateCounter()",25)}}function FeedbackWizMouseOverStar(b){if(!FFeedbackWizCheckIDs()){return}var c=RgimgFeedbackWizGetImages();for(var a=0;a<c.length;a++){if(fFeedbackWizJustRated){if(b>a){c[a].src="/global/images/ratings/lg_output_full.gif"}else{c[a].src="/global/images/ratings/lg_output_empty.gif"}}else{if(b>a){c[a].src="/global/images/ratings/lg_input_full.gif"}else{c[a].src="/global/images/ratings/lg_output_empty.gif"}}}}function FeedbackWizMouseOutStar(){if(!FFeedbackWizCheckIDs()){return}fFeedbackWizJustRated=false;var b=RgimgFeedbackWizGetImages();for(var a=0;a<b.length;a++){if(iFeedbackWizStarRated<1||iFeedbackWizStarRated>5){b[a].src="/global/images/ratings/lg_output_empty.gif"}else{if(iFeedbackWizStarRated>a){b[a].src="/global/images/ratings/lg_output_full.gif"}else{b[a].src="/global/images/ratings/lg_output_empty.gif"}}}}function CommentOnThisTemplate(){var c=StrGetArgumentValue("av");var b=StrGetArgumentValue("CategoryId");var d=strCommentOnThisTemplateLnk;var a=GetCookie("apfbkid","");if(null!=a&&36==a.length){d+="&apfbkid="+StrEncodeUrlComponent(a)}if(null!=b&&b.length>0){d+="&CategoryId="+b}if(null!=c&&c.length>0){d+="&av="+c}mSetCookie("apfbkid","");location.href=d}function FeedbackWizStarClicked(c){if(!FFeedbackWizCheckIDs()){return}if(iFeedbackWizStarRated==c){return}iFeedbackWizStarRated=c;fFeedbackWizJustRated=true;iRvasap=0;FeedbackWizUpdateCounter();var d=RgimgFeedbackWizGetImages();for(var b=0;b<d.length;b++){if(b==c-1){d[b].style.cursor="default";d[b].alt=rgStrYouRated[b]}else{d[b].style.cursor="hand";d[b].alt=rgStrClickToRate[b]}if(c>b){d[b].src="/global/images/ratings/lg_output_full.gif"}else{d[b].src="/global/images/ratings/lg_output_empty.gif"}}FeedbackWizDoSubmit(false);if(fIsSimpleFeedbackWiz){strCommentOnThisTemplateLnk=StrReplaceParam(strCommentOnThisTemplateLnk,"Rating",c.toString())}for(var b=1;b<=3;b++){var a=document.getElementById("divFeedbackPanel2Sub"+b.toString());if(typeof(a)!="undefined"&&null!=a){a.style.display="block"}}}function FeedbackWizGenerateControl(k,j,h,n,l,c,b,f,u,s,a,d,q,p,m,e,t,o){mSetCookie("apfbkid","");var v=false;var A=151;if(typeof(e)!="undefined"&&e){v=true;A=166}var y=b.replace("{0}",'<A CLASS="OAnc" HREF="javascript:OpenInNewWindow(\''+u+"')\">"+f+"</A>");s=s.replace("'","&apos;");s=s.replace('"',"&quot;");var g=d;if(v&&"100%"==d){document.write("<BR>");g="97%"}else{g=(parseInt(d)-4)+"px"}document.write('<TABLE CLASS="FeedbackControlMainTable OTbl" CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="'+d+'"><TR><TD CLASS="FeedbackControl" WIDTH="'+d+'" STYLE="border-bottom: 0px;">');if(fIsSimpleFeedbackWiz){document.write('<DIV ID="divFeedbackPanel1" CLASS="FeedbackWizCell" STYLE="display: block;">');document.write('	<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" CLASS="OTbl">')}else{document.write('<DIV ID="divFeedbackPanel1" CLASS="FeedbackWizCell" STYLE="display: block;">');document.write('	<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" CLASS="OTbl" HEIGHT="'+A+'">');if(q){document.write("	<TR>");document.write('		<TD STYLE="font-weight: bold;">');document.write('			<SPAN CLASS="OLbl">'+k+"</SPAN>");document.write("		</TD>");document.write("	</TR>")}}document.write("		<TR>");if(fIsOn2Lines){document.write('		<TD NOWRAP="true">')}else{if(fIsSimpleFeedbackWiz){document.write("		<TD>")}else{if(v){document.write('		<TD STYLE="padding-top: 3px; padding-bottom: 5px;">')}else{document.write('		<TD STYLE="padding-top: 8px;">')}}}if(p){document.write('				<SPAN CLASS="OLbl" NOWRAP="true">'+j+"</SPAN>")}if(!fIsOn2Lines){document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write('			<TD STYLE="padding-top: 4px;" NOWRAP="true">')}else{document.write(" ")}if(v){document.write('<TABLE CLASS="OTbl" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%"><TR>');document.write('<TD VALIGN="middle">'+t+"</TD>");document.write('<TD VALIGN="middle" STYLE="padding: 0.5em 12px 0.5em 12px;" NOWRAP="true">')}for(var r=1;r<=5;r++){document.write('<A BORDER="0" ID="lnkRatingStar'+r+'" ');document.write('HREF="javascript:FeedbackWizStarClicked('+r+')" ');document.write('ONMOUSEOVER="javascript:FeedbackWizMouseOverStar('+r+')" ');document.write('ONMOUSEOUT="javascript:FeedbackWizMouseOutStar()">');document.write('<IMG BORDER="0" ID="imgRatingStar'+r+'" NAME="imgRatingStar'+r+'" ');document.write('SRC="/global/images/ratings/lg_output_empty.gif" ');document.write('STYLE="cursor:hand;" ');document.write('ALT="'+rgStrClickToRate[r-1]+'">');document.write("</A>")}if(v){document.write("</TD>");document.write('<TD VALIGN="middle">'+o+"</TD>");document.write('<TD WIDTH="100%">&nbsp;</TD>');document.write("</TR></TABLE>")}document.write("			</TD>");document.write("		</TR>");if(fIsSimpleFeedbackWiz){if(m){document.write("		<TR>");document.write('			<TD STYLE="padding-top: 4px;" NOWRAP="true">'+h+"</TD>");document.write("		</TR>")}}else{if(m){document.write("		<TR>");document.write('			<TD STYLE="padding-top: 8px;">');if(v){document.write('<DIV ID="divFeedbackPanel2Sub1" STYLE="display: none;">')}document.write('				<SPAN CLASS="OLbl">'+h+"</SPAN>");if(v){document.write("</DIV>")}document.write("			</TD>");document.write("		</TR>")}document.write("		<TR>");document.write("			<TD>");if(v){document.write('<DIV ID="divFeedbackPanel2Sub2" STYLE="display: none;">')}document.write('				<TEXTAREA CLASS="cdOTBM" ROWS="3" COLS="36" ID="tbFeedbackText" STYLE="width:'+g+'" ');document.write('					TITLE="'+h.replace('"',"&quot;")+'"');document.write('					ONFOCUS="FeedbackWizUpdateCounter();" ');document.write('					ONCHANGE="FeedbackWizUpdateCounter();" ');document.write('					ONPASTE="FeedbackWizUpdateCounterDelay();" ');document.write('					ONKEYUP="FeedbackWizUpdateCounter();">');document.write("</TEXTAREA>");if(v){document.write("</DIV>")}document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write('			<TD STYLE="padding-top: 2px;">');if(v){document.write('<DIV ID="divFeedbackPanel2Sub3" STYLE="display: none;">')}document.write('				<TABLE CLASS="OTbl" BORDER="0" CELLPADDING="0" CELLSPACING="0">');document.write('					<TR><TD WIDTH="100%"><SPAN ID="spnFeedbackCounter"></SPAN></TD>');document.write('					<TD CLASS="FeedbackWizButtonCell">');document.write('					<INPUT CLASS="cdOBtn FeedbackWizButton" TYPE="button" ID="btnFeedbackWizSubmit" ');document.write('VALUE="'+s+'" ONCLICK="FeedbackWizDoSubmit(true);"/>');document.write("					</TD></TR>");document.write("				</TABLE>");if(v){document.write("</DIV>")}document.write("			</TD>");document.write("		</TR>")}document.write("	</TABLE>");document.write("</DIV>");if(!fIsSimpleFeedbackWiz){document.write('<DIV ID="divFeedbackPanel2" CLASS="FeedbackWizCell" STYLE="display:none;">');document.write('	<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="OTbl" HEIGHT="'+A+'">');document.write("		<TR>");document.write('			<TD STYLE="font-weight: bold;">');document.write('				<SPAN CLASS="OLbl">'+n+"</SPAN>");document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write('			<TD HEIGHT="100%"/>');document.write("		</TR>");document.write("	</TABLE>");document.write("</DIV>");document.write('<DIV ID="divFeedbackPanel3" CLASS="FeedbackWizCell" STYLE="display:none;">');document.write('	<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="OTbl" HEIGHT="'+A+'">');document.write("		<TR>");document.write('			<TD STYLE="font-weight: bold;">');document.write('				<SPAN CLASS="OLbl">'+l+"</SPAN>");document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write("			<TD>");document.write('				<SPAN><A HREF="javascript:FeedbackWizShowFirstPane()" CLASS="OAnc">'+a+"</A></SPAN>");document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write('			<TD STYLE="padding-top: 8px;">');document.write("				<SPAN>"+c+"</SPAN>");document.write("			</TD>");document.write("		</TR>");document.write('		<TR><TD HEIGHT="6"><SPAN/></TD></TR>');document.write("		<TR>");document.write('			<TD WIDTH="100%">');document.write(y);document.write("			</TD>");document.write("		</TR>");document.write("		<TR>");document.write('			<TD HEIGHT="100%"/>');document.write("		</TR>");document.write("	</TABLE>");document.write("</DIV>")}document.write("</TD></TR></TABLE>");var z=new Image();z.src="/global/images/ratings/lg_output_full.gif";var x=new Image();x.src="/global/images/ratings/lg_output_empty.gif";var w=new Image();w.src="/global/images/ratings/lg_input_full.gif";FeedbackWizUpdateCounter()}function FeedbackWizGenerateControl_Buttons(j,q,g,l,b,o,k,r,t,m,s,c,f,n,e,p,d){mSetCookie("apfbkid","");var a=c.replace("{0}",'<A CLASS="OAnc" HREF="javascript:OpenInNewWindow(\''+n+"')\">"+f+"</A>");var h=d;if("100%"==d){document.write("<BR>");h="97%"}else{h=(parseInt(d)-4)+"px"}document.write('<TABLE CLASS="FeedbackControlMainTable OTbl" CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="'+d+'"><TR><TD CLASS="FeedbackControl" WIDTH="'+d+'" STYLE="border-bottom: 0px;">');document.write('<DIV ID="divFeedbackPanel1" CLASS="FeedbackWizCell" STYLE="display: block;">');document.write('<TABLE VALIGN="top" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" CLASS="OTbl" HEIGHT="'+106+'">');document.write("	<TR>");document.write('		<TD VALIGN="top" class="cdFeedbackWizQuestion">');document.write('			<SPAN CLASS="OLbl">'+j+"</SPAN>");document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write('		<TD VALIGN="top" STYLE="padding-top: 4px;" NOWRAP="true">');document.write('			<INPUT TYPE="button" ID="btnFeedbackWizYes" CLASS="cdOBtn FeedbackWizButton" value="'+q+'" ONCLICK="javascript:FeedbackWizDoSubmitAsst(5, false);"/>&nbsp;&nbsp;');document.write('<INPUT TYPE="button" ID="btnFeedbackWizNo" CLASS="cdOBtn FeedbackWizButton" value="'+g+'" ONCLICK="javascript:FeedbackWizDoSubmitAsst(1, false);"/>');if(l.length>0){document.write('&nbsp;&nbsp;<INPUT TYPE="button" ID="btnFeedbackWizMaybe" CLASS="cdOBtn FeedbackWizButtonBig" value="'+l+'" ONCLICK="javascript:FeedbackWizDoSubmitAsst(3, false);"/>')}document.write("		</TD>");document.write("	</TR>");document.write("	<TR><TD>&nbsp;</TD></TR>");document.write("</TABLE>");document.write("</DIV>");document.write('<DIV ID="divFeedbackPanel2" CLASS="FeedbackWizCell" STYLE="display: none;">');document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" CLASS="OTbl" HEIGHT="'+106+'">');document.write("	<TR>");document.write('		<TD VALIGN="top" class="cdFeedbackWizLabel">');document.write('			<SPAN CLASS="OLbl" STYLE="display: none;" ID="divFeedbackPanel2Sub1">'+b+"</SPAN>");document.write('			<SPAN CLASS="OLbl" STYLE="display: none;" ID="divFeedbackPanel2Sub2">'+o+"</SPAN>");document.write('			<SPAN CLASS="OLbl" STYLE="display: block;" ID="divFeedbackPanel2Sub3">'+k+"</SPAN>");document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write('		<TD VALIGN="top" STYLE="height: 4em;">');document.write('			<TEXTAREA CLASS="cdOTBM" ROWS="3" COLS="36" ID="tbFeedbackText" style="width:'+h+'" ');document.write('				TITLE="'+j.replace('"',"&quot;")+'"');document.write('				ONFOCUS="FeedbackWizUpdateCounter();" ');document.write('				ONCHANGE="FeedbackWizUpdateCounter();" ');document.write('				ONPASTE="FeedbackWizUpdateCounterDelay();" ');document.write('				ONKEYUP="FeedbackWizUpdateCounter();">');document.write("</TEXTAREA>");document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write('		<TD VALIGN="top" STYLE="padding: 2px 0px 4px 0px;">');document.write('			<TABLE VALIGN="top" CLASS="OTbl" BORDER="0" CELLPADDING="0" CELLSPACING="0">');document.write("				<TR>");document.write('					<TD VALIGN="top" WIDTH="100%"><SPAN ID="spnFeedbackCounter"></SPAN></TD>');document.write('					<TD VALIGN="top" NOWRAP="true">');document.write('						<INPUT CLASS="cdOBtn FeedbackWizButton" TYPE="button" ID="btnFeedbackWizBack" ');document.write('VALUE="'+r+'" ONCLICK="javascript:FeedbackWizShowPane(1, -1);"/>&nbsp;');document.write('						<INPUT CLASS="cdOBtn FeedbackWizButton" TYPE="button" ID="btnFeedbackWizSubmit" ');document.write('VALUE="'+t+'" ONCLICK="FeedbackWizDoSubmitAsst(-1, true);"/>');document.write("					</TD>");document.write("				</TR>");document.write("			</TABLE>");document.write("		</TD>");document.write("	</TR>");document.write("</TABLE>");document.write("</DIV>");document.write('<DIV ID="divFeedbackPanel3" CLASS="FeedbackWizCell" STYLE="display: none;">');document.write('<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="OTbl" HEIGHT="'+106+'">');document.write("	<TR>");document.write('		<TD VALIGN="top" class="cdFeedbackWizLabel">');document.write('			<SPAN CLASS="OLbl">'+m+"</SPAN>");document.write("		</TD>");document.write("	</TR>");document.write("</TABLE>");document.write("</DIV>");document.write('<DIV ID="divFeedbackPanel4" CLASS="FeedbackWizCell" STYLE="display: none;">');document.write('<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="OTbl" HEIGHT="'+106+'">');document.write("	<TR>");document.write('		<TD VALIGN="top" class="cdFeedbackWizLabel">');document.write('			<SPAN CLASS="OLbl">'+s+"</SPAN>");document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write("		<TD>");document.write('			<SPAN><A HREF="javascript:FeedbackWizShowPane(1, -1);" CLASS="OAnc">'+e+"</A></SPAN>");document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write('		<TD STYLE="padding-top: 8px;">');document.write("			<SPAN>"+p+"</SPAN>");document.write("		</TD>");document.write("	</TR>");document.write('	<TR><TD HEIGHT="6"><SPAN/></TD></TR>');document.write("	<TR>");document.write('		<TD WIDTH="100%">');document.write(a);document.write("		</TD>");document.write("	</TR>");document.write("	<TR>");document.write('		<TD HEIGHT="100%"/>');document.write("	</TR>");document.write("</TABLE>");document.write("</DIV>");document.write("</TD></TR></TABLE>")}function GetCookie(d,g){if("undefined"==typeof(g)){g=""}var a=d+"=";var c=a.length;var f=document.cookie.length;var h=0;while(h<f){var e=h+c;if(document.cookie.substring(h,e)==a){var b=document.cookie.indexOf(";",e);if(b==-1){b=document.cookie.length}return unescape(document.cookie.substring(e,b))}h=document.cookie.indexOf(" ",h)+1;if(h==0){break}}return g}function SetPersistentCookie(a,d){var c=new Date();var b=new Date();b.setTime(c.getTime()+1000*60*60*24*365);mSetCookie(a,d,false,b);return}function FIsVariableInCookie(b,a){if("undefined"==typeof(a)){a=""}return(a!=GetCookie(b,a))}function mSetCookie(d,h){var g=mSetCookie.arguments;var f=mSetCookie.arguments.length;var b=(f>2)?g[2]:false;var c=(f>3)?g[3]:null;var j=(f>4)?g[4]:"/";var e=(f>5)?g[5]:null;var a=(f>6)?g[6]:false;if(b&&""!=GetCookie(d)){h=GetCookie(d)+","+h}document.cookie=d+"="+h+((c==null)?"":("; expires="+c.toGMTString()))+((j==null)?"":("; path="+j))+((e==null)?"":("; domain="+e))+((a==true)?"; secure":"");return}function StrGetCookie(a){return GetCookie(a,"na")}function mDeleteCookie(a){var b=new Date();b.setDate(b.getDate()-10);mSetCookie(a,"",false,b)}function StrGetArgumentValue(a){var b=new RegExp("[\\?&]"+a+"=([^&]*)","i");if(!b.test(location)){return null}return b.exec(location)[0].substring(a.length+2)}function Rollover(d,c,b,a){this.normal=new Image();this.normal.src=d;this.high=new Image();this.high.src=c;this.ratedOn=new Image();this.ratedOn.src=b;this.ratedOff=new Image();this.ratedOff.src=a}var m_wndwProgress=null;var m_Downloading=false;function StrDisplayTitle(){if("undefined"==typeof(m_strDisplayTitle)){return"?"}return m_strDisplayTitle}function StrDownloadDetails(){if("undefined"==typeof(m_strDownloadDetails)){return""}return(null==m_strDownloadDetails?"":m_strDownloadDetails)}function FIsDownloading(){if("undefined"==typeof(m_Downloading)){return false}return m_Downloading}function OpenProgressWindow(){m_Downloading=true;m_wndwProgress=window.open("/templates/progress.aspx","idProgressWindow","height=134,width=294");if(null!=m_wndwProgress){m_wndwProgress.focus()}return}function CloseProgressWindow(){m_Downloading=false;if(null!=m_wndwProgress&&!m_wndwProgress.closed&&"undefined"!=typeof(m_wndwProgress.Finish)){m_wndwProgress.Finish()}return}function FOnProgress(b,a){if(null!=m_wndwProgress&&"undefined"!=typeof(m_wndwProgress)&&"undefined"!=typeof(m_wndwProgress.DoProgress)){return m_wndwProgress.DoProgress(b,a)}return true}function GotoDirectDownloadURLTemplates(c){var b;b="/templates/directdownload.aspx?AssetID="+m_strAsset+"&Application="+m_strApp+"&Result="+c+"&Version="+m_iVersion;var a=GetCookie("AWS_ActivexVersion_Perm");if("undefined"!=a&&null!=a&&a.length>0){b+="&axver=";b+=StrEncodeUrlComponent(a)}if("undefined"!=typeof(m_strQuery)&&0!=m_strQuery.length){b+="&QueryID="+m_strQuery}window.location.href=b;return}function OnComplete(a){CloseProgressWindow();if(fInstallingActiveX){return}if(1==a&&!fSupportsActiveX){a=2}if(0!=a&&18!=a){GotoDirectDownloadURLTemplates(a)}return}function FCheckOfficeRestriction(a){UpdateOfficeRestrictionsCookie(false);if(typeof(a)=="undefined"||!(a>=0&&a<=6)){return false}var b=StrGetOfficeRestrictionsCookie();if(typeof(b)=="undefined"||null==b||a>=b.length){return false}return"1"==b.charAt(a)}function FRedirectIfOfficeRestriction(b){if(!FCheckOfficeRestriction(b)){return false}var c="";var a="";if(0==b){a="20"}else{if(1==b){c="TC";a="21"}else{if(2==b){c="RC";a="22"}else{if(3==b){c="TC";a="23"}else{if(5==b){a="25"}else{if(6==b){a="26"}else{return false}}}}}}var d="/templates/directdownload.aspx?result="+a;if(null!=c&&c.length>0){d+="&site=";d+=c}window.location.href=d;return true}function StartEditTemplate(){var e=false;if(arguments.length>0){e=arguments[0]}else{if(typeof(g_fIsCSC)!="undefined"){e=g_fIsCSC}}if(FRedirectIfOfficeRestriction(1)){return}if(e&&FRedirectIfOfficeRestriction(3)){return}var d;if(null!=m_strApp){d=m_strApp.split(",");for(var b=0;b<d.length;b++){m_strApp=StrTrim(d[b]);if(null!=m_strApp&&m_strApp.length>0){break}m_strApp=null}}if(null==m_strApp){OnComplete(5);return}if(m_strApp=="IP"){m_strApp="XD"}if(typeof(m_fAcceptedTOU)=="undefined"){m_fAcceptedTOU=false}if(typeof(m_fAcceptedCSTTOU)=="undefined"){m_fAcceptedCSTTOU=false}if(((e&&!m_fAcceptedCSTTOU)||(!e&&!m_fAcceptedTOU))&&m_strTouUrl.length!=0){mSetCookie("AWS_CheckingEULA_Sess","1");window.location.href=m_strTouUrl;return}if(!FInstallActiveX()){if(FIsSupportedWindows()){OnComplete(1)}else{OnComplete(14)}return}if(e&&!FActiveXSupportsStartEditEx()){OnComplete(2);return}var a=FIsVariableInCookie("AWS_DontPrompt_Sess");if(!a){OpenProgressWindow()}if(null==m_strAsset){m_strAsset=""}var c=FActiveXSupportsStartEditEx()?DCTRL.StartEditEx(m_strDisplayTitle,m_strAsset.toUpperCase(),"",m_strApp,m_strMetric,m_iVersion,e):DCTRL.StartEdit(m_strDisplayTitle,m_strAsset.toUpperCase(),"",m_strApp,m_strMetric,m_iVersion);if(a){OnComplete(c)}if(c==0){dcsOO("WT.ti",m_strDisplayTitle,"WT.si_p","t_dl","DCSext.oo_tcr",(e)?"cst":"ms")}return}function ResizeClientArea(d,b){if(null!=d&&null!=b&&!isNaN(d)&&!isNaN(b)&&d>0&&b>0){var e=0;var a=0;for(var c=0;c<3;c++){e=d-document.body.clientWidth;a=b-document.body.clientHeight;window.resizeBy(e,a)}}}function InsertFlash(b,a,e,h,k,d,j){var c=(-1!=window.navigator.appName.toUpperCase().indexOf("NETSCAPE"));var f="/global/images/default.aspx?assetid="+e;document.write('<div id="');document.write(j);document.write('">');if(!c){document.writeln('<OBJECT CLASSID="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000" ID="objFlashPlayer" WIDTH="'+b+'" HEIGHT="'+a+'" BORDER="0" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');document.writeln('<PARAM NAME="movie" VALUE="'+f+'"/>');document.writeln('<PARAM NAME="menu" VALUE="true"/>');document.writeln('<PARAM NAME="quality" VALUE="high"/>');document.writeln("</OBJECT>")}else{document.writeln('<EMBED ID="objFlashPlayer" SRC="'+f+'" MENU="true" QUALITY="high" WIDTH="'+b+'" HEIGHT="'+a+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.writeln("</EMBED>")}document.write("</div>");var g=false;if(!c){g=((typeof(objFlashPlayer)!="undefined")&&(typeof(objFlashPlayer.movie)!="undefined"))}else{g=((null!=document.body.getElementsByTagName("EMBED")["objFlashPlayer"])&&(typeof(document.body.getElementsByTagName("EMBED")["objFlashPlayer"])!="undefined")&&(typeof(document.body.getElementsByTagName("EMBED")["objFlashPlayer"].src)!="undefined"))}if(!g){document.getElementById(j).style.display="none";document.write('<a href="');document.write(d);document.write('">');document.write('<img border="0" src="');document.write("/global/images/default.aspx?assetid="+h);document.write('" alt="');document.write(escape(k));document.write('" title="');document.write(escape(k));document.write('"/>');document.write("</a>")}}function CreateVideoPage(a,j,f,g,h,b,c,e,k){document.writeln('<BODY MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" CLASS="cdONBody" '+(a?"":'SCROLL="auto" ')+g+">");if(!j){if(f){if(!a){document.writeln('<OBJECT CLASSID="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" ID="objMediaPlayer" WIDTH="'+h+'" HEIGHT="'+b+'" BORDER="0">');document.writeln('<PARAM NAME="URL" VALUE="'+c+'"/>');document.writeln('<PARAM NAME="ENABLECONTEXTMENU" VALUE="true"/>');document.writeln('<PARAM NAME="AUTOSTART" VALUE="true"/>');document.writeln('<PARAM NAME="STRETCHTOFIT" VALUE="true"/>');document.writeln("</OBJECT>")}else{document.writeln('<EMBED TYPE="application/x-mplayer2" PLUGINSPAGE = "http://www.microsoft.com/Windows/MediaPlayer/" SRC="'+c+'" ID="objMediaPlayer" WIDTH="'+h+'" HEIGHT="'+b+'" AUTOSTART="true" UIMODE="mini" STRETCHTOFIT="true" SHOWAUDIOCONTROLS="true" SHOWPOSITIONCONTROLS="true">');document.write("</EMBED>")}}else{if(!a){document.writeln('<OBJECT CLASSID="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000" ID="objFlashPlayer" WIDTH="'+h+'" HEIGHT="'+b+'" BORDER="0" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');document.writeln('<PARAM NAME="movie" VALUE="'+c+'"/>');document.writeln('<PARAM NAME="menu" VALUE="true"/>');document.writeln('<PARAM NAME="quality" VALUE="high"/>');document.writeln("</OBJECT>")}else{document.writeln('<EMBED ID="objFlashPlayer" SRC="'+c+'" MENU="true" QUALITY="high" WIDTH="'+h+'" HEIGHT="'+b+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.writeln("</EMBED>")}}}if(!j){if(f){var d=false;if(!a){d=((typeof(objMediaPlayer)!="undefined")&&(typeof(objMediaPlayer.url)!="undefined"))}else{d=((null!=document.body.getElementsByTagName("EMBED")["objMediaPlayer"])&&(typeof(document.body.getElementsByTagName("EMBED")["objMediaPlayer"])!="undefined")&&(typeof(document.body.getElementsByTagName("EMBED")["objMediaPlayer"].src)!="undefined"))}if(!d){alert(e)}}else{var d=false;if(!a){d=((typeof(objFlashPlayer)!="undefined")&&(typeof(objFlashPlayer.movie)!="undefined"))}else{d=((null!=document.body.getElementsByTagName("EMBED")["objFlashPlayer"])&&(typeof(document.body.getElementsByTagName("EMBED")["objFlashPlayer"])!="undefined")&&(typeof(document.body.getElementsByTagName("EMBED")["objFlashPlayer"].src)!="undefined"))}if(!d){alert(k)}}}ResizeClientArea(h,b)}function CloseVideoPageBody(){document.writeln("</BODY>")}function OpenVideo(b,c,a){if(FIsMac()){if(b.indexOf("?")<0){b+="?"}else{b+="&"}b+="IsMac=1"}if(-1!=window.navigator.appName.toUpperCase().indexOf("NETSCAPE")){window.open(b,"_AsstVidWnd")}else{window.open(b,"_AsstVidWnd","toolbar=0,status=0,menubar=0,resizable=0,width="+c+",height="+a)}}var strIsRtl="";var allDivsInPage=null;var allImagesInPage=null;var fExpandedAssistance=false;var popupWin;function openWindow(b,a){if(typeof(popupWin)!="object"||null==popupWin){popupWin=window.open(b,a,"width=452,height=572,top=0,left=0,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=1,copyhistory=0")}else{if(!popupWin.closed){popupWin.location.href=b}else{popupWin=window.open(b,a,"width=452,height=572,top=0,left=0,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=1,copyhistory=0")}}popupWin.focus()}function ExpandDiv(a){InitializeGlobalData();if(null==a||typeof(a)=="undefined"){return}var b=allDivsInPage[a];if(null==b||typeof(b)=="undefined"){return}b.style.display="block";var c=allImagesInPage[a+"_img"];if(null!=c&&typeof(c)!="undefined"){c.src="images/bluedrop.gif";c.alt=strHide}}function CollapseDiv(a){InitializeGlobalData();if(null==a||typeof(a)=="undefined"){return}var b=allDivsInPage[a];if(null==b||typeof(b)=="undefined"){return}b.style.display="none";var c=allImagesInPage[a+"_img"];if(null!=c&&typeof(c)!="undefined"){c.src="images/blueup"+strIsRtl+".gif";c.alt=strShow}}function ToggleDiv(a){InitializeGlobalData();if(null==a||typeof(a)=="undefined"){return}var b=allDivsInPage[a];if(null==b||typeof(b)=="undefined"){return}if(b.style.display.toUpperCase()!="BLOCK"){ExpandDiv(a)}else{CollapseDiv(a)}}function AlterAllDivs(a){InitializeGlobalData();if(null==allDivsInPage||typeof(allDivsInPage)=="undefined"){return}if(typeof(allDivsInPage.divShowAll)!="undefined"&&typeof(allDivsInPage.divHideAll)!="undefined"){if(a=="block"){allDivsInPage.divShowAll.style.display="none";allDivsInPage.divHideAll.style.display="block"}else{allDivsInPage.divShowAll.style.display="block";allDivsInPage.divHideAll.style.display="none"}}AlterAllDivsSpans(document.body.getElementsByTagName("DIV"),a);AlterAllDivsSpans(document.body.getElementsByTagName("SPAN"),a)}function AlterAllDivsSpans(a,b){if(typeof(a)=="undefined"||null==a){return}for(i=0;i<a.length;i++){if(typeof(a[i])!="undefined"&&null!=a[i]&&typeof(a[i].id)!="undefined"&&null!=a[i].id&&a[i].id.length>0){if(0==a[i].id.indexOf("divExpCollAsst_")){var c=allImagesInPage[a[i].id+"_img"];if(b=="block"){a[i].style.display="block";if(typeof(c)!="undefined"&&null!=c){c.src="images/bluedrop.gif";c.alt=strHide}}else{a[i].style.display="none";if(typeof(c)!="undefined"&&null!=c){c.src="images/blueup"+strIsRtl+".gif";c.alt=strShow}}}if(0==a[i].id.indexOf("divInlineDef_")){if(b=="block"){a[i].style.display="inline"}else{a[i].style.display="none"}}}}}function ToggleAllDivs(){InitializeGlobalData();if(fExpandedAssistance){AlterAllDivs("none")}else{AlterAllDivs("block")}fExpandedAssistance=!fExpandedAssistance}function InitializeGlobalData(){if("undefined"!=typeof(strRtl)){strIsRtl=strRtl}var b=document.body.getElementsByTagName("DIV");var a=document.body.getElementsByTagName("SPAN");var c=0;var d=0;if(typeof(b)!="undefined"&&null!=b){c=b.length}if(typeof(a)!="undefined"&&null!=a){d=a.length}allDivsInPage=new Array();for(i=0;i<c;i++){if(typeof(b[i].id)!="undefined"&&null!=b[i].id&&b[i].id.length>0){allDivsInPage[b[i].id]=b[i]}}for(i=0;i<d;i++){if(typeof(a[i].id)!="undefined"&&null!=a[i].id&&a[i].id.length>0){allDivsInPage[a[i].id]=a[i]}}allImagesInPage=document.body.getElementsByTagName("IMG")}function OnSeeAlsoClicked(){InitializeGlobalData();if(null==allDivsInPage||typeof(allDivsInPage)=="undefined"){return}if(typeof(allDivsInPage.divSeeAlsoShowBullet)!="undefined"&&typeof(allDivsInPage.divSeeAlsoHideBullet)!="undefined"){if(allDivsInPage.divSeeAlsoShowBullet.style.display.toUpperCase()=="INLINE"){allDivsInPage.divSeeAlso.style.display="block";allDivsInPage.divSeeAlsoShowBullet.style.display="none";allDivsInPage.divSeeAlsoHideBullet.style.display="inline"}else{allDivsInPage.divSeeAlso.style.display="none";allDivsInPage.divSeeAlsoShowBullet.style.display="inline";allDivsInPage.divSeeAlsoHideBullet.style.display="none"}}}var QUIZ_COOKIE_NAME="QUIZ_DATA";function SetQuizCookie(d,f){var g=GetCookie(QUIZ_COOKIE_NAME);if(null!=g&&0!=g.length){var b=g.indexOf(d);if(b>=0){var a=g.indexOf(" ",b+1);var e=(a>0?g.substr(a):"");var c=(f==null?"":d+":"+f);g=g.substr(0,b)+c+e}else{if(f!=null){g+=" "+d+":"+f}}}else{g=d+":"+f}mSetCookie(QUIZ_COOKIE_NAME,g)}function StrGetQuizCookie(c){var d=GetCookie(QUIZ_COOKIE_NAME);if(null!=d&&0!=d.length){var b=d.indexOf(c);if(b>=0){b=d.indexOf(":",b+1);if(b>0){b++;var a=d.indexOf(" ",b+1);if(a==-1){return d.substr(b)}else{return d.substring(b,a)}}}}return""}function ShowElement(a){var b=ElmGetPageElementQuiz(a);if(b!=null){b.style.display="inline"}}function ElmGetPageElementQuiz(a){if(document.all){return document.all[a]}else{if(document.getElementById){return document.getElementById(a)}else{if(document.layers){return document.MainForm.elements[a]}}}return null}function fnMail(){var b;g_strMailToUrl=StrUpdateQuizTokens(g_strMailToUrl);var c=location.href;var a=c.indexOf("?");if(a>-1){c=c.substr(0,a)}b=/%Quiz_Url%%26/g;g_strMailToUrl=g_strMailToUrl.replace(b,c+"?");location.href=StrXMLDecode(g_strMailToUrl)}function fnMaintainAnswer(a){var c=a.id;var e=c.indexOf("_",0);var d=parseInt(c.substring(1,e));var b=c.substring(e+1);g_strUserAnswers="0"+g_strUserAnswers.substring(1,d)+b+(d==g_iTotalQuestions?"":g_strUserAnswers.substring(d+1));SetQuizCookie(g_strQuizID,g_strUserAnswers)}function SubmitAnswers(){g_strUserAnswers="1"+g_strUserAnswers.substring(1,g_strUserAnswers.length);SetQuizCookie(g_strQuizID,g_strUserAnswers);document.location.href=g_strQuizID+".aspx?ctt=6&submit=1";return true}function PreloadAnswers(){var b="";for(var a=1;a<=g_iTotalQuestions;a++){b=g_strUserAnswers.charAt(a);if(b=="0"){ShowElement("q"+a+"_Unanswered")}else{if(b==g_strCorrectAnswers.charAt(a)){ShowElement("q"+a+"_Correct")}else{ShowElement("q"+a+"_Incorrect");ShowElement("q"+a+"_"+b)}}}if((g_sAvgScore!="0.0")&&(g_sAvgScore!="0,0")){ShowElement("quizMetrics")}}function PreloadQuestions(){var c;var b;g_strUserAnswers=StrGetQuizCookie(g_strQuizID);for(var a=1;a<=g_iTotalQuestions;a++){c=g_strUserAnswers.substring(a,a+1);if(c!="0"){b=ElmGetPageElementQuiz("q"+a+"_"+c);if(b!=null){b.checked=true}}}}function StrUpdateQuizTokens(b){if(typeof(b)=="undefined"){return""}var a;a=/%Quiz_AvgScore%/g;b=b.replace(a,g_sAvgScore);a=/%Quiz_NumberOfScores%/g;b=b.replace(a,g_iTotalUsers);a=/%Quiz_Questions%/g;b=b.replace(a,g_iTotalQuestions);a=/%Quiz_Score%/g;b=b.replace(a,g_iScore);return b}function StrXMLEncode(a){if(typeof(a)=="undefined"){return""}a=a.replace(/&/g,"&amp;");a=a.replace(/>/g,"&gt;");a=a.replace(/</g,"&lt;");a=a.replace(/'/g,"&apos;");a=a.replace(/"/g,"&quot;");return a}function StrXMLDecode(b){if(typeof(b)=="undefined"){return""}var a;a=/&amp;/g;b=b.replace(a,"&");a=/&gt;/g;b=b.replace(a,">");a=/&lt;/g;b=b.replace(a,"<");a=/&apos;/g;b=b.replace(a,"'");a=/&quot;/g;b=b.replace(a,'"');return b}function SetAWSPanels(a,c,d,b){allDivs.divFeedbackDropDownWeb.style.display=a;allDivs.divComment.style.display=c;allDivs.divNewContent.style.display=d;allDivs.divFeedbackAsset.style.display=b;allDivs.divThirdImage.style.display=b}function SetExtraAWSPanels(b,a){allDivs.divClipArtComplaint.style.display=b;allDivs.divNewContentProductPanel.style.display=a}function SetBottomPanels(b,a){allDivs.divDisclaimerPanel.style.display=b;allDivs.divButtonPanel.style.display=a}function SetPageMode(a){allDivs.divDownloadsProblem.style.display="none";switch(a){case iAWSCompliment:SetAWSPanels("block","block","none","none");SetExtraAWSPanels("none","none");SetBottomPanels("block","block");break;case iAWSComplaint:SetAWSPanels("block","block","none","none");SetExtraAWSPanels("none","none");SetBottomPanels("block","block");if(iWebOfficeUpdate==allSelects.m_ddlFeedbackRegardingWeb.selectedIndex){allDivs.divDownloadsProblem.style.display="block"}break;case iAWSComplaint_Clipart:SetAWSPanels("block","block","none","none");SetExtraAWSPanels("block","none");SetBottomPanels("block","block");break;case iAWSSuggestion:SetAWSPanels("block","none","block","none");SetExtraAWSPanels("none","none");SetBottomPanels("block","block");break;case iAWSSuggestion_Cat:SetAWSPanels("block","none","block","none");SetExtraAWSPanels("none","none");SetBottomPanels("block","block");break;case iAWSSuggestion_Prod:SetAWSPanels("block","none","block","none");SetExtraAWSPanels("none","block");SetBottomPanels("block","block");break;case iAWSAsset:SetAWSPanels("block","none","none","block");SetExtraAWSPanels("none","none");SetBottomPanels("block","block");SetStepGraphics(2);allDivs.divSecondImage.style.display="none";allDivs.divThirdImage.style.display="block";break;case iAWSNo_Bottom:SetAWSPanels("block","none","none","none");SetExtraAWSPanels("none","none");SetBottomPanels("none","none");break}}function SetStepGraphics(b){var c="";var a="";if(!fIsRTL){c="/assistance/images/icon_right_arrow_active.gif";a="/assistance/images/icon_right_arrow_inactive.gif"}else{c="/assistance/images/icon_left_arrow_active.gif";a="/assistance/images/icon_left_arrow_inactive.gif"}switch(b){case 1:allImages.imgFirstPanel.src=c;allImages.imgFirstPanel.alt=strAltTextCurrent;allImages.imgSecondPanel.src=a;allImages.imgSecondPanel.alt=strAltTextCompleted;allImages.imgThirdPanel.src=a;allImages.imgThirdPanel.alt=strAltTextCompleted;allDivs.divSecondImage.style.display="none";allDivs.divThirdImage.style.display="none";break;case 2:allImages.imgFirstPanel.src=a;allImages.imgFirstPanel.alt=strAltTextCompleted;allImages.imgSecondPanel.src=c;allImages.imgSecondPanel.alt=strAltTextCurrent;allImages.imgThirdPanel.src=c;allImages.imgThirdPanel.alt=strAltTextCurrent;allDivs.divSecondImage.style.display="block";allDivs.divThirdImage.style.display="none";break;case 3:allImages.imgFirstPanel.src=a;allImages.imgFirstPanel.alt=strAltTextCompleted;allImages.imgSecondPanel.src=a;allImages.imgSecondPanel.alt=strAltTextCompleted;allImages.imgThirdPanel.src=c;allImages.imgThirdPanel.alt=strAltTextCurrent;allDivs.divSecondImage.style.display="block";allDivs.divThirdImage.style.display="block";break}}function Complete_Page(){allDivs.divProvideComments_Compliment.style.display="none";allDivs.divProvideComments_Complaint.style.display="none";var a=false;if(iWebAsset==allSelects.m_ddlFeedbackRegardingWeb.selectedIndex){a=true}if(0==iFeedbackType){SetPageMode(iAWSCompliment);SetStepGraphics(2);allDivs.divProvideComments_Compliment.style.display="block"}else{if(1==iFeedbackType){if(allSelects.m_ddlFeedbackRegardingWeb.selectedIndex==iWebClipart){SetPageMode(iAWSComplaint_Clipart)}else{SetPageMode(iAWSComplaint)}SetStepGraphics(2);allDivs.divProvideComments_Complaint.style.display="block"}else{if(2==iFeedbackType){if(!a){SetPageMode(iAWSSuggestion)}else{SetPageMode(iAWSAsset)}SetStepGraphics(2);if(a){allDivs.divSecondImage.style.display="none";allDivs.divThirdImage.style.display="block"}}else{SetPageMode(iAWSNo_Bottom);SetStepGraphics(2)}}}}function StrTrim(a){if(typeof(a)=="undefined"||null==a){return null}while(a.length>0&&a.charCodeAt(0)<=32){a=a.substring(1)}while(a.length>0&&a.charCodeAt(a.length-1)<=32){a=a.substring(0,a.length-1)}return a}function FIsCommentValid(d,b,a,c){if(typeof(d)=="undefined"||null==d){alert(b);return false}d=StrTrim(d);if(d.length<=0){alert(b);return false}if(a>0&&d.length>a){if(c.length>0){alert(c)}return false}return true}function FIsEmailAddressValid(b){if(typeof(b)=="undefined"){return true}if(null==b){return true}if(0==b.length){return true}for(var a=0;a<b.length;a++){if(b.charCodeAt(a)>127){return false}}return true}function AttemptSubmit(){if((allDivs.divFeedbackAsset.style.display=="block")){if(!FIsCommentValid(allTextAreas.m_txbAssetBox.value,strErrorDescription,650,"")){return}}if((allDivs.divComment.style.display=="block")){if(!FIsCommentValid(allTextAreas.m_txbCommentBox.value,strErrorDescription,650,"")){return}}if((allDivs.divNewContent.style.display=="block")){if(!FIsCommentValid(allTextAreas.m_txbNewContentDescribe.value,strErrorDescription,650,"")){return}}document.forms.Form1.submit()}function StrReplace(b,d,a){if(typeof(b)=="undefined"||typeof(d)=="undefined"||typeof(a)=="undefined"||null==b||null==b||null==b){return b}var c=b.indexOf(d);if(c<0){return b}return b.substring(0,c)+a+b.substring(c+d.length)}function goDisplayCount(d,g,k,c){if("undefined"==typeof(fDisableCounter)||"undefined"==typeof(fDisableCounterFirst)||"undefined"==typeof(fWasLastCountOver)){return}var a=document.getElementById(g);if("undefined"==typeof(a)||null==a){return}var m=true;if(fDisableCounter){if(fDisableCounterFirst){document.getElementById(k).innerHTML='<SPAN CLASS="FeedbackWizCounterText">'+strGoDisplayCountOK+"</SPAN>";fDisableCounterFirst=false}m=false}var h=a.value;var l=d-h.length;var f=null;var e=false;if("undefined"!=typeof(c)&&null!=c){f=document.getElementById(c);if("undefined"!=typeof(f)&&null!=f){e=true}}if(l>=0){if(m){document.getElementById(k).innerHTML='<SPAN CLASS="FeedbackWizCounterText">'+StrReplace(strGoDisplayCountOK,"{0}",""+l)+"</SPAN>"}else{if(fWasLastCountOver){document.getElementById(k).innerHTML='<SPAN CLASS="FeedbackWizCounterText">'+strGoDisplayCountOK+"</SPAN>"}}fWasLastCountOver=false;if(e){var b=true;if("undefined"!=typeof(iFeedbackWizStarRated)){b=(iFeedbackWizStarRated<1||iFeedbackWizStarRated>5)}if(0==h.length&&b){f.disabled=true}else{f.disabled=false}}}else{if(m){var j=strGoDisplayCountOver;j=StrReplace(j,"{0}",""+(d-l));j=StrReplace(j,"{1}",""+d);document.getElementById(k).innerHTML='<SPAN CLASS="FeedbackWizCounterStar">'+strGoDisplayCountOverStar+'</SPAN><SPAN CLASS="FeedbackWizCounterOverText">'+j+"</SPAN>"}else{if(!fWasLastCountOver){document.getElementById(k).innerHTML='<SPAN CLASS="FeedbackWizCounterStar">'+strGoDisplayCountOverStar+'</SPAN><SPAN CLASS="FeedbackWizCounterOverText">'+strGoDisplayCountOK+"</SPAN>"}}fWasLastCountOver=true;if(e){f.disabled=true}}}function modifyDisplayCount(a,g,f){var c=G(g);if(null==c){return}var h=c.value;var e=a-h.length;var d=document.body.getElementsByTagName("SPAN");if(e>=0){d[f].className="OFLbl";d[f].innerHTML=StrReplace(strGoDisplayCountOK,"{0}",""+e)}else{var b=strGoDisplayCountOver;b=StrReplace(b,"{0}",""+(a-e));b=StrReplace(b,"{1}",""+a);d[f].className="OILbl2";d[f].innerHTML=b}}function SetClipArtClientURLCookie(){if(FIsMac()||null!=StrGetArgumentValue("CAG")){mSetCookie("AWS_ClientURL_Sess","CIL")}return}function ClipartPreviewCreateWMPControl(){try{WMP7Obj=new ActiveXObject("WMPlayer.OCX.7")}catch(a){}try{if(typeof(WMP7Obj)=="object"){document.write('<OBJECT ID="MediaPlayer7" WIDTH="175" HEIGHT="175" CLASSID="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">');document.write('<PARAM name="url" VALUE="'+sMediaURL+'">');document.write('<PARAM NAME="enablecontextmenu" VALUE="false">');document.write('<PARAM NAME="uimode" VALUE="mini">');document.write('<PARAM NAME="autostart" VALUE="true">');document.write("</OBJECT>")}else{document.write('<OBJECT ID="MediaPlayer6" WIDTH="200" HEIGHT="200" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95">');document.write('<PARAM name="filename" VALUE="'+sMediaURL+'">');document.write('<PARAM NAME="animationatstart" VALUE="true">');document.write('<PARAM NAME="autorewind" VALUE="true">');document.write('<PARAM NAME="autostart" VALUE="true">');document.write('<PARAM NAME="showaudiocontrols" VALUE="true">');document.write('<PARAM NAME="showpositioncontrols" VALUE="false">');document.write('<PARAM NAME="showstatusbar" VALUE="false">');document.write('<EMBED TYPE="application/x-mplayer2"');document.write('	PLUGINSPAGE = "http://www.microsoft.com/Windows/MediaPlayer/"');document.write('	SRC="'+sMediaURL+'"');document.write('	NAME="MediaPlayer1"');document.write('	WIDTH="200"');document.write('	HEIGHT="200"');document.write('	ANIMATIONATSTART="true"');document.write('	AUTOREWIND="true"');document.write('	AUTOSTART="true"');document.write('	SHOWAUDIOCONTROLS="true"');document.write('	SHOWPOSITIONCONTROLS="false"');document.write('	SHOWSTATUSBAR="true">');document.write("</EMBED>");document.write("</OBJECT>")}}catch(a){}}function FIsMac(){if(typeof(window.navigator.platform)!="undefined"){return(-1!=window.navigator.platform.toUpperCase().indexOf("MAC"))}else{return(-1!=navigator.userAgent.toUpperCase().indexOf("MAC"))}}function SetReturnParameterValue(a){strAxInstallReturnParameter=escape(a)}function FIsSupportedWindows(){return("Win32"==navigator.platform&&-1==navigator.userAgent.indexOf("Windows 95")&&-1==navigator.userAgent.indexOf("Windows 98")&&-1==navigator.userAgent.indexOf("Windows ME")&&-1==navigator.userAgent.indexOf("Windows NT 4")&&-1==navigator.userAgent.indexOf("Windows CE"))}function FIsCorrectVersion(){var k;var a;var j;var b;var c;strVersion=GetCookie("AWS_ActivexVersion_Perm");if(""==strVersion||"0"==strVersion){return false}k=strVersion.split(".");a=Number(k[0]);j=Number(k[1]);b=Number(k[2]);c=Number(k[3]);var g=11;var e=0;var h=6006;var d=0;if(typeof(strOverwriteAXRequiredVersion)!="undefined"&&null!=strOverwriteAXRequiredVersion&&strOverwriteAXRequiredVersion.length>0){var f=strOverwriteAXRequiredVersion.split(".");if(4==f.length){g=Number(f[0]);e=Number(f[1]);h=Number(f[2]);d=Number(f[3])}}if(a>g){return true}if(a<g){return false}if(j>e){return true}if(j<e){return false}if(b>h){return true}if(b<h){return false}if(c<d){return false}return true}function SetActiveXInstallStatus(){fIsActiveXInstalled=false;if(!fSupportsActiveX||fDisableActivex){return}var a=FIsCorrectVersion();if(a){document.write('<SPAN style="display:none"><OBJECT CLASSID="clsid:02BCC737-B171-4746-94C9-0D8A0B2C0089" ID="DCTRL" WIDTH="0" HEIGHT="0"></OBJECT></SPAN>');fIsActiveXInstalled=(typeof(DCTRL)!="undefined"&&typeof(DCTRL.Version)!="undefined");if(!fIsActiveXInstalled){SetPersistentCookie("AWS_ActivexVersion_Perm",0)}}}function FShouldPromptForAx(){return !(FIsVariableInCookie("AWS_DontPrompt_Sess")||FIsVariableInCookie("AWS_DontPrompt_Perm")||fDisableActivex)}function FIsDCTRLInstalled(){return fIsActiveXInstalled}function FInstallActiveX(b,d,a){var c="";if("undefined"!=typeof(strActiveXInstallStyle)){c=strActiveXInstallStyle}if("undefined"==typeof(b)||null==b){b=false}if("undefined"==typeof(d)||null==d){d=window}if("undefined"==typeof(a)||null==a){a=false}if(!fIsActiveXInstalled&&!fInstallingActiveX&&fSupportsActiveX&&(b||FShouldPromptForAx())){fInstallingActiveX=true;var e=strAxInstall;e=e.replace("{0}",c);e=e.replace("{2}",strAxInstallReturnParameter);if(a){e=e.replace("{1}",escape(d.location.pathname.slice(1)+d.location.search+d.location.hash))}else{e=e.replace("{1}",escape(document.location.pathname.slice(1)+document.location.search+d.location.hash))}if(typeof(strOverwriteAXRequiredVersion)!="undefined"&&null!=strOverwriteAXRequiredVersion&&strOverwriteAXRequiredVersion.length>0){if(e.indexOf("?")<0){e+="?"}else{e+="&"}e+="reqver="+escape(strOverwriteAXRequiredVersion)}d.location.href=e;return false}return fIsActiveXInstalled}function StrRemoveParameterFromUrl(g,b){var e=g.toUpperCase();var a=b.toUpperCase();var d=e.indexOf("?"+a);if(d<0){d=e.indexOf("&"+a)}if(d<0){return g}var c=e.indexOf("&",d+1);if(c<0){d--}var f=g.substring(0,d+1);if(c>=0){f+=g.substring(c+1,g.length)}return f}function SetDontPrompt(){if(chkDontPrompt.checked){SetPersistentCookie("AWS_DontPrompt_Perm","1")}else{mDeleteCookie("AWS_DontPrompt_Perm")}}function FIsActiveXInstalled(){return(typeof(DCTRL)!="undefined"&&typeof(DCTRL.Version)!="undefined")}function FActiveXSupportsStartEditEx(){return(typeof(DCTRL)!="undefined"&&typeof(DCTRL.StartEditEx)!="undefined")}function ReturnToCaller(){var b;strParameter=unescape(strQueryStringParameter);if(0==strParameter.length){strParameter="1"}mSetCookie("AWS_DontPrompt_Sess",1);if(FIsActiveXInstalled()){mDeleteCookie("AWS_DontPrompt_Perm")}b=strQueryStringReturn;if(0==b.length){location.replace(".")}else{if("{1}"==b){history.back()}else{var a=/&amp;/g;b=b.replace(a,"&");b=StrRemoveParameterFromUrl(b,"AxInstalled");b+=(-1==b.indexOf("?"))?"?":"&";b+="AxInstalled="+unescape(strParameter);location.replace("http://"+location.hostname+"/"+b)}}}function SetInstallStatus(){document.getElementById("divStatus").style.display="none";if(FIsActiveXInstalled()){document.getElementById("divSuccess").style.display="inline"}else{document.getElementById("divFailure").style.display="inline";document.getElementById("opnlRetry").style.visibility="visible";document.getElementById("btnRetry").disabled=false}}function SafePrintWindow(){try{window.print()}catch(a){}}function TryChapter(d){var c=document.frmChapterNav;if(!c){return false}var b=c.ChapterNav;if(!b){return false}var a=b.selectedIndex;var f=b[a].value;if(typeof(f)!="undefined"&&null!=f&&f.length>0){window.location.href=f}}function SStyle(a,b){if(window.navigator.appName.toUpperCase().indexOf("NETSCAPE")>=0){SStyleNetscape(a,b)}else{if(window.navigator.userAgent.toUpperCase().indexOf("OPERA")>=0){SStyleOpera(a,b)}else{SStyleIE(a,b)}}}function SStyleNetscape(a,d){var f=document.createElement("style");f.type="text/css";var c=document.getElementsByTagName("head")[0];c.appendChild(f);var b=f.sheet;b.insertRule(a+" {"+d+"}",b.cssRules.length)}function SStyleOpera(a,c){var d=document.createElement("style");d.type="text/css";var b=document.getElementsByTagName("head")[0];d.appendChild(document.createTextNode(a+" {"+c+"}"));b.appendChild(d)}function SStyleIE(a,b){var c=document.styleSheets[document.styleSheets.length-1];c.addRule(a,b)}function SStyleH(a){SStyle(a,"display:none;")}function FixPageForPrinting(){AlterAllDivs("block");SWdthNF("_TopHtmlTableCell");SWdthNF("_TopHtmlTableCellChild");SWdthNF("_TopTmpltHtmlTable");SDsplyH("_BottomHtmlRightSide");SDsplyH("_Ont_LeftNav_Cell");SDsplyH("OntTocCell");SDsplyH("tblRatings");SDsplyH("m_RightNav");SDsplyH("_Ont_BrowserNotice");SStyleH(".RightNavBackgroundNew");SStyleH(".BOSiblingNav")}function UpdateOfficeRestrictionsCookie(d){if(window.navigator.appName.toUpperCase().indexOf("NETSCAPE")>=0||window.navigator.appName.toUpperCase().indexOf("FIREFOX")>=0||window.navigator.appName.toUpperCase().indexOf("OPERA")>=0){return}var n="ofcresset=1";if(typeof(location)=="undefined"||null==location||typeof(location.href)=="undefined"||null==location.href||location.href.indexOf(n)>=0){return}var g=StrGetOfficeRestrictionsCookie();if(null!=g&&g.length>=7&&"1"==StrGetCookie("_ofcresset")){SetOfficeRestrictionsCookie(g);return}var l=new Date();var e=new Date();e.setTime(l.getTime()+1000*60*60*24);mSetCookie("_ofcresset","1",false,e);if("1"!=StrGetCookie("_ofcresset")){SetOfficeRestrictionsCookie("0000000");return}var m=null;var c=null;if(typeof(AuthzCtrl)=="undefined"||typeof(AuthzCtrl.GetOfficeRestrictions)=="undefined"){m=document.createElement("object");try{m.classid="clsid:C9712B19-838B-45A5-ABF2-9A315DDDED50"}catch(k){m=null}if(null!=m){document.body.appendChild(m);c=m}}else{m=AuthzCtrl}var b=0;var o=false;if(typeof(m)!="undefined"&&null!=m&&typeof(m.GetOfficeRestrictions)!="undefined"){b=m.GetOfficeRestrictions();o=true}if(null!=c&&(typeof(document.body.contains)=="undefined"||document.body.contains(c))){document.body.removeChild(c)}if(!o){SetOfficeRestrictionsCookie("0000000");return}var a="";for(var f=0;f<7;f++){if(0!=(b&(1<<f))){a+="1"}else{a+="0"}}SetOfficeRestrictionsCookie(a);var j=StrGetOfficeRestrictionsCookie();if(a!=j){return}if(a==g){return}if(d){var h=location.href;if(h.indexOf("?")<0){h+="?"}else{h+="&"}mSetCookie("log","98");location.replace(h+n)}}function SetOfficeRestrictionsCookie(b){var a="";if(typeof(b)!="undefined"&&null!=b){a=b}var d=new Date();var c=new Date();c.setTime(d.getTime()+1000*60*60*24*365*2);mSetCookie("_ofcres",a,false,c)}function StrGetOfficeRestrictionsCookie(){return GetCookie("_ofcres","")}function OnFilterItemClick(a){SetPersistentCookie("AWS_TrustLevel",a);strUrl=location.href;strUrl=StrRemoveParameterFromUrl(strUrl,"stt");strUrl=StrRemoveParameterFromUrl(strUrl,"trc");location.href=StrRemoveParameterFromUrl(strUrl,"sf")}function OnSortItemClick(a){mSetCookie("AWS_SortBy",a);strUrl=location.href;location.href=StrRemoveParameterFromUrl(strUrl,"stt")}function AppSetToggleDiv(a){var b=document.getElementById("imgAppSetExp"+a.toString());var c=document.getElementById("divAppSetExp"+a.toString());if(typeof(b)=="undefined"||null==b||typeof(c)=="undefined"||null==c){return}if(c.style.display!="block"){c.style.display="block";b.src="/global/images/appset_expanded.gif"}else{c.style.display="none";b.src="/global/images/appset_expandable"+(fIsRTL?"_rtl":"")+".gif"}if(window.event!=null){window.event.cancelBubble=true}}function AppSetCollapseAllDivs(){for(var a=8;a<=12;a++){var b=document.getElementById("imgAppSetExp"+a.toString());var c=document.getElementById("divAppSetExp"+a.toString());if(typeof(b)=="undefined"||null==b||typeof(c)=="undefined"||null==c){continue}c.style.display="none";b.src="/global/images/appset_expandable"+(fIsRTL?"_rtl":"")+".gif"}}function AppSetExpandAllDivs(){for(var a=8;a<=12;a++){var b=document.getElementById("imgAppSetExp"+a.toString());var c=document.getElementById("divAppSetExp"+a.toString());if(typeof(b)=="undefined"||null==b||typeof(c)=="undefined"||null==c){continue}c.style.display="block";b.src="/global/images/appset_expanded.gif"}}function AppSetExpandDiv(a){var b=document.getElementById("imgAppSetExp"+a);var c=document.getElementById("divAppSetExp"+a);if(typeof(b)!="undefined"&&null!=b&&typeof(c)!="undefined"&&null!=c){if(c.style.display!="block"){c.style.display="block";b.src="/global/images/appset_expanded.gif"}}}function AppSetAutoDetect(){strDetectedApps="";if(!FInstallActiveX()){if(window.location.href.toLowerCase().indexOf("axinstalled=1")<0){mDeleteCookie("AWS_DontPrompt_Sess");mDeleteCookie("AWS_AXInstalled_Sess")}if(!FInstallActiveX()){return}}if(typeof(DCTRL)=="undefined"||typeof(DCTRL.GetInstalledVersion)=="undefined"){return}ClearDetectedAppCheckboxes();AppSetCollapseAllDivs();var h="cbAppSet";var e=strAppCodesToDetect.split(",");var d=0;for(var c=0;c<e.length;c++){e[c]=StrTrim(e[c]);if(null==e[c]||0>=e[c].length){continue}var f=e[c];if(null!=f&&3==f.length&&"Z"==f.charAt(0)){f=f.substring(1,3)}if("IP"==f){f="XD"}else{if("SPD"==f){f="SDR"}}var b=DCTRL.GetInstalledVersion(f);if(!(b>=8&&b<=12)){continue}var g="";if(b<10){g+="0"}g+=b.toString();g+="0";var a=document.getElementById(h+e[c]+g);if(typeof(a)=="undefined"||null==a){continue}a.checked=true;d++;strDetectedApps+=e[c]+g+"-";AppSetExpandDiv(b.toString())}if(d<=0){AppSetExpandAllDivs()}if(strDetectedApps.length>0&&"-"==strDetectedApps.charAt(strDetectedApps.length-1)){strDetectedApps=strDetectedApps.substring(0,strDetectedApps.length-1)}AppSetSetStatus(1)}function ClearDetectedAppCheckboxes(){var b=document.getElementsByTagName("input");if("undefined"==typeof(b)||null==b||0>=b.length){return}var c="cbAppSet";for(var a=0;a<b.length;a++){if(null==b[a]||"undefined"==typeof(b[a].id)){continue}if(0!=b[a].id.indexOf(c)){continue}if(undefined==typeof(b[a].type)||null==b[a].type){continue}if("checkbox"!=b[a].type){continue}b[a].checked=false}}function AppSetSubmitApps(){var b=document.getElementsByTagName("input");if("undefined"==typeof(b)||null==b||0>=b.length){return}var c="cbAppSet";var e="";for(var a=0;a<b.length;a++){if(null==b[a]||"undefined"==typeof(b[a].id)){continue}if(0!=b[a].id.indexOf(c)){continue}if(undefined==typeof(b[a].type)||null==b[a].type){continue}if("checkbox"!=b[a].type){continue}if(!b[a].checked){continue}e+=b[a].id.substring(c.length);e+="-"}if(e.length>0&&"-"==e.charAt(e.length-1)){e=e.substring(0,e.length-1)}if(typeof(window)=="undefined"||typeof(window.location)=="undefined"||typeof(window.location.href)=="undefined"){return}var d=window.location.href;if(d.indexOf("?")<0){d+="?"}else{d+="&"}d+="postback=1";if(d.indexOf("prevurl=")<0&&null!=strAppSetPrevUrl){d+="&prevurl=";d+=StrEncodeUrlComponent(strAppSetPrevUrl)}if(null!=e&&e.length>0){d+="&sapps=";d+=StrEncodeUrlComponent(e)}if(null!=strDetectedApps&&strDetectedApps.length>0){d+="&dapps=";d+=StrEncodeUrlComponent(strDetectedApps)}window.location.href=d}function AppSetParseCookieAndSetCheckboxes(){var f=GetCookie("_ofcapp","");if(typeof(f)=="undefined"||null==f||f.length<=0){return}AppSetCollapseAllDivs();var b=f.toUpperCase().split("-");var e=0;for(var d=0;d<b.length;d++){var a=document.getElementById("cbAppSet"+b[d]);if(typeof(a)=="undefined"||null==a){continue}a.checked=true;e++;var c=b[d];while(c.length>0&&("0">c.charAt(0)||"9"<c.charAt(0))){c=c.substring(1)}if(c.length>=3){c=c.substring(0,2)}while(c.length>0&&"0"==c.charAt(0)){c=c.substring(1)}AppSetExpandDiv(c)}if(e<=0){AppSetExpandAllDivs()}}function AppSetSetStatus(a){if(0==a){document.getElementById("tdStep2Label1").className="cdAppSetStepDisabled";document.getElementById("tdStep2Label2").className="cdAppSetStepDisabled";document.getElementById("tdStep2Story").className="cdAppSetStepStoryDisabled";document.getElementById("tdStep3Label1_0").className="cdAppSetStepDisabled";document.getElementById("tdStep3Label2_0").className="cdAppSetStepDisabled";document.getElementById("spnStep3_1").style.display="none";document.getElementById("btnAppSetSave_0").disabled=true;document.getElementById("spnAppList").style.display="none"}else{if(1==a){document.getElementById("tdStep2Label1").className="cdAppSetStepEnabled";document.getElementById("tdStep2Label2").className="cdAppSetStepEnabled";document.getElementById("tdStep2Story").className="cdAppSetStepStoryEnabled";document.getElementById("tdStep3Label1_0").className="cdAppSetStepEnabled";document.getElementById("tdStep3Label2_0").className="cdAppSetStepEnabled";document.getElementById("spnStep3_1").style.display="block";document.getElementById("btnAppSetSave_0").disabled=false;document.getElementById("spnAppList").style.display="block";document.getElementById("spnLnkManual").style.visibility="hidden"}else{document.getElementById("tdStep2Label1").className="cdAppSetStepEnabled";document.getElementById("tdStep2Label2").className="cdAppSetStepEnabled";document.getElementById("tdStep2Story").className="cdAppSetStepStoryEnabled";document.getElementById("tdStep3Label1_0").className="cdAppSetStepEnabled";document.getElementById("tdStep3Label2_0").className="cdAppSetStepEnabled";document.getElementById("spnStep3_1").style.display="block";document.getElementById("btnAppSetSave_0").disabled=false;document.getElementById("spnAppList").style.display="block"}}}var SURVEY_COOKIE_NAME="SURVEY_PROMPT";function checkForSurvey(){if(!FIsValidSurveyVars()){return}if(Math.random()<(L_UserPercentage_Number/100)){var a=DtConvertSurveyDate(L_StartDate_Text);var d=DtConvertSurveyDate(L_EndDate_Text);d.setDate(d.getDate()+1);var c=new Date();if(c>=a&&c<d){var b=GetCookie(SURVEY_COOKIE_NAME);if(b==""){setSurveyCookie();doSurveyPrompt()}}}}function FIsValidSurveyVars(){if(typeof(L_SurveyURL_Text)!="string"){return false}if(typeof(L_PrivacyStatement_Text)!="string"){return false}if(typeof(L_UserPercentage_Number)!="number"){return false}if(typeof(L_SurveyText_Text)!="string"){return false}if(typeof(L_TopCoordinate_Number)!="number"){return false}if(typeof(L_LeftCoordinate_Number)!="number"){return false}if(typeof(L_StartDate_Text)!="string"){return false}if(typeof(L_EndDate_Text)!="string"){return false}if(L_UserPercentage_Number<0||L_UserPercentage_Number>100){return false}if(L_LeftCoordinate_Number<0||L_LeftCoordinate_Number>document.body.clientWidth){return false}if(L_TopCoordinate_Number<0||L_TopCoordinate_Number>document.body.clientHeight){return false}return true}function DtConvertSurveyDate(d){var b=parseInt(d.substring(0,4));var c=parseInt(d.substring(5,7))-1;var a=parseInt(d.substring(8,10));return new Date(b,c,a)}function setSurveyCookie(){var b=new Date();var a=new Date();a.setTime(b.getTime()+7776000000);mSetCookie(SURVEY_COOKIE_NAME,"1",false,a)}function doSurveyPrompt(){var c=document.getElementById("divSurvey");if(typeof(c)=="undefined"){return}c.style.left=L_LeftCoordinate_Number;c.style.top=L_TopCoordinate_Number;var b=document.getElementById("divSurveyText");if(typeof(b)=="undefined"){return}b.innerHTML=L_SurveyText_Text;var d=document.getElementById("divSurveyPrivacyStatement");if(typeof(d)=="undefined"){return}d.innerHTML=L_PrivacyStatement_Text;c.style.display="block";var a=document.getElementById("btnSurveyYes");if(typeof(a)!="undefined"){a.focus()}}function closeSurveyPrompt(){var a=document.getElementById("divSurvey");a.style.display="none"}function launchSurvey(){window.open(L_SurveyURL_Text,"_Survey","toolbar=0,location=0,status=0,menubar=0,scrollbars=yes,resizable=1,width=600,height=400");closeSurveyPrompt()}function ApplyAppScope(a){strUrl=location.href;strUrl=StrRemoveParameterFromUrl(strUrl,"stt");strUrl=StrRemoveParameterFromUrl(strUrl,"sb");strUrl=StrRemoveParameterFromUrl(strUrl,"av");if(a==null||a.length==0){location.href=strUrl}else{if(strUrl.indexOf("?")>0){location.href=strUrl+"&av="+a}else{location.href=strUrl+"?av="+a}}}function ApplyScope(a){G("ddTypeFilter").disabled=true;strUrl=location.href;strUrl=StrRemoveParameterFromUrl(strUrl,"sc");strUrl=StrRemoveParameterFromUrl(strUrl,"CTT");strUrl=StrRemoveParameterFromUrl(strUrl,"Origin");strUrl=StrRemoveParameterFromUrl(strUrl,"PoleAssetID");strUrl=StrRemoveBookmarkFromUrl(strUrl);if(a==null||a.length==0){location.href=strUrl}else{if(strUrl.indexOf("?")>0){location.href=strUrl+"&sc="+a}else{location.href=strUrl+"?sc="+a}}}function ApplyCategoryFilter(a){if("noop"==a){return}G("ddCategoryFilter").disabled=true;strUrl=location.href;strUrl=StrRemoveParameterFromUrl(strUrl,"CategoryID");strUrl=StrRemoveParameterFromUrl(strUrl,"CTT");strUrl=StrRemoveParameterFromUrl(strUrl,"Origin");strUrl=StrRemoveParameterFromUrl(strUrl,"PoleAssetID");strUrl=StrRemoveBookmarkFromUrl(strUrl);if(a==null||a.length==0){location.href=strUrl}else{if(strUrl.indexOf("?")>0){location.href=strUrl+"&CategoryID="+a}else{location.href=strUrl+"?CategoryID="+a}}}function StrRemoveBookmarkFromUrl(b){var a=b.indexOf("#");if(a<0){return b}return b.substring(0,a)}function ElmGetSafeElement(b){if(null==b||0>=b.length){return null}var a=document.getElementById(b);if(typeof(a)=="undefined"){return null}return a}function ResizeTabDivs(strCtrlId){if(typeof(navigator)!="undefined"&&null!=navigator&&typeof(navigator.appName)!="undefined"&&null!=navigator.appName){if(navigator.appName.indexOf("Internet Explorer")>=0&&typeof(navigator.appVersion)!="undefined"&&null!=navigator.appVersion&&navigator.appVersion.indexOf("MSIE 7")>=0){return}if(navigator.appName.indexOf("Netscape")>=0){return}}var strExtraLinkDivId=null;eval("if (typeof(strExtraLinkDivId_"+strCtrlId+") != 'undefined')strExtraLinkDivId = strExtraLinkDivId_"+strCtrlId+";");var nExtraLinkDivOrigHeight=-1;if(null!=strExtraLinkDivId){eval("nExtraLinkDivOrigHeight = nExtraLinkDivOrigHeight_"+strCtrlId+";")}var strPrefix="divTabCtrl_"+strCtrlId+"_";var fNeedDivs=false;var rgDivs=null;eval("if (null == rgTabCtrlDivs_"+strCtrlId+") fNeedDivs = true;");if(fNeedDivs){rgDivs=new Array();rgAllDivs=document.getElementsByTagName("div");for(var i=0;i<rgAllDivs.length;i++){if(typeof(rgAllDivs[i].id)=="undefined"||null==rgAllDivs[i].id||0!=rgAllDivs[i].id.indexOf(strPrefix)){continue}rgDivs[rgDivs.length]=rgAllDivs[i]}eval("rgTabCtrlDivs_"+strCtrlId+" = rgDivs;")}else{eval("rgDivs = rgTabCtrlDivs_"+strCtrlId+";")}var nMaxHeight=0;var nNewHeight=0;for(var i=0;i<rgDivs.length;i++){var nHeight=rgDivs[i].offsetHeight;if(nHeight>nMaxHeight){nMaxHeight=nHeight}if(null!=strExtraLinkDivId&&rgDivs[i].id==strExtraLinkDivId){if(nHeight>0&&nExtraLinkDivOrigHeight<=0){eval("nExtraLinkDivOrigHeight_"+strCtrlId+" = "+nHeight.toString()+";");nExtraLinkDivOrigHeight=nHeight}nNewHeight=nHeight}}var strMaxHeight=nMaxHeight.toString();for(var i=0;i<rgDivs.length;i++){rgDivs[i].style.height=strMaxHeight+"px"}if(nNewHeight>0){nNewHeight=nMaxHeight+8-nExtraLinkDivOrigHeight;var tdExtraLinkPadding=ElmGetSafeElement("tdExtraLinkPadding_"+strCtrlId);tdExtraLinkPadding.style.height=nNewHeight.toString()+"px"}}function TabCtrlTabClick(strCtrlId,strTabId){ResizeTabDivs(strCtrlId);var strLastCat="";eval("strLastCat = strTabCtrlLastTopCat_"+strCtrlId+";");var tdLast=ElmGetSafeElement("tdTabCtrl_"+strCtrlId+"_"+strLastCat);var tdLastLeft=ElmGetSafeElement("tdTabCtrlLeft_"+strCtrlId+"_"+strLastCat);var tdLastRight=ElmGetSafeElement("tdTabCtrlRight_"+strCtrlId+"_"+strLastCat);var divLast=ElmGetSafeElement("divTabCtrl_"+strCtrlId+"_"+strLastCat);var aLast=ElmGetSafeElement("aTabCtrl_"+strCtrlId+"_"+strLastCat);var tdNew=ElmGetSafeElement("tdTabCtrl_"+strCtrlId+"_"+strTabId);var tdNewLeft=ElmGetSafeElement("tdTabCtrlLeft_"+strCtrlId+"_"+strTabId);var tdNewRight=ElmGetSafeElement("tdTabCtrlRight_"+strCtrlId+"_"+strTabId);var divNew=ElmGetSafeElement("divTabCtrl_"+strCtrlId+"_"+strTabId);var aNew=ElmGetSafeElement("aTabCtrl_"+strCtrlId+"_"+strTabId);if(null!=tdLast){tdLast.className="cdBCTCTabCell";tdLastLeft.className="cdBCTCTabCellLeft";tdLastRight.className="cdBCTCTabCellRight"}if(null!=divLast){divLast.style.display="none"}if(null!=aLast){aLast.style.cursor="auto"}if(null!=tdNew){tdNew.className="cdBCTCTabCellSel";tdNewLeft.className="cdBCTCTabCellSelLeft";tdNewRight.className="cdBCTCTabCellSelRight"}if(null!=divNew){divNew.style.display="block"}if(null!=aNew){aNew.style.cursor="default"}eval("strTabCtrlLastTopCat_"+strCtrlId+" = strTabId;")}function LNProdSelected(a){if(null!=a&&a.length>0){if("*"==a.charAt(0)){window.open(a.substring(1,a.length),"_blank")}else{location.href=a}}}function DeleteChildElement(a){elmChild=document.getElementById(a);if("undefined"==typeof(elmChild)||null==elmChild){return}var b=elmChild.parentNode;if("undefined"==typeof(b)||null==b){return}b.removeChild(elmChild)}function offset(a,c){var b=0;if(a==null){return b}while(a.offsetParent){b+=((c=="x")?a.offsetLeft:a.offsetTop);a=a.offsetParent}return b}function setNonSearchString(a){if(a!=null&&a!="undefined"&&a.value==""){a.value=strNonSearchString;setSearchOffColor(a);fEnteredText=false}}function setSearchOffColor(a){a.className="cdsearchbox cdSearchBoxOffColor"}function setSearchOnColor(a){a.className="cdsearchbox cdSearchBoxOnColor"}function delayedclose(){fSearchFocus=false;window.setTimeout("searchclose()",400)}function setSearchFocus(){fSearchFocus=true}function searchclose(){var a=document.getElementById("cdsearchoutcdsdrop");if(a!=null&&a!="undefined"){if(fSearchFocus==false){a.style.display="none";fSearchOn=false}}}function searchout(){var b=document.getElementById("cdsearchoutcdsdrop");if(b!=null&&b!="undefined"&&fSearchOn==true){b.style.display="none";fSearchOn=false}else{var d=document.getElementById("cdsdropleft");var a=document.getElementById("cdsdrop");if(d!=null&&d!="undefined"&&a!=null&&a!="undefined"&&b!=null&&b!="undefined"){var e=offset(d,"x");var c=offset(d,"y");b.style.display="none";b.style.position="absolute";if(fIsRTL){e=offset(a,"x");b.style.left=e+"px"}else{b.style.left=e+"px"}b.style.top=c+a.offsetHeight+"px";b.style.display="block";fSearchOn=true}}}function resizeSearchBox(){var b=document.getElementById("frmSearch_tbQueryStr");var a=document.getElementById("tdSearchBox");if(b!=null&&b!="undefined"&&a!=null&&a!="undefined"){var c=a.offsetWidth;b.style.width=c-10+"px";if(b.value!=strNonSearchString){fEnteredText=true;setSearchOnColor(b)}}}function wmpCreate(b){try{wmp7Obj=new ActiveXObject("WMPlayer.OCX.7")}catch(a){}if(typeof(wmp7Obj)=="object"){wmpCreateActiveX(b);g_fWmp7=true;wmp7=1}else{wmpCreateDownLevel(b);wmp6=1}}function wmpCreateActiveX(a){document.write('<object id="wmp" width="100%" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">');document.write('<param name="url" value="'+a+'">');document.write('<param name="uimode" value="mini">');document.write('<param name="enablecontextmenu" value="false">');document.write('<param name="autostart" value="false">');document.write("</object>")}function wmpCreateDownLevel(a){document.write('<object id="wmpold" width="255" height="40" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95">');document.write('<param name="filename" value="'+a+'">');document.write('<param name="animationatstart" value="true">');document.write('<param name="autorewind" value="true">');document.write('<param name="autostart" value="false">');document.write('<param name="showaudiocontrols" value="true">');document.write('<param name="showpositioncontrols" value="false">');document.write('<param name="showstatusbar" value="false">');document.write('<embed type="application/x-mplayer2"');document.write('	pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"');document.write('	src="'+a+'"');document.write('	width="225"');document.write('	height="40"');document.write('	animationstart="true"');document.write('	autorewind="true"');document.write('	autostart="true"');document.write('	showaudiocontrols="true"');document.write('	showpositioncontrols="true"');document.write('	showstatusbar="true"');document.write(" />");document.write("</object>")}function wmpInitialize(a){if(!g_fWmp7){document.getElementById("cdWmpActiveX").style.display="none";document.getElementById("cdWmpEmbedded").style.display="block";return}for(i=0;i<rgHover.length;i++){cacheImage(a,rgHover[i])}for(i=0;i<rgDown.length;i++){cacheImage(a,rgDown[i])}wmpVolumeRender()}function wmpPlay(){document.getElementById("wmp").controls.play();document.getElementById("imgWmpPause").style.display="inline";document.getElementById("imgWmpPause").focus();document.getElementById("imgWmpPlay").style.display="none";wmpIconBtnUp("imgWmpStop",2)}function wmpPause(){document.getElementById("wmp").controls.pause();document.getElementById("imgWmpPause").style.display="none";document.getElementById("imgWmpPlay").style.display="inline";document.getElementById("imgWmpPlay").focus()}function wmpStop(){if(rgDownState[2]){return}document.getElementById("wmp").controls.stop();wmpIconBtnDown("imgWmpStop",2);document.getElementById("imgWmpPause").style.display="none";document.getElementById("imgWmpPlay").style.display="inline"}function wmpMuteToggle(){wmpMute(!rgDownState[3])}function wmpMute(a){document.getElementById("wmp").settings.mute=a;if(a){wmpIconBtnDown("imgWmpMute",3)}else{wmpIconBtnUp("imgWmpMute",3)}}function wmpVolumeRender(){var b=document.getElementById("wmp");var d=b.settings.volume/20;var a="imgWmpVol";for(i=1;i<=5;i++){var c=document.getElementById(a+i);if(i<=d){c.src="/_Services/Ont/images/wmp_vol_on.gif"}else{c.src="/_Services/Ont/images/wmp_vol_off.gif"}}}function wmpVolumeDown(){var a=document.getElementById("wmp");volNew=a.settings.volume-20;if(volNew<0){volNew=0}a.settings.volume=volNew;wmpVolumeRender();wmpMute(false);wmpIconBtnDown("imgWmpVolDown",4);setTimeout("wmpIconBtnUp('imgWmpVolDown',"+4+");",100)}function wmpVolumeUp(){var a=document.getElementById("wmp");volNew=a.settings.volume+20;if(volNew>100){volNew=100}a.settings.volume=volNew;wmpVolumeRender();wmpMute(false);wmpIconBtnDown("imgWmpVolUp",5);setTimeout("wmpIconBtnUp('imgWmpVolUp',"+5+");",100)}function wmpIconOver(b,a){if(rgDownState[a]){return}ctrl=document.getElementById(b);ctrl.src=rgHover[a]}function wmpIconOut(b,a){if(rgDownState[a]){return}ctrl=document.getElementById(b);ctrl.src=rgDefault[a]}function wmpIconBtnDown(b,a){if(rgDownState[a]){return}ctrl=document.getElementById(b);ctrl.src=rgDown[a];rgDownState[a]=true}function wmpIconBtnUp(b,a){ctrl=document.getElementById(b);ctrl.src=rgDefault[a];rgDownState[a]=false}function cacheImage(a,c){var b=new Image();b.src=c;a.push(b)}function tocToggle(d,b){var c=document.getElementById("img"+d);var e=document.getElementById("div"+d);var a=e.style.display!="none";if(!a&&e.innerHTML==""){strDiv='<div style="';if(fIsRTL){strDiv+="margin-right:"}else{strDiv+="margin-left:"}strDiv+='20px">';strDiv+=g_strUpdatingText;strDiv+="</div>";e.innerHTML=strDiv;e.style.display="block";xmlHttp=GetXMLHttp();xmlHttp.open("GET","/search/catquery.aspx?CategoryId="+d,true);xmlHttp.onreadystatechange=function(){if(xmlHttp.readyState==4){tocExpandAsync(xmlHttp.responseXML.documentElement,b)}};xmlHttp.send(null)}else{e.style.display=a?"none":"block";c.src=a?"/global/images/plus.gif":"/global/images/minus.gif"}}function tocExpandAsync(b,a){if(b==null){return}rgCategories=b.getElementsByTagName("category");if(rgCategories==null||rgCategories.length!=1){return}strCategory=rgCategories[0].firstChild.nodeValue;divCategory=document.getElementById("div"+strCategory);divCategory.innerHTML=tocRenderSubCategories(b,a);divCategory.innerHTML+=tocRenderAssets(b,a);divCategory.style.display="block";imgCategory=document.getElementById("img"+strCategory);imgCategory.src="/global/images/minus.gif"}function tocRenderSubCategories(b,a){if(b==null){return""}rgSubCategories=b.getElementsByTagName("subcat");if(rgSubCategories.length==0){return""}strRet='<ul class="cdTOCCategory" style="';if(fIsRTL){strRet+="margin-right:"}else{strRet+="margin-left:"}strRet+=(a*15);strRet+='px">';for(i=0;i<rgSubCategories.length;i++){nnm=rgSubCategories[i].attributes;id=nnm.getNamedItem("id").value;strTitle=nnm.getNamedItem("name").value;strRet+="<li><nobr>";strRet+="<a href=\"javascript:tocToggle('";strRet+=id;strRet+="',";strRet+=(a+1);strRet+=');">';strRet+='<img id="img';strRet+=id;strRet+='" title="';strRet+=g_strExpandoAltText;strRet+='" src="/global/images/plus.gif" />';strRet+="</a>";strRet+="&nbsp;&nbsp;";strRet+='<b><a href="';strRet+=id;strRet+='.aspx" title="';strRet+=strTitle;strRet+='">';strRet+=strTitle;strRet+="</a></b>";strRet+="</nobr></li>";strRet+='<div id="div';strRet+=id;strRet+='" style="display:none"></div>'}strRet+="</ul>";return strRet}function tocRenderAssets(b,a){if(b==null){return""}rgAssets=b.getElementsByTagName("asset");if(rgAssets.length==0){return""}strRet='<ul class="cdTOCContent">';for(i=0;i<rgAssets.length;i++){nnm=rgAssets[i].attributes;strTitle=nnm.getNamedItem("name").value;strRet+='<li><nobr><a href="';strRet+=nnm.getNamedItem("id").value;strRet+='.aspx" title="';strRet+=strTitle;strRet+='">';strRet+=strTitle;strRet+="</a></nobr></li>"}strRet+="</ul>";return strRet}function ShowPracticeVerWarning(a){var b=document.getElementById("divVersionWarning");var c=document.getElementById("spnVersionText");if(b=="undefined"||c=="undefined"){return}b.style.display="block";c.innerHTML=a}function ResetUser(){var a=new Date();a.setDate(a.getDate()-10);document.cookie="dname=; expires="+a+"; path=/; domain="+StrHostRoot();document.cookie="_ofcapp=; expires="+a+"; path=/; domain="+StrHostRoot();document.cookie="_ofcappgrp=; expires="+a+"; path=/; domain="+StrHostRoot();location.href=location.href}function StrHostRoot(){var b=document.location.hostname;var c=b.split(".");if(c.length>3){var a=c.length-3;b=c[a]+"."+c[a+1]+"."+c[a+2]}return b}function NSelBasketCalcSpeed(){return 56}function FIsMPFPrefered(){return;!("CIL"==GetCookie("AWS_DownloadMethod_Sess").toUpperCase()||(0==GetCookie("AWS_DownloadMethod_Sess").length&&"CIL"==GetCookie("AWS_ClientURL_Sess").toUpperCase()))}var JumpToFirstOccurance=true;var CatchJSErrors=true;var SkipZoomStops=true;var IsZoomStop=0;function catcherror(){return true}if(CatchJSErrors){window.onerror=catcherror}function QueryString(b){var c=null;for(var a=0;a<QueryString.keys.length;a++){if(QueryString.keys[a]==b){c=QueryString.values[a];break}}return c}function QueryString_Parse(){var e=window.location.search.substring(1);var d=e.split("&");for(var b=0;b<d.length;b++){var f=d[b].indexOf("=");if(f>=0){var a=d[b].substring(0,f);var c=d[b].substring(f+1);QueryString.keys[QueryString.keys.length]=a;QueryString.values[QueryString.values.length]=c}}}QueryString.keys=new Array();QueryString.values=new Array();QueryString_Parse();function getElement(a){if(document.getElementById){return(document.getElementById(a))}else{if(document.all){return(document.all[a])}}}function findPosY(b){var a=0;if(b.offsetParent){while(b.offsetParent){a+=b.offsetTop;b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function ZRetrieveQuery(){var g=0;var a;var e;a=QueryString("zoom_highlight");if(a==""||a==null){a=QueryString("zoom_highlightsub");if(a==""||a==null){return false}else{g=1}}if((document.charset&&document.charset=="utf-8")||(document.characterSet&&document.characterSet=="UTF-8")){a=decodeURIComponent(a)}else{a=unescape(a)}a=a.toLowerCase();var d=/\"(.*?)\"|[^\\+\"]+/g;e=a.match(d);for(var c=0;c<e.length;c++){if(e[c]!=""){if(e[c].indexOf('"')!=-1){e[c]=e[c].replace(/\"/g,"");e[c]=e[c].replace(/\+/g," ")}else{e[c]=e[c].replace(/\+/g,"")}if(e[c].indexOf("*")!=-1||e[c].indexOf("?")!=-1){e[c]=e[c].replace(/\\/g," ");e[c]=e[c].replace(/\^/g," ");e[c]=e[c].replace(/\#/g," ");e[c]=e[c].replace(/\$/g," ");e[c]=e[c].replace(/\./g," ");var f=/\w/;if(f.test(e[c])){e[c]=e[c].replace(/\*/g,"[^\\s]*");e[c]=e[c].replace(/\?/g,"[^\\s]")}else{e[c]=""}}if(e[c]!=""){if(g==0){e[c]="(>[\\s]*|>[^<]+[\\b\\W])("+e[c]+")(<|[\\b\\W][^>]*<)"}else{var b="";if(e[c].substr(0,7)=="[^\\s]*"){b="\\b"}e[c]="(>|>[^<]+)"+b+"("+e[c]+")([^>]*<)"}}}}return e}function ZHighlightText(terms,text){text=text.replace(/&amp;/ig,"&");text=text.replace(/&nbsp;/ig,"");for(var i=0;i<terms.length;i++){if(terms[i]!=""){var l=0;re=new RegExp(terms[i],"gi");var count=0;text=">"+text+"<";do{l=text.length;text=text.replace(re,'$1<span class="highlight" id="highlight" name="highlight">$2</span id="highlight">$3');count++}while(l!=text.length&&count<100);text=text.substring(1,text.length-1)}}text=text.replace(eval("//g"),"");text=text.replace(eval("//g"),"&nbsp;");return(text)}function jumpHL(){var a=getElement("highlight");if(a){if(a.scrollIntoView){a.scrollIntoView()}else{var b=findPosY(a);if(b<100){window.scrollTo(0,0)}else{window.scrollTo(0,b-50)}}}}function ZHighlightReplace(c,a){var e=a.nodeValue;var d=ZHighlightText(c,e);if(d!=e){var b=document.createElement("span");b.innerHTML=d;a.parentNode.replaceChild(b,a)}}function ZHighlightSearch(d,a){if(!a){a=document.body.childNodes}for(var c=0,b=a.length;c<b;c++){ZHighlightSearch(d,a[c].childNodes);if(SkipZoomStops&&a[c].nodeType===8){if(a[c].nodeValue=="ZOOMSTOP"){IsZoomStop=1}else{if(a[c].nodeValue=="ZOOMRESTART"){IsZoomStop=0}}}if(IsZoomStop==0&&a[c].nodeType===3){ZHighlightReplace(d,a[c])}}}function highlight(){if(!"".match){return}if(document.body){var a=ZRetrieveQuery();if(a!=false){IsZoomStop=0;ZHighlightSearch(a);if(JumpToFirstOccurance){jumpHL()}}}};
