
function blockError(){return true}window.onerror=blockError

var style=''
style+="<style type=text/css>#tmdt{font-family:arial;color:#7083A2;font-style:italic;cursor:default}#dttm{font-family:arial;color:#95ABBF;font-style:italic;cursor:default}#link{font-family:arial;color:#000000;cursor:hand}.rol{font-family:arial;color:#3A3C86;font-weight:700;font-style:normal}a{text-decoration:none}.ovr{font-family:arial;color:#3F6383;font-weight:700;font-style:normal}a{text-decoration:none}</style>";
document.write(style)

function writeWmp(){
var path="http://www.pokerface.com/images/body/"
var wmp=""
wmp+="<table border=0 cellpadding=0 cellspacing=0 width=254 background="+path+"wmp_back.jpg><tr>";
wmp+="<td width=106 align=center valign=middle style=font-size:10px>";
wmp+="<div id=txtRpl class=rol style=width:106px><img src="+path+"wmp_logo.jpg name=i00 border=0 width=106 height=32></div></td>";
wmp+="<td width=254>";
wmp+="<table style=font-size:9px border=0 cellpadding=0 cellspacing=0 width=254 background=background="+path+"wmp_bck.jpg><tr>";
wmp+="<td width=13 height=18 onClick=openWmp() onMouseOver=\"showIt('<img src="+path+"wmp_free.jpg>')\" onMouseOut=\"showIt('<img src="+path+"wmp_logo.jpg>')\" align=right valign=middle style=cursor:hand><a href=javascript:openWinmedia()>";
wmp+="<img src="+path+"wmp_bul.gif border=0 width=13 height=7></a></td>";
wmp+="<td width=90 height=18 onClick=openPokerface() onMouseOver=\"showIt('Poker Face Website')\" onMouseOut=\"showIt('<img src="+path+"wmp_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#0000FF~200~300>pokerface.com</a></td>";
wmp+="<td width=54 height=18 onClick=openForum() onMouseOver=\"showIt('Poker Face Forum')\" onMouseOut=\"showIt('<img src="+path+"wmp_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#0000FF~200~300>forum</a></td>";
wmp+="<td width=52 height=18 onClick=openVisuals() onMouseOver=\"showIt('Videos & Pictures')\" onMouseOut=\"showIt('<img src="+path+"wmp_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#0000FF~200~300>visuals</a></td>";
wmp+="<td width=45 height=18 onClick=mailVideo() onMouseOver=\"showIt('Email This Video')\" onMouseOut=\"showIt('<img src="+path+"wmp_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#0000FF~200~300>email</a></td>";
wmp+="<table id=tmdt style=font-size:9px border=0 cellpadding=0 cellspacing=0 width=254 height=14>";
wmp+="<tr><td width=184 id=date align=center valign=bottom colspan=2></td><td width=70 id=tick valign=bottom colspan=2></td>";
wmp+="</table></table>"; 
wmp+="<div style=visibility:hidden;position:absolute;top:0;left:-150><img src="+path+"wmp_free.jpg width=106 height=32></div>";
document.write(wmp)
}

function writeRel(){
var path="http://www.pokerface.com/images/body/"
var rel=""
rel+="<table border=0 cellpadding=0 cellspacing=0 width=234 background="+path+"rel_back.jpg><tr>";
rel+="<td width=106 align=center valign=middle style=font-size:10px>";
rel+="<div id=txtRpl class=ovr style=width:106px><img src="+path+"rel_logo.jpg name=i00 border=0 width=106 height=28></div></td>";
rel+="<td width=234>";
rel+="<table style=font-size:9px border=0 cellpadding=0 cellspacing=0 width=234 background="+path+"rel_back.jpg><tr>";
rel+="<td width=13 height=14 onClick=openWmp() onMouseOver=\"showIt('<img src="+path+"rel_free.jpg>')\" onMouseOut=\"showIt('<img src="+path+"rel_logo.jpg>')\" align=right valign=middle style=cursor:hand><a href=javascript:openRealplayer()>";
rel+="<img src="+path+"wmp_bul.gif border=0 width=13 height=7></a></td>";
rel+="<td width=85 height=14 onClick=openPokerface() onMouseOver=\"showIt('Poker Face Website')\" onMouseOut=\"showIt('<img src="+path+"rel_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#3F6383~200~300>pokerface.com</a></td>";
rel+="<td width=49 height=14 onClick=openForum() onMouseOver=\"showIt('Poker Face Forum')\" onMouseOut=\"showIt('<img src="+path+"rel_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#3F6383~200~300>forum</a></td>";
rel+="<td width=47 height=14 onClick=openVisuals() onMouseOver=\"showIt('Videos & Pictures')\" onMouseOut=\"showIt('<img src="+path+"rel_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#3F6383~200~300>visuals</a></td>";
rel+="<td width=40 height=14 onClick=mailVideo() onMouseOver=\"showIt('Email This Video')\" onMouseOut=\"showIt('<img src="+path+"rel_logo.jpg>')\" align=center valign=bottom><a href=# id=link parameters=#000000~#3F6383~200~300>email</a></td>";
rel+="<table id=dttm style=font-size:9px border=0 cellpadding=0 cellspacing=0 width=234 height=14>";
rel+="<tr><td width=159 id=date align=center valign=top colspan=2></td><td width=75 id=tick valign=top colspan=2></td>";
rel+="</table></table>";
rel+="<div style=visibility:hidden;position:absolute;top:0;left:-150><img src="+path+"rel_free.jpg width=106 height=28></div>";
document.write(rel)
}

function writeRp(){
var rp=""
rp+="<script>var txtRpl='';function showIt(text){if(!document.layers);txtRpl.innerHTML=text}txtRpl=(document.all)?document.all['txtRpl']:(document.getElementById)?document.getElementById('txtRpl'):null</script>";
document.write(rp)
}

function outWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=150;
TopPosition=78
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=150;
TopPosition=78
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=yes,status=yes,menubar=no,toolbar=yes,resizable=yes';
win=window.open(page,name,settings)
if(win.focus){
win.focus()
}
}

function simWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=50;
TopPosition=50
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=50;
TopPosition=50
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(page,name,settings)
if(win.focus){
win.focus()
}
}

var win=null;
function vewWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=0;
TopPosition=0
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=0;
TopPosition=20
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(page,name,settings);
if(win.focus){
win.focus()
}
}

function openRealplayer(){outWin('http://www.real.com/','real','798','500','yes','center')}
function openWinmedia(){outWin('http://windowsmedia.com/download','winmedia','798','500','yes','center')}
function openPokerface(){outWin('http://www.pokerface.com/','pokerface','790','500','yes','center')}
function openForum(){outWin('http://www.pokerface.com/phpBB2/index.php','forum','790','550','yes','center')}
function openVisuals(){outWin('http://www.pokerface.com/html/pf_visuals.html','visuals','790','500','yes','center')}
function mailVideo(){if(document.all)window.navigate('mailto:?subject=Check out this Poker Face video&body=I thought you may want to see this video from the band Poker Face: '+this.window.location);else alert('This Function is Optimized for MicroSoft Internet Explorer')}

function shwCk(){
if(!document.all&&!document.getElementById)
return
thelement=document.getElementById? document.getElementById("tick"):document.all.tick
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="PM"
if(hours<12) dn="AM"
if(hours>12) hours=hours-12
if(hours==0) hours=12
if(minutes<=9) 
minutes="0"+minutes
if(seconds<=9)
seconds="0"+seconds
var ctime=hours+":"+minutes+":"+seconds+" "+dn
thelement.innerHTML=" "+ctime+" "
setTimeout("shwCk()", 1000)
}
function shwDt(){
if(!document.all&&!document.getElementById)return;
thelement=document.getElementById? document.getElementById("date"):document.all.date;
var mydate=new Date();
var year=mydate.getYear();
if(year<1000) year+=1900;
var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();
if(daym<10) daym="0"+daym;
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
thelement.innerHTML=""+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+""
setTimeout("shwDt()",1000)
}

//END