function showSection(A){if(A.style.display=="none"){A.style.display=""}else{A.style.display="none"}}function expandWithArrow(B,A){if(B.style.display=="none"){B.style.display="";A.src="help_style/arrowdn.gif"}else{B.style.display="none";A.src="help_style/arrowrt.gif"}}function openDivTagsWithString(D){var E=document.getElementsByTagName("DIV");for(i=0;i<E.length;i++){var C=E[i].outerHTML;if(C.indexOf(D)!=-1){var A=E[i].id;var B=A.replace("section","arrow");E[i].style.display="block";if(E[i].className=="expanded"){document.images[B].src="help_style/arrowdn.gif"}}}}function showSectionNoHide(C,B){var A="id="+C+" ";openDivTagsWithString(A)}function scrollToAnchor(A){location="#"+A}function showAllText(){var A=document.getElementsByTagName("DIV");for(i=0;i<A.length;i++){A[i].style.display=""}var B=document.getElementsByTagName("IMG");for(i=0;i<B.length;i++){if(B[i].id.length>0){B[i].src="help_style/arrowdn.gif"}}}function hideAllText(){var A=document.getElementsByTagName("DIV");for(i=0;i<A.length;i++){A[i].style.display="none"}var B=document.getElementsByTagName("IMG");for(i=0;i<B.length;i++){if(B[i].id.length>0){B[i].src="help_style/arrowrt.gif"}}}function finishDocument(){checkLocation();setCheckBoxState();hideSections();setVisibility();checkForHighlighting();checkForAnchor()}function checkLocation(){locationString=location.toString();if(locationString.indexOf(".chm::/")!=locationString.lastIndexOf(".chm::/")){startNumber=locationString.indexOf(".chm::/")+7;endNumber=locationString.length;replacedString="ms-its:"+locationString.substring(startNumber,endNumber);location=replacedString}}function setCheckBoxState(){var B=document.getElementsByTagName("DIV");var A=document.getElementsByTagName("FORM");if((B.length==0)&&(A.length>0)){document.form1.ShowAll.checked=true;document.form1.ShowAll.disabled=true;checkboxLabel.className="disabledlabel"}}function hideSections(){var B=document.getElementsByTagName("DIV");for(i=0;i<B.length;i++){var A=B[i].id;if(A.indexOf("expanded")==-1){B[i].style.display="none"}}}function setVisibility(){body.style.visibility="visible"}function checkForHighlighting(){var B=document.body.innerHTML;if((B.indexOf("<FONT")!=-1)&&(B.indexOf('style="BACKGROUND-COLOR: #')!=-1)&&(B.indexOf("color=#ffffff")!=-1)){var E=document.getElementsByTagName("DIV");var A=0;for(i=0;i<E.length;i++){var D=E[i].innerHTML;if((D.indexOf("<FONT")!=-1)&&(D.indexOf('style="BACKGROUND-COLOR: #')!=-1)&&(D.indexOf("color=#ffffff")!=-1)){var C=E[i].id;var F=C.replace("section","arrow");E[i].style.display="block";if(E[i].className=="expanded"){document.images[F].src="help_style/arrowdn.gif"}A=A+1}}var I=document.getElementsByTagName("FONT");for(i=0;i<I.length;i++){if((I[i].color=="#ffffff")&&(I[i].style.backgroundColor!=-1)){fontTagToUse=I[i];break}}var H=fontTagToUse.parentElement;if((H.tagName=="B")||(H.tagName=="I")||(H.tagName=="A")||(H.tagName=="SPAN")){H.parentElement.scrollIntoView()}else{H.scrollIntoView()}var G=document.getElementsByTagName("FORM");if((A==E.length)&(G.length>0)){document.form1.ShowAll.checked=true}}}function checkForAnchor(){locationString=location.toString();if(locationString.indexOf(".htm#")!=-1){startNumber=locationString.indexOf(".htm#")+5;endNumber=locationString.length;anchor=locationString.substring(startNumber,endNumber);var A="<A name="+anchor+"></A>";openDivTagsForSpansWithString(A);openDivTagsWithString(A);location="#"+anchor}}function openDivTagsForSpansWithString(B){var A=document.getElementsByTagName("SPAN");for(i=0;i<A.length;i++){var C=A[i].outerHTML;if(C.indexOf(B)!=-1){A(i).click()}}}function runOnLoadFunctions(){finishDocument()}function runBeforePrint(){body.style.visibility="visible"};
