function setWT(campaignID){window.location.href='/tagWT.cfm?WT.mc_id='+campaignID;}function MM_CheckFlashVersion(reqVerStr,msg){with(navigator){var isIE=(appVersion.indexOf("MSIE")!=-1&&userAgent.indexOf("Opera")==-1);var isWin=(appVersion.toLowerCase().indexOf("win")!=-1);if(!isIE||!isWin){var flashVer=-1;if(plugins&&plugins.length>0){var desc=plugins["Shockwave Flash"]?plugins["Shockwave Flash"].description:"";desc=plugins["Shockwave Flash 2.0"]?plugins["Shockwave Flash 2.0"].description:desc;if(desc==""){flashVer=-1}else{var descArr=desc.split(" ");var tempArrMajor=descArr[2].split(".");var verMajor=tempArrMajor[0];var tempArrMinor=(descArr[3]!="")?descArr[3].split("r"):descArr[4].split("r");var verMinor=(tempArrMinor[1]>0)?tempArrMinor[1]:0;flashVer=parseFloat(verMajor+"."+verMinor)}}else{if(userAgent.toLowerCase().indexOf("webtv")!=-1){flashVer=4}}var verArr=reqVerStr.split(",");var reqVer=parseFloat(verArr[0]+"."+verArr[2]);if(flashVer<reqVer){if(confirm(msg)){window.location="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"}}}}}function maskAsteriks(a){a=a.replace(/[\w|\W]?/g,"*");return a}function checkBrowserCompatability(){if(document.getElementById){return(true)}else{if(document.all){return(true)}else{alert("This link does not work in your browser.")}}return(false)}function setElementStyleDisplay(a,b){if(document.getElementById){document.getElementById(a).style.display=b}else{if(document.all){document.all[a].style.display=b}}}function getElementStyleDisplay(c,d,a){var b="";if(document.getElementById){b=(document.getElementById(c).style.display==d)?a:d}else{if(document.all){b=(document.all[c].style.display==d)?a:d}}return(b)}function changeImage(c,a){var b=c+"plus";if(document.images[b]){if(a=="none"){document.images[b].src="images/plus.gif"}if(a=="block"){document.images[b].src="images/minus.gif"}}}function showList(a){if(checkBrowserCompatability()==true){var b=getElementStyleDisplay(a,"block","none");setElementStyleDisplay(a,b);changeImage(a,b)}}function changeElement(a,b){if(checkBrowserCompatability()==true){setElementStyleDisplay(a,b);changeImage(a,b)}}function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){b()}a()}}}function turnOnDivs(){if(document.getElementById("cfDiv")){document.getElementById("cfDiv").style.display="block"}}var billWindowTop=0;function viewBill(b,c,a){source="/AccountManager/Accounts/showBill.cfm?page=bill&acctKey="+c+"&bdate="+a;window.open(source,b,"locationbar=yes,top="+window.billWindowTop+",toolbar=yes,width=800,height=600,scrollbars=yes,resizable=yes");window.billWindowTop=window.billWindowTop+40}function viewBill2(b,a,c){source="/AccountManager/Accounts/showBill.cfm?page=use&acctKey="+a+"&billHead="+c;window.open(source,b,"locationbar=yes,top="+window.billWindowTop+",toolbar=yes,width=800,height=600,scrollbars=yes,resizable=yes");window.billWindowTop=window.billWindowTop+40}function wincleanup(){ColdFusion.Window.destroy("Window",true)}function showCFwin(d,c,a,b){ColdFusion.Window.create("Window","",d,{height:c,width:a,modal:b,closable:true,draggable:false,resizable:true,center:true,initshow:true,minheight:200,minwidth:200});ob = ColdFusion.Window.getWindowObject('Window');ob.center();ColdFusion.Window.onHide("Window",wincleanup);}
