/* All intellectual property rights relating to this code are owned by EURO RSCG Interaction. */
document.flash = true;
var flash_version=6;
var _detect_fls='/flash/flashDetect_v6.swf';
var IE=(document.all)?1:0;
//var NS6=(document.getElementById&&!document.all)?1:0;
//var NS62=(NS6&&(navigator.vendorSub<6.2))?1:0;
var MAC=(navigator.userAgent.indexOf('Mac')!=-1)?1:0;
var SWF=0;
var _loc=location.toString();
var staticBar='
';
staticBar+='
';
staticBar+='
';
staticBar+='
';
function _getCookie(name) { var a=document.cookie.indexOf(name); if (a==-1) return null; a+=name.length; var b=document.cookie.indexOf(';',a); if (b==-1) b=document.cookie.length; if ((b-a)>1) return document.cookie.substring(a+1,b); return null; }
if (_getCookie('SWF')=='1') SWF=1;
function goHome() { if ((_getCookie('SWF')=='1')||SWF) location='http://www.redlobster.com/homeflash.asp'; else location='http://www.redlobster.com/home.asp'; }
function proceed() { if (IE&&MAC) { if (!SWF) { _qst=(_loc.indexOf('?')!=-1); if (_qst) _ch='&'; else _ch='?'; window.location=_loc+_ch+'SWF=1'; } } }
function _setView() { if (IE&&MAC) { if (!SWF) { noflash=(_loc.indexOf('SWF=0')!=-1); _qs=(_loc.indexOf('SWF=1')!=-1); if (_qs) SWF=1; if (!SWF&&!noflash) { flash(_detect_fls,'#ffffff',30,18,'',6); } } } }
var sfobj='ShockwaveFlash.ShockwaveFlash.'+eval(flash_version);
var VBS=' \n'; VBS+='on error resume next \n'; VBS+='SWF=IsObject(CreateObject(sfobj)) \n'; VBS+=' \n';
if (!MAC) { document.write(VBS); }
var plugin=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0);
if (plugin&&parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=flash_version) { SWF=1; }
function flash(src,color,width,height,noflash,overwrite) { var EC; if (SWF) document.cookie='SWF=1;'; if (SWF||overwrite) { EC=''; } else { EC=noflash; } document.write(EC); }
function goLink(n) { if (n==0) window.location='http://www.redlobster.com'; else window.location=links[n]; }
function goLinkWin(n) { window.open(links[n],'newWin'); }