var snPrint = true; // Tells whether to automatically call the print function function printBody(){ if (document.getElementById != null){ var pgTitle2 = document.title; var html = "\n\n"; if (document.getElementsByTagName != null){ var headTags = document.getElementsByTagName("head"); if (headTags.length > 0) html += headTags[0].innerHTML; } html += "\n\n





\n"; var printBodyhtml = document.getElementById("printBody"); if (printBodyhtml != null){ html += printBodyhtml.innerHTML; } else{ alert("Cannot Print using this function. Please select print from your browser menu or press ctrl-P."); return; } html += "

\n\n"; var printThis = window.open("","printBody"); printThis.document.open(); printThis.document.write(html); printThis.document.close(); if (snPrint) printThis.print(); } //else if(document.all){ //alert("The print feature is not available on your browser version. Please update your browswer or select print from your browser menu or press ctrl-P."); //} else{ alert("The print feature is not available on your browser version. Please update your browswer or select print from your browser menu or press ctrl-P."); } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i