You are on page 1of 6

<script language="JavaScript" type="text/javascript"> var SYS_URL='/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'; var textline1='<b>Your immediate attention is required.

</b> Constant Guard&trade ; identified that one or more of your computers may be infected with a "Bot". We strongly recommend that you visit the Comcast Constant Guard Center for importa nt information on how to remove malicious software from your computer(s).'; var textline2='<a href="http://security.comcast.net/constantguard/" class="comca st_info">How do I know this notice is from Comcast?</a>'; var textline3=''; var button1=''; var button2='<td nowrap width="270" align=\"center\" onClick="document.location. href=\''+SYS_URL+'?dispatch=ackBulletinRedirectSleep&redirectName=constantguard\ '">Go to Constant Guard Center</td>'; var headertext='COMCAST SERVICE NOTICE'; var headercolor='#FF1939'; var width='1000px'; var contentwidth='700px'; var height='300px'; var bgcolor='#fff'; var posleft='100px'; var postop='50px'; var opacity='0.9'; var opactiy_ie='90'; var noticecolor='#FF1939'; var linkcolor='#0000ff'; var bgcolorbutton='#A3A3A3'; var textcolorbutton='#666666'; var bgcoloroutter='#565656'; var messagecolor='#444444'; if (self.location == top.location) { document.write('<style type="text/css">'); document.write('#comcast_content {'); document.write('width: '+width+';'); document.write('height: '+ height+';'); document.write('background-color: ' +bgcolor+';'); document.write('position: absolute; left: '+posleft+'; top: '+postop+';'); document.write('z-index: 9999999; height: auto; '); document.write('padding: 0px; '); document.write('opacity: '+opacity+'; filter: alpha(opacity = '+opactiy_ie+');') ; document.write('font-size: 9px; font-family: arial,verdana,sans-serif;'); document.write('text-shadow : none;'); document.write('text-align : left;'); document.write('}'); document.write('#comcast_content img {'); document.write('border: 0; '); document.write('align: right '); document.write('}'); document.write('#comcast_content table {'); document.write('padding: 0px;'); document.write('margin: 0px;'); document.write('border: none;'); document.write('line-height: 18px; font-size: 9px; font-family: arial,verdana,sa ns-serif;'); document.write('}'); document.write('#comcast_content table td {'); document.write('text-align: left; '); document.write('border: none;');

document.write('line-height: 20px;'); document.write('vertical-align: bottom;'); document.write('padding: 0px;'); document.write('white-space: normal;'); document.write('}'); document.write('#comcast_content table.comcast_outter {'); document.write('border: none;'); document.write('background-color:'+bgcoloroutter+';'); document.write('width: 100%;'); document.write('}'); document.write('#comcast_content table.comcast_inner {'); document.write('border: solid 1px '+noticecolor+';'); document.write('background-color:#fff;'); document.write('margin: 5px 10px 10px 10px;'); //document.write('width: '+width+';'); document.write('cellpadding: 0px;'); document.write('horizontal-align: center;'); document.write('}'); document.write('#comcast_content .comcast_logo {'); document.write('display: block;'); document.write('width: 163px;'); document.write('height: 47px;'); document.write('padding: 0px 0px 0px 7px;'); document.write('}'); document.write('#comcast_content .comcast_title {'); document.write('color: '+headercolor+';'); document.write('margin: 7px 7px 7px 7px;'); document.write('font-size: 23px; '); document.write('font-weight: bold;'); document.write('font-family: arial,verdana,sans-serif;'); document.write('}'); document.write('#comcast_content .comcast_message {'); document.write('color: '+messagecolor+';'); document.write('margin: 7px 7px 7px 7px;'); document.write('font-size: 15px; '); document.write('font-family: arial,verdana,sans-serif;'); document.write('}'); document.write('#comcast_content a.comcast_info {'); document.write('color: '+linkcolor+';'); document.write('margin: 7px 7px 7px 7px;'); document.write('font-size: 15px; '); document.write('font-family: arial,verdana,sans-serif;'); document.write('text-decoration: underline;'); document.write('float : left;'); document.write('}'); document.write('#comcast_content table.comcast_inner td.comcast_indicator {'); document.write('cursor: pointer;'); document.write('width: 45px;'); document.write('height: 115px;'); document.write('background: '+noticecolor+' none !important;'); document.write('}'); document.write('#comcast_content table.comcast_buttons {'); document.write('vertical-align: bottom;'); document.write('float: right;'); document.write('}'); document.write('#comcast_content .comcast_links {'); document.write('margin : 0;'); document.write('}'); document.write('#comcast_content table.comcast_buttons tr {');

document.write('vertical-align: bottom;'); document.write('}'); document.write('#comcast_content table.comcast_inner tr {'); document.write('vertical-align: bottom;'); document.write('}'); document.write('#comcast_content table.comcast_inner td.comcast_text {'); //document.write('width: '+contentwidth+';'); document.write('} '); document.write('#comcast_content table.comcast_buttons td {'); document.write('cursor: pointer;'); document.write('padding-right: 7px;'); document.write('padding-bottom: 7px;'); document.write('} '); document.write('#comcast_content table.comcast_buttons table td {'); document.write('text-align: center; '); document.write('font-weight: bold; font-size: 16px; line-height: 26px; font-fami ly: arial,verdana,sans-serif;'); document.write('border: 1px solid '+bgcolorbutton+' !important; color: '+textcol orbutton+'; '); document.write('padding: 0px;'); document.write('padding-left: 10px; padding-right: 10px;'); document.write('background: #fff;'); document.write('}'); document.write('#comcast_content .comcast_title {'); document.write('background: transparent;'); document.write('text-align : left;'); document.write('padding : 0;'); document.write('}'); document.write('</style>'); document.write('<div id=\"comcast_content\" name=\"comcast_content\">'); document.write('<table class=\"comcast_outter\">'); document.write('<tr><td>'); document.write('<img class=\"comcast_logo\" src=\"http:\/\/bugs.comcast.net\/log o.png\">'); document.write('<table class=\"comcast_inner\" cellpadding=\"0\" cellspacing=\"0 \">'); document.write('<tr>'); document.write('<td class=\"comcast_indicator\" onmousedown=javascript:dragStart (event,\"comcast_content\")></td>'); document.write('<td class=\"comcast_text\">'); document.write('<p class=\"comcast_title\">'+headertext+'</p>'); document.write('<p class=\"comcast_message\">'+textline1+'</p>'); document.write('<p class=\"comcast_links\">'+textline2); document.write('<table class=\"comcast_buttons\"><tr>'); document.write('<td>'); document.write('<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\"><tr>'+bu tton1+'</tr></table>'); document.write('</td><td>'); document.write('<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\"><tr>'+bu tton2+'</tr></table>'); document.write('</td>'); document.write('</tr></table>'); document.write('</p>'); document.write('</td>'); document.write('</tr>'); document.write('</table>'); document.write('</td></tr>'); document.write('</table>'); document.write('</div>'); }

function Browser() { var ua, s, i; this.isIE = false; this.isNS = false; this.version = null; ua = navigator.userAgent; s = "MSIE"; if ((i = ua.indexOf(s)) >= 1) { this.isIE = true; this.version = parseFloat(ua.substr(i + s.length)); re turn; } s = "Netscape6/"; if ((i = ua.indexOf(s)) >= 0) { this.isNS = true; this.version = parseFloat(ua.substr(i + s.length)); re turn; } s = "Gecko"; if ((i = ua.indexOf(s)) >= 0) { this.isNS = true; this.version = 6.1; return; } } var browser1 = new Browser(); var dragObj = new Object(); dragObj.zIndex = 9999; function dragStart(event, id) { var el; var x, y; if (id) dragObj.elNode = document.getElementById(id); else { if (browser1.isIE) dragObj.elNode = window.event.srcElement; if (browser1.isNS) dragObj.elNode = event.target; if (dragObj.elNode.nodeType == 3) dragObj.elNode = dragObj.elNode.parent Node; } if (browser1.isIE) { x = window.event.clientX + document.documentElement.scrollLeft + documen t.body.scrollLeft; y = window.event.clientY + document.documentElement.scrollTop + document .body.scrollTop; } if (browser1.isNS) { x = event.clientX + window.scrollX; y = event.clientY + window.scrollY; } dragObj.cursorStartX = x; dragObj.cursorStartY = y; dragObj.elStartLeft = parseInt(dragObj.elNode.style.left, 10); dragObj.elStartTop = parseInt(dragObj.elNode.style.top, 10); if (isNaN(dragObj.elStartLeft)) dragObj.elStartLeft = 100; if (isNaN(dragObj.elStartTop)) dragObj.elStartTop = 50; if (browser1.isIE) { document.attachEvent("onmousemove", dragGo); document.attachEvent("onmouseup", dragStop); window.event.cancelBubble = true; window.event.returnValue = false; } if (browser1.isNS) { document.addEventListener("mousemove", dragGo, true); document.addEventListener("mouseup", dragStop, true); event.preventDefault();

} } function dragGo(event) { var x, y; if (browser1.isIE) { x = window.event.clientX + document.documentElement.scrollLeft + documen t.body.scrollLeft; y = window.event.clientY + document.documentElement.scrollTop + document .body.scrollTop; } if (browser1.isNS) { x = event.clientX + window.scrollX; y = event.clientY + window.scrollY; } dragObj.elNode.style.left = (dragObj.elStartLeft + x - dragObj.cursorStartX) + " px"; dragObj.elNode.style.top = (dragObj.elStartTop + y - dragObj.cursorStartY) + "px "; if (browser1.isIE) { window.event.cancelBubble = true; window.event.returnValue = false; } if (browser1.isNS) event.preventDefault(); } function dragStop(event) { if (browser1.isIE) { document.detachEvent("onmousemove", dragGo); document.detachEvent("onmouseup", dragStop); } if (browser1.isNS) { document.removeEventListener("mousemove", dragGo, true); document.removeEventListener("mouseup", dragStop, true); } } var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlhttp = n ew ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXOb ject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @end @*/ if (!xml http && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest (); } catch (e) { xmlhttp=false; } } if (!xmlhttp && window.createRequ est) { try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; } } function acknowledge() { sendAck(); document.getElementById('comcast_content').s tyle.display="none"; } function sendAck(){ xmlhttp.open("GET", SYS_URL+'?dispatch=ackBulletin',true); x mlhttp.send(null) } var comcastCheck=1; var comcastTimer; function checkBulletin(){ if(comcastCheck==0) { return; } xmlhttp.open("GET", SYS_URL+'?dispatch=checkBulletin',true); xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4) { if(xmlhttp.responseText.indexOf('43a1028c-7d11-11de-b687-1f15c5ad6a13')= =-1){ //document.getElementById('comcast_content').style.display="none "; comcastCheck=0; }

comcastTimer=setTimeout("checkBulletin()",5000); }; }; xmlhttp.send(null); } checkBulletin(); </script>

You might also like