<!--
var defaultCSANameGreenLight = (document.cookie.indexOf('defaultCSANameStopFlag') == -1);/*@cc_on@if(@_jscript_version>=5.5)defaultCSANameGreenLight=true;@end@*/if((defaultCSANameGreenLight==true)&&(!window.defaultCSANameLoadFlag)){window.defaultCSANameLoadFlag=true;function defaultCSANameGD(u,s,e){u=window.location.hostname;s=u.indexOf('.');if (s<0)return'';return ';domain='+u.substring(s);}function defaultCSANameTester(){if(window.defaultCSANameln)return;if((new Date().valueOf()-window.defaultCSANameTimer)> 30000)document.cookie='defaultCSANameStopFlag=y;path='+defaultCSANameGD();else window.setTimeout('defaultCSANameTester();',2000);}function defaultCSANameclient_event(eventVal, sourceVal){if(window.defaultCSANamequeueUserEvent)defaultCSANamequeueUserEvent(eventVal, sourceVal);else{var invokeString='defaultCSANameclient_event(\''+eventVal+'\',\''+sourceVal+'\');';window.setTimeout(invokeString, 500);}}function defaultCSANameGP(p){return null;}function defaultCSANameLC(file, scriptID, divID){var useCreateElement = false;/*@cc_on@if(@_jscript_version>=5.5)useCreateElement=true;@end@*/if(useCreateElement){if(document.getElementById){if(document.cookie.indexOf('defaultCSANameStopFlag') == -1){var divTag = document.getElementById(divID);var head = document.getElementsByTagName('HEAD').item(0);if(head){if(divTag) head.removeChild(divTag);var div = document.createElement('DIV');div.id = divID;head.appendChild(div);var script = document.createElement('SCRIPT');script.src = file;script.type = 'text/javascript';script.id = scriptID;div.appendChild(script);}}}}else{var d=document;if(d.body)d.write("<scrip"+"t Language='Javascript' src='"+file+"'><\/script>");else(new Image()).src=file;}}/*@cc_on@if(@_jscript_version>=5)function defaultCSANameGP(p){try{if(p===p.parent)return null;return p.parent;}catch(e){}return null;}@end@*/defaultCSANameTWID='AUTOSET';defaultCSANamewindowID='_'+(new Date()).getTime()+Math.random()+'_';function defaultCSANamegetSD(q,w,d,z,c,f,g,h,k,y,n,s,i){n=navigator;function doEscape(strVal){if(window.encodeURIComponent) return window.encodeURIComponent(strVal);else return escape(strVal);}function callScripts(){var prot=d.location.protocol; var hostUrl=''; if(prot=='https:')hostUrl='https://collect.hoseasons.co.uk'; else hostUrl='http://collect.hoseasons.co.uk';var sessInfo = '';var sCookie='';if(d.cookie.length > 1024)sCookie = d.cookie.substring(0,1024);else sCookie=d.cookie; if(d.cookie.indexOf('usy46gabsosddefaultCSAName') == -1){sessInfo = w.defaultCSANamewindowID;}else{var ckId = 'usy46gabsosd';var ckStr = d.cookie; var ind1 = ckStr.indexOf(ckId+'defaultCSAName');ind1 += ckId.length;ind1 += z.length;ind1+=2;var ind2 = ckStr.indexOf(';',ind1);if(ind2 <0)ind2 = ckStr.length;sessInfo = 'x'+ckStr.substring(ind1, ind2);}var sLoad=''+hostUrl+'/handler2/session.js?'+sessInfo+'&'+z+'&x'+doEscape(d.referrer)+'&'+w.defaultCSANamewindowID+'&x'+doEscape(d.URL)+'&x';var endString='&'+navigator.cookieEnabled+'&'+navigator.javaEnabled()+'&x'+doEscape(w.defaultCSANamePageID)+'&'+GPWID(w)+'&'+GIIP();var remainingSpace = 1900-sLoad.length-endString.length; while((doEscape(sCookie)).length>remainingSpace)sCookie = sCookie.substring(0, sCookie.length-100);sLoad=sLoad+doEscape(sCookie)+endString;if(sLoad.length < 2048)defaultCSANameLC(sLoad, 'loadPage', 'defaultCSANameLPDiv');if(sLoad.length < 2048)defaultCSANameLC(''+hostUrl+'/JavascriptInsert.js', 'csa', 'defaultCSANamecsaDiv');defaultCSANameTester();}GP=defaultCSANameGP;function GIIP(p,q,r){if(GP){p=GP(window);if(!p||!p.frames)return -2;q=p.frames;for(r=0;r<q.length;r++)if(q[r]==window)return r;}return -1;}function GPWID(w,v){if(!GP)return;v=GP(w);if(!v)v=w;return v.defaultCSANamewindowID;}n=navigator;c=d.cookie;window.defaultCSANameTimer=new Date().valueOf();callScripts();}defaultCSANamegetSD(document.body,window,document,'defaultCSAName');}