function getCookie(){var strName='varCook';if(document.cookie.indexOf(strName)==-1){document.write('<span style="color: #f00; font: bold 8.5pt Verdana,sans-serif;">Sorry but you cannot use the MeOnTV Casting website unless cookies are accepted by your browser.\n\nRDF Media uses cookies primarily for authenticating members for entry to the Casting websites. This cookie allows access to the website without requiring re-entry of logins and passwords. At no time is any personal information stored in a cookie, nor is any information made available to others for any reason.</span>');return false;}else{var cookieStart=document.cookie.indexOf(strName);var cookieValStart=(document.cookie.indexOf('=',cookieStart)+1);var cookieValEnd=document.cookie.indexOf(';',cookieStart);if(cookieValEnd==-1){cookieValEnd=document.cookie.length;}var cookieValue=document.cookie.substring(cookieValStart,cookieValEnd);}if(cookieValue=='True'){return true;}}function setCookie(name,value,expires,path,domain,secure){var strDNS=getDNS();document.cookie=name+'='+escape(value)+((expires)?';expires='+expires.toGMTString()+1000*60*20:'')+((path)?';path='+path:'')+((domain)?';domain='+strDNS:'')+((secure)?';secure':'');return true;}function getDNS(){var cookieDomain=document.location.hostname;}function IsCookiesEnabled(){setCookie('varCook','True','','/','','');if(getCookie()){}else{return false;}return true;}function IsJavaScriptEnabled(){if(document.getElementById('JSCheck')){if(document.getElementById('JSCheck').value=='true'){return true}}return false;}function IsBrowserEnabled(){if(document.getElementById('JSCheck')){document.getElementById('JSCheck').value='true';}if(!IsJavaScriptEnabled()){document.write('<span style="color: #f00; font: bold 8.5pt Verdana,sans-serif;"><p>Access Denied: Javascript Disabled</p></span>');return false;}if(IsJavaScriptEnabled()){return true;}return false;}