var platform=navigator.platform;var version=navigator.appVersion;var browser=navigator.appName;var fullVersion=parseFloat(version.substring(version.indexOf("MSIE")+5,version.length));var majorVersion=parseInt(''+fullVersion);var bodyWidth=0,bodyHeight=0;var skydone=false;var ua=navigator.userAgent.toLowerCase();var skyonce=0;var pageloc=document.location+"";var adjustsky=0;function isSecureAd(){return(document.location.protocol=="https:")?1:0;}
function getWidth(){if(typeof(window.innerWidth)=='number'){bodyWidth=window.innerWidth;}
else{if(document.documentElement&&(document.documentElement.clientWidth)){bodyWidth=document.documentElement.clientWidth;}
else{if(document.body&&(document.body.clientWidth)){bodyWidth=document.body.clientWidth;}}}
return(bodyWidth);}
function adjustSkyScraper(){if(!skyonce){var bodyWidth=getWidth();if(isSecureAd()){try{document.getElementById('skyscraper').className='skyscraper_off';}
catch(e){}}else{try{document.getElementById('skyscraper').className='skyscraper_on';if(document.getElementById('bodycontainer').className!='bodycontainer_wide'){document.getElementById('bodycontainer').className='bodycontainer_wide';}
if(skydone==false){skydone=true;doSkyscraper();}}
catch(e){}}
skyonce=1;}}
function alignbody(){var bodyWidth=getWidth();if((bodyWidth<(910+adjustsky))||(isSecureAd())){try{document.getElementById('bodycontainer').className='bodycontainer_narrow';document.body.className='body_narrow';}
catch(e){}}else{try{document.getElementById('bodycontainer').className='bodycontainer_wide';document.body.className='body_wide';}
catch(e){}}}
var magic2=Math.floor(Math.random()*4573285835)
function makeSkyAd(adtag){window.skyscraperframe.location.replace('http://www.tiscali.co.uk/misc/adverts/dart/dart-advert.php?adtag='+adtag+'&bgcolor=ffffff&d_size=120x600&d_ord='+d_ord+'&d_tile='+(d_tile++));skydone=true;}
function whatbrowser(text){stringposition=ua.indexOf(text)+1;data=text;return stringposition;}
