function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc}}function ML_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=ML_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]}}}}function MM_findObj(E,D){var C,B,A;if(!D){D=document}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E]}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document)}if(!A&&D.getElementById){A=D.getElementById(E)}return A}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src}A.src=B[D+2]}}}function printPage(){window.print();return false}function openEmailPopup(B,A,C,E,D){return openPopup(B,A,C,E,D,"email_popup")}function openPopup(E,A,F,H,G,D){var C="resizable=1,height="+A+",width="+F+",top="+H+",left="+G+",location=0,toolbar=0,scrollbars=1";var B=window.open(E,D,C);if(navigator.appVersion.indexOf("MSIE")!=-1){B.location.reload()}B.focus();return false}function textClear(A){if(A.value==A.defaultValue){A.value=""}}function textRestore(A){if(A.value==""){A.value=A.defaultValue}}function shn_showtool(B){var A=document.getElementById(B);A.style.display="block"}function shn_showrow(B){var A=document.getElementById(B);A.style.display=""}function shn_hidetool(B){var A=document.getElementById(B);A.style.display="none"}function shn_hide_all(A,B){var C=B;while(document.getElementById(A+C)!=null){document.getElementById(A+C).style.display="none";C++}}function shn_show_all(A,B){var C=B;while(document.getElementById(A+C)!=null){document.getElementById(A+C).style.display="";C++}}function shn_change_class(C,A){var B=document.getElementById(C);B.className=A}function check_uncheck(A){for(var B=0,D=document.forms[0].elements.length;B<D;B++){if(document.forms[0].elements[B].type=="checkbox"){var C=document.getElementById(A.id);if(C.checked){if(document.forms[0].elements[B].id.indexOf("chkListALLCategories")!=-1){document.forms[0].elements[B].checked=true}}else{document.forms[0].elements[B].checked=false}}}}function UnCheckMain(B,A){for(var C=0,F=document.forms[0].elements.length;C<F;C++){var E=document.getElementById(B.id);var D=document.getElementById(A.id);if(!D.checked){E.checked=false}else{E.checked=false}}}function fireDefaultButton(A,E){A=A||window.event;var D=A.charCode||A.keyCode;var C=A.target||A.srcElement;if(D==13&&!(C&&(C.tagName.toLowerCase()=="textarea"||C.tagName.toLowerCase()=="select"||C.autosuggest==true))){var B=document.getElementById(E);if(B!=null&&typeof (B.click)!="undefined"){B.click();A.cancelBubble=true;if(A.stopPropagation){A.stopPropagation()}return false}}return true}function trackIt(B,D,C,A){if(typeof (s)!="undefined"){s.pageName=B;s.channel=D;if(!C){void (s.t())}}};