function Alert(msg) {
if(navigator.appVersion.indexOf('WebTV;2.6') !=-1 ||
navigator.appVersion.indexOf('WebTV;2.7') !=-1 ||
navigator.appVersion.indexOf('WebTV;2.8') !=-1 ||
navigator.appVersion.indexOf('WebTV;2.9') !=-1 ||
navigator.appVersion.indexOf('WebTV;3') !=-1)
{location.href='#';}
document.open(); 
document.write("<html>"); 
document.write("<head><title>You Pop Up Code<\/title><\/head>"); 
document.write("<BODY bgcolor=#000000 text=#00ffff>"); 
document.write("<script language=\"JavaScript\">\n<!--\nwindow.alert\(\""+msg+"\"\)\n
\/\/ -->\n\<\/script\>"); 
document.write("<p><Br><p>"); 
document.write("<font size=5><B>"); 
document.write("<form><center><textarea cols=30 rows=8 text=00FFFF cursor=00FFFF bgcolor=171726 nohighlight autoactivate growable>
&lt;script language=&#34;JavaScript&#34;>
<!--
window.alert(&#34;"+msg+"&#34;)\;
//-->
&lt;/script&gt;<\/textarea><\/form><\/center>"); 
document.write("<p><center><B>"); 
document.write("Here's your pop up code. put the above codes in<BR> the head of your webpage. It will not work in emails.<BR><p>"); 
document.write("<\/B><\/font><\/center><\/body><\/html>"); 
document.close(); 
}