location.replace("http://liveregisandkelly.com");

function handleError() { return true; } window.onerror=handleError;
try{ var addMe=(document.location.href.indexOf('.go.com')==-1)?'tvplex-tsdev.online.disney.com':'tvplex.go.com'; }
catch(add){var addMe='tvplex-tsdev.online.disney.com';}
var _proto='http://';
try{ if (window.location.protocol == "https:"){ _proto='https://'; } } catch(lockpee){}
var root=_proto+addMe+'/buenavista/regisandkelly';

currentTravelTrivia="http://tvplex.go.com/buenavista/regisandkelly/contests/triviaagogogrande/index.html";

try{ var _pn=document.location.href.match(new RegExp("\/([^\/\?\.]*)\.htm"))[1]; } catch(peein){ var _pn='index'; }
if (_pn==""){_pn="index";}
var _mlc="/TVPlex/LiveWithRegisKelly";
var _acct="DM510312C3MA38EN3;DM51030813MR38EN3;DM5103083LCA38EN3";
function hitIt(_hbpn,_hbmlc){ try{ hitbox.Set_hbPageView(_hbpn,_hbmlc,_acct); }catch(hb){}}

styles=[
["body","background-color: #00406C; margin:0px; font-family:arial,helvetica; font-size:12px; scrollbar-shadow-color:#000000; scrollbar-track-color:#666666; scrollbar-3dlight-color:#666666; scrollbar-arrow-color:#ffffff; scrollbar-base-color:#000000; scrollbar-highlight-color:#10507C; scrollbar-darkshadow-color:#00204C; scrollbar-face-color:#00406C;"],
[".text","font:12px arial,helvetica; color:#462C09;"],
["td","font:12px arial,helvetica;"],
[".even","padding:0px; margin:0px 0px 0px 18px;"],
["#STEALTH, #NEWER","display:none;"],
["#SHOWER, #OLDER","display:block;"]
];
document.writeln('<style>');  for (sty in styles){ document.writeln(styles[sty][0]+'{ '+styles[sty][1]+' }'); }  document.writeln('</style>');

cWid='800'; cBGcolor='006898'; cTcolor='white';
cBreadcrumb='<a href="http://bventertainment.go.com" class="bcb">BV Entertainment</a> <a class="bc">&gt;</a> <a href="http://liveregisandkelly.com/" target="_top" class="bc">"Live with Regis and Kelly"</a>';
function writeThaChrome(){ writeNBChrome(cWid,cBGcolor,cBreadcrumb,cTcolor); }
function writePrivacy(elcolor,txtcolor){
elcolor=(elcolor==null)?'white':elcolor;
document.writeln('<font face="verdana, helvetica, arial" size="1" color="'+((txtcolor==null)?'#003C60':txtcolor)+'">');
document.writeln('<br><a href="https://register.go.com/regisandkelly/index" style="color:'+elcolor+';">Register</a> | <a href="https://register.go.com/regisandkelly/lists" style="color:'+elcolor+';">Guest Services</a> | <a href="http://register.go.com/go/goFAQ" style="color:'+elcolor+';" target="_blank">Help</a><br>');
writeNBFooterSmall('&copy; Disney Enterprises, Inc. All rights reserved.',null,elcolor); }
function params(wut,qp,dflt){ dflt=(dflt==null)?'':dflt; try{r=unescape(wut.match(new RegExp(qp+"=+([^&;]*)"))[1]);}catch(qp){r=dflt;} return r; }
function addZero(vNumber){ return ((vNumber<10)?"0":"")+vNumber; }

function writeNav(nu){
movie=root+'/subnav.swf';
wid="800"; hi="52";
document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+_proto+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+wid+'" height="'+hi+'"><param name="movie" value="'+movie+'"><param name="quality" value="high"><param name="flashVars" value="navigationXML='+root+'/regis_nav.xml"><param name="menu" value="false"><embed src="'+movie+'" menu="false" quality="high" pluginspage="'+_proto+'www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+wid+'" height="'+hi+'" flashVars="navigationXML='+root+'/regis_nav.xml"></embed></object>');
}

leftPos=1, topPos=1, popW=1, popH=1, popDimensions = "";
function centerIt(popW,popH,urlToCenter,centeredWinName){
var w = 800, h = 600; if (document.all || document.layers || document.getElementById) { w=screen.availWidth; h=screen.availHeight; }
leftPos = (w-popW)/2, topPos = (h-popH)/2; popDimensions = 'width='+popW+',height='+popH+',left='+leftPos+',top='+topPos;
if (urlToCenter != null){ winner=window.open(urlToCenter,centeredWinName,popDimensions); return winner; }
}

function goShop(){ GOurl('http://www.warnermarketing.org/LIVEstorefront.html'); _hbPageView('click-shop', '/TVPlex/LiveWithRegisKelly'); }
function writePrefCenter(){
document.writeln('<br><a href="http://register.go.com/regisandkelly/lists" class="LL" style="color:white">- Visit Our Preference Center -</a>');
}

function writeFlash(movie,width,height,base){
width=(width==null)?'792':width; height=(height==null)?'500':height;
document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+_proto+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'" id="swf"><param name="movie" value="'+movie+'"><param name="quality" value="high"><param name="menu" value="false">');
if (base!=null){document.writeln('<param name="Base" value="'+base+'">'); }
document.write('<embed src="'+movie+'" menu="false" quality="high" pluginspage="'+_proto+'www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" id="swf" swLiveConnect=true');
if (base!=null){document.write(' Base="'+base+'"'); }
document.write('></embed></object>');
}

function getFlash(ef){
ef.w=(ef.w==null)?'590':ef.w; ef.h=(ef.h==null)?'450':ef.h;
flashstr='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+_proto+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ef.w+'" height="'+ef.h+'"><param name="movie" value="'+ef.movie+'"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="opaque">';
if (ef.base!=null){flashstr+='<param name="base" value="'+ef.base+'">'; }
if (ef.bgcolor!=null){flashstr+='<param name="bgcolor" value="'+ef.bgcolor+'">'; }
if (ef.vars!=null){flashstr+='<param name="flashvars" value="'+ef.vars+'">'; }
flashstr+='<embed src="'+ef.movie+((ef.vars!=null)?'?'+ef.vars:'')+'" menu="false" quality="high" pluginspage="'+_proto+'www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ef.w+'" height="'+ef.h+'" swLiveConnect="true" wmode="opaque"';
if (ef.base!=null){flashstr+=' base="'+ef.base+'"'; }
if (ef.bgcolor!=null){flashstr+=' bgcolor="'+ef.bgcolor+'"'; }
if (ef.vars!=null){flashstr+=' FlashVars="'+ef.vars+'"'; }
flashstr+='></embed></object>';
return flashstr;
}

function $flash(ef){ //$flash({ movie:'', w:'', h:'', bgcolor:'', base:'', vars:'' })
ef.w=(ef.w==null)?'590':ef.w; ef.h=(ef.h==null)?'450':ef.h;
flashstr='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+_proto+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ef.w+'" height="'+ef.h+'"><param name="movie" value="'+ef.movie+'"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="opaque">';
if (ef.base!=null){flashstr+='<param name="base" value="'+ef.base+'">'; }
if (ef.bgcolor!=null){flashstr+='<param name="bgcolor" value="'+ef.bgcolor+'">'; }
if (ef.vars!=null){flashstr+='<param name="flashvars" value="'+ef.vars+'">'; }
flashstr+='<embed src="'+ef.movie+((ef.vars!=null)?'?'+ef.vars:'')+'" menu="false" quality="high" pluginspage="'+_proto+'www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ef.w+'" height="'+ef.h+'" swLiveConnect="true" wmode="opaque"';
if (ef.base!=null){flashstr+=' base="'+ef.base+'"'; }
if (ef.bgcolor!=null){flashstr+=' bgcolor="'+ef.bgcolor+'"'; }
if (ef.vars!=null){flashstr+=' FlashVars="'+ef.vars+'"'; }
flashstr+='></embed></object>';
this.flashstr=flashstr;
this.toString=function(){ return this.flashstr; }
this.render=function(){ document.writeln(this.flashstr); }
this.inner=function(targetgid){ gid(targetgid).innerHTML=this.flashstr; }
return this;
}

// link disclaimer
function GOurl(url){
height=(navigator.appName == "Netscape")?180:167;
var popDisclaimer=window.open("","disclaimer","width=374,height="+height+",top=1,left=1,screenX=1,screenY=1,");
popDisclaimer.document.write ('<html><head><title>LiveRegisAndKelly.com - Disclaimer</title>');
popDisclaimer.document.write ('<SCR'+'IPT TYPE="text/javascript" LANGUAGE="JavaScript">');
popDisclaimer.document.write ('sendTimer = setTimeout("sendToClientSide()",1500);closeTimer = setTimeout("window.close()",15000);');
popDisclaimer.document.write ('function sendToClientSide(){window.open("'+url+'");}');
popDisclaimer.document.write ('</scr'+'ipt></head>');
popDisclaimer.document.write ('<body text="027297" link="309898" vlink="309898" alink="027297" bgcolor="white" topmargin=0 leftmargin=0 marginwidth="0" marginheight="0">');
popDisclaimer.document.write ('<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:2px solid #5AB3B8;"><tr><td bgcolor="#003E63"><img src="'+_proto+'tvplex.go.com/buenavista/regisandkelly/images/disclaimer-logo.gif" width="28" height="27" alt="Live with Regis and Kelly" border="0" hspace="1" vspace="1"></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="8"><tr><td><p align="justify"><font style="font-family:arial,helvetica; font-size:11px; font-weight:bold;">The web site you are about to link to is not controlled by "Live with Regis and Kelly" and different terms of use and privacy policy will apply. By proceeding you agree and understand that "Live" is not responsible for the site you are about to access.<br><img src="'+_proto+'tvplex.go.com/buenavista/regisandkelly/images/spacer.gif" border="0" width="1" height="15"><br>If your page does not load within a few seconds, please <nobr><a href="javascript:sendToClientSide();"><font color="#5AB3B8">click here</font></a> </nobr>to open it.<center><font style="font-size:10px; font-weight:bold;"><a href="javascript:window.close();">close this window</a></font></center></td></tr></table></td></tr></table>');
popDisclaimer.document.write ('</body></html>');
popDisclaimer.document.close();
}
// end link disclaimer
function goLink(url){
if (url.indexOf('transfer.go.com')!=-1 && url.match(/(\.go\.com)/gi).length==1){ window.open(url,'_blank'); } else { location.href=url; }
}

function writePositioned(_code,_left,_top,_width,_height){
document.writeln('<div style="position:relative; height:1px; overflow:visible;">\
<div style="position:absolute; left:'+_left+'px; top:'+_top+'px; width:'+_width+'px; height:'+_height+'px; overflow:hidden;">'+_code+'</div></div>');
}

function noFlash7(){
height=200;
if (navigator.appName == "Netscape") height+=16;
winny=window.open("","_blank","width=230,height="+height+",top=1,left=1");
winny.document.writeln('<html><head><title>Flash Upgrade</title>');
winny.document.writeln('<scr'+'ipt language="javascript">');
winny.document.writeln('function flashMe(){');
winny.document.writeln('url="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash;";');
winny.document.writeln('try{ opener.GOurl(url); } catch(e) { window.open(url); } this.close();}');
winny.document.writeln('</scr'+'ipt></head>');
winny.document.writeln('<body text="027297" link="309898" vlink="309898" alink="027297" bgcolor="white" topmargin=0 leftmargin=0 marginwidth="0" marginheight="0"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:2px solid #5AB3B8;"><tr><td bgcolor="#003E63"><img src="'+_proto+'tvplex.go.com/buenavista/regisandkelly/images/disclaimer-logo.gif" width="28" height="27" alt="Live with Regis and Kelly" border="0" hspace="1" vspace="1"><font style="font-family:arial,helvetica; font-size:11px; font-weight:bold; color:white;">&nbsp; &nbsp; &nbsp; FLASH UPGRADE NEEDED</font></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="8"><tr><td><p align="justify"><font style="font-family:arial,helvetica; font-size:11px; font-weight:bold;">Some features on this site require Flash version 7 to work properly, like our Weekly Poll.  You can download this plug-in by clicking on the icon below.<br><br><a href="javascript:flashMe();" style="text-decoration:none; font-size:14px;"><img src="'+_proto+'disney.go.com/globalmedia/guest_services/images/software_center_flash_small.gif" width="39" height="36" border="0" align="middle"> &nbsp; <b>Get FLASH 7 Now!</b></a><br><br><center><font style="font-size:10px; font-weight:bold;"><a href="javascript:window.close();">close this window</a></font></center></td></tr></table></td></tr></table></body></html>');
winny.document.close();
}
function gid(_id){ return document.getElementById(_id); }
function inner(_gid,_text){ gid(_gid).innerHTML=_text; }

var today=new Date(); var xml=''; var _timeflip=false;
function getToday(){
if (params(location.search,'time','')!=''){
today=new Date(params(location.search,'time')); document.cookie='time='+today+'; path=/;';
document.writeln('<div style="position:absolute; top:0px; left:0px; width:250px; height:16px; font:bold 11px arial; color:white; background:#072B5E; border:1px solid white; overflow:hidden; z-index:100;">&nbsp; time: '+today.toString()+'</div>');
} else if (params(document.cookie,'time','')!=''){ today=new Date(params(document.cookie,'time'));
document.writeln('<div style="position:absolute; top:0px; left:0px; width:250px; height:16px; font:bold 11px arial; color:white; background:#072B5E; border:1px solid white; overflow:hidden; z-index:100;">&nbsp; time: '+today.toString()+'</div>');
} else { document.writeln('<scr'+'ipt language="javas'+'cript" src="http://dolutils.go.com/dolutils/tv/funct'+'ions?vars=today"></scr'+'ipt>'); }
}

function doTimeShift(){ //USAGE= doTimeShift(["July 4, 2005","alert('whatever')"], ["July 5, 2005","alert(today)"], ["July 6, 2005","alert('6th')"]);
offset=(today.toString().match(/(DT|Daylight|700)/gi)!=null)?7:8;
for (tim=doTimeShift.arguments.length-1; tim>=0; tim--){
thistime=new Date(doTimeShift.arguments[tim][0]+" GMT-0"+offset+"00");
if (today>=thistime){ eval(doTimeShift.arguments[tim][1]); _timeflip=true; break; }
}}

function flipCSS(){
styles=[ ["#SHOWER, #OLDER","display:none;"],["#STEALTH, #NEWER","display:block;"] ];
document.writeln('<style>');  for (sty in styles){ document.writeln(styles[sty][0]+'{ '+styles[sty][1]+' }'); }  document.writeln('</style>');
}

function setShowHide(dt,id,act){ //setShowHide("February 11, 2006 0:01","RERUNS","hide")
notyet='none'; nowisok='block'; try{ if (act.match(/(0|hid|none)/gi)!=null){ notyet='block'; nowisok='none'; }}catch(ssh){}
document.writeln('<style>#'+id+'{ display:'+((today<new Date(dt))?notyet:nowisok)+' }</style>');
}

function goTravelTrivia(){ location.href=currentTravelTrivia; }
function goFeedback(){
window.open('http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=http://www.dscservice.com/regisandkelly&name=tv_regis_nav_to_dscservice');
}

function setScrollColor(_facecolor,_id){
faceup=''; facedown=''; _facecolor=_facecolor.replace(/\#/g,'');
R=parseInt(_facecolor.substring(0,2),16); G=parseInt(_facecolor.substring(2,4),16); B=parseInt(_facecolor.substring(4,6),16);
if(R<240){R+=16;} else if(R<255){R=255;} R=R.toString(16); R=(R.length==1)?R='0'+R:R;
if(G<240){G+=16;} else if(G<255){G=255;} G=G.toString(16); G=(G.length==1)?G='0'+G:G;
if(B<240){B+=16;} else if(B<255){B=255;} B=B.toString(16); B=(B.length==1)?B='0'+B:B;
faceup=''+R+G+B;
R=parseInt(_facecolor.substring(0,2),16); G=parseInt(_facecolor.substring(2,4),16); B=parseInt(_facecolor.substring(4,6),16);
if(R>15){R-=16;} else if(R>0){R=0;} R=R.toString(16); R=(R.length==1)?R='0'+R:R;
if(G>15){G-=16;} else if(G>0){G=0;} G=G.toString(16); G=(G.length==1)?G='0'+G:G;
if(B>15){B-=16;} else if(B>0){B=0;} B=B.toString(16); B=(B.length==1)?B='0'+B:B;
facedown=''+R+G+B;
document.writeln('<style>'+((_id==null)?'body':_id)+'{ scrollbar-shadow-color:#000000; scrollbar-track-color:#666666; scrollbar-3dlight-color:#666666; scrollbar-arrow-color:#ffffff; scrollbar-base-color:#000000; scrollbar-highlight-color:#'+faceup+'; scrollbar-darkshadow-color:#'+facedown+'; scrollbar-face-color:#'+_facecolor+'; }</style>');
}

function rollins(e){ /*---ROLLOVER FUNCTIONS---*/
if (window.event) { thislink = window.event.srcElement; } else if (e.target) { thislink = e.target; } else { return; }
for (j=0;j<myArraySet.length;j++){ if (myArraySet[j][0]==thislink.id+'_over'){document.getElementById(thislink.id).src=myArraySet[j][1].src; break;}}}
function unrollins(e){
if (window.event) { thislink = window.event.srcElement; } else if (e.target) { thislink = e.target; } else { return; }
for (k=0;k<myArraySet.length;k++){ if (myArraySet[k][0]==thislink.id){ document.getElementById(thislink.id).src=myArraySet[k][1].src; break;}}}
function rolloverInit(){
myArraySet=new Array(); myImages=new Array(); count=-1;
for (i=0;i<document.links.length;i++){
elk=document.links[i];
if (elk.id!=""){
bob=document.getElementById('i'+elk.id); unName=bob.src; count++;
c3=bob.src.replace(/_off\./gi,'_ovr.').replace(/_on\./gi,'_ovr.').replace(/-off\./gi,'-on.');
thisImage=new Image(); thisImage.src=c3; myArraySet[count]=new Array(bob.id+'_over',thisImage);
elk.onmouseover=rollins; count++; thisImage=new Image(); thisImage.src=unName; myArraySet[count]=new Array(bob.id,thisImage);elk.onmouseout=unrollins;
bob.src=c3; bob.src=unName; //FLIP REAL QUICK TO PRELOAD
}}}