/**
 * Creates a pop-up window with a legal disclaimer, 
 * before redirecting users to a non-Disney site.
*/

/*******************************************************************
START LINK DISCLAIMER
*******************************************************************/
function externalLink(url) {
externalLink(url);
}
/*******************************************************************
END LINK DISCLAIMER
*******************************************************************/

/*******************************************************************
STARTS GENERATING LINK DISCLAIMER
*******************************************************************/
function externalLink(url,width,height,scrollbars,name){
if (name != null) { url = url + '\",\"'+name+'\"'; } else { url = url + '\",\"_blank\"'; }
if (width != null) { url = url + ',\"width='+width+',height='+height; if (scrollbars != null) { url = url + ',scrollbars\"' } else { url = url + '\"'; } }
var popDisclaimer= window.open("","disclaimer","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=370,height=210,top=100,left=150,screenX=180,screenY=100");
	popDisclaimer.document.write ('<html>');
	popDisclaimer.document.write ('<head>');
	popDisclaimer.document.write ('<title>Disney.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>');
	popDisclaimer.document.write ('</head>');
	popDisclaimer.document.write ('<body bgcolor="#FFFFFF" text="#0065CE" link="#FFFF80" vlink="#FFFF80" alink="#FFFF80" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
	popDisclaimer.document.write ('<table width="370" height="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="http://disney.go.com/sponsors/images/disclaimer_top.gif" width="370" height="27" alt="" border="0"></td></tr><tr><td><table width="330" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td><br><FONT FACE="Verdana,sans-serif" SIZE="2" COLOR="#0065CE"><b>The web site you are about to link to is not controlled by Disney Online and different terms of use and privacy policy will apply. By proceeding you agree and understand that Disney Online is not responsible for the site you are about to access.</b></FONT><br><br></td></tr></table>');
	popDisclaimer.document.write ('</td></tr><tr bgcolor="#0000CC"><td align="center" height="20"><a href="javascript:window.close();"><FONT FACE="Verdana,sans-serif" SIZE="1" COLOR="#FFFF00"><b>Close this window</b></font></a></td></tr></table>');
	popDisclaimer.document.write ('</body>');
	popDisclaimer.document.write ('</html>');
	
	return popDisclaimer;
}



/*******************************************************************
START LINK DISCLAIMER
*******************************************************************/
function GOurl(url) {
GOurl2(url);
}
/*******************************************************************
END LINK DISCLAIMER
*******************************************************************/

/*******************************************************************
STARTS GENERATING LINK DISCLAIMER
*******************************************************************/
function GOurl2(url,width,height,scrollbars,name){
if (name != null) { url = url + '\",\"'+name+'\"'; } else { url = url + '\",\"_blank\"'; }
if (width != null) { url = url + ',\"width='+width+',height='+height; if (scrollbars != null) { url = url + ',scrollbars\"' } else { url = url + '\"'; } }
var popDisclaimer=window.open("","disclaimer","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=370,height=210,top=100,left=150,screenX=180,screenY=100");
popDisclaimer.document.write ('<html>');
popDisclaimer.document.write ('<head>');
popDisclaimer.document.write ('<title>Disney.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>');
popDisclaimer.document.write ('</head>');
popDisclaimer.document.write ('<body bgcolor="#FFFFFF" text="#0065CE" link="#FFFF80" vlink="#FFFF80" alink="#FFFF80" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
popDisclaimer.document.write ('<table width="370" height="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="http://disney.go.com/sponsors/images/disclaimer_top.gif" width="370" height="27" alt="" border="0"></td></tr><tr><td><table width="330" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td><br><FONT FACE="Verdana,sans-serif" SIZE="2" COLOR="#0065CE"><b>The web site you are about to link to is not controlled by Disney Online and different terms of use and privacy policy will apply. By proceeding you agree and understand that Disney Online is not responsible for the site you are about to access.</b></FONT><br><br></td></tr></table>');
popDisclaimer.document.write ('</td></tr><tr bgcolor="#0000CC"><td align="center" height="20"><a href="javascript:window.close();"><FONT FACE="Verdana,sans-serif" SIZE="1" COLOR="#FFFF00"><b>Close this window</b></font></a></td></tr></table>');
popDisclaimer.document.write ('</body>');
popDisclaimer.document.write ('</html>');
}
/*******************************************************************
STOPS GENERATING LINK DISCLAIMER
*******************************************************************/