//<![CDATA[
var _gaq=_gaq||[];var h=window.location.host;if(h.match(new RegExp("emmerdale"))){_gaq.push(['_setAccount','UA-5082198-3'])}else if(h.match(new RegExp("secret"))){_gaq.push(['_setAccount','UA-5082198-2'])}else{_gaq.push(['_setAccount','UA-5082198-4'])};_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src='http://www.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga, s);})();var _l_t,_expand_timer,_height_val,_width_val;var _ecn=function(className,tag,elm){if(document.getElementsByClassName){_ecn=function(className,tag,elm){elm=elm||document;var elements=elm.getElementsByClassName(className),nodeName=(tag)?new RegExp("\\b"+tag+"\\b","i"):null,returnElements=[],current;for(var i=0,il=elements.length;i<il;i+=1){current=elements[i];if(!nodeName||nodeName.test(current.nodeName)){returnElements.push(current)}}return returnElements}}else if(document.evaluate){_ecn=function(className,tag,elm){tag=tag||"*";elm=elm||document;var classes=className.split(" "),classesToCheck="",xhtmlNamespace="http://www.w3.org/1999/xhtml",namespaceResolver=(document.documentElement.namespaceURI===xhtmlNamespace)?xhtmlNamespace:null,returnElements=[],elements,node;for(var j=0,jl=classes.length;j<jl;j+=1){classesToCheck+="[contains(concat(' ', @class, ' '), ' "+classes[j]+" ')]"}try{elements=document.evaluate(".//"+tag+classesToCheck,elm,namespaceResolver,0,null)}catch(e){elements=document.evaluate(".//"+tag+classesToCheck,elm,null,0,null)}while((node=elements.iterateNext())){returnElements.push(node)}return returnElements}}else{_ecn=function(className,tag,elm){tag=tag||"*";elm=elm||document;var classes=className.split(" "),classesToCheck=[],elements=(tag==="*"&&elm.all)?elm.all:elm.getElementsByTagName(tag),current,returnElements=[],match;for(var k=0,kl=classes.length;k<kl;k+=1){classesToCheck.push(new RegExp("(^|\\s)"+classes[k]+"(\\s|$)"))}for(var l=0,ll=elements.length;l<ll;l+=1){current=elements[l];match=false;for(var m=0,ml=classesToCheck.length;m<ml;m+=1){match=classesToCheck[m].test(current.className);if(!match){break}}if(match){returnElements.push(current)}}return returnElements}}return _ecn(className,tag,elm)};domReady=(function(){var load_events=[],load_timer,script,done,exec,old_onload,init=function(){done=true;clearInterval(load_timer);while(exec=load_events.shift())exec();if(script)script.onreadystatechange=''};return function(func){if(done)return func();if(!load_events[0]){if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false)}else if(/WebKit/i.test(navigator.userAgent)){load_timer=setInterval(function(){if(/loaded|complete/.test(document.readyState))init()},10)}};
/*@cc_on @*/
/*@if(@_win32)
document.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");
script=_eid("__ie_onload");
script.onreadystatechange=function(){if(this.readyState == "complete") init()};
/*@end @*/
if(typeof func!='function'){load_events=func}else{load_events.push(func)}}})();function expand_div(id){var el2,el=_eid(id);el2=_eid('hd'+id.substr(id.indexOf('rv')+2));el2.style.height=_height_val.toString()+'px';el2.style.width=_width_val.toString()+'%';el2.parentNode.style.height='100%';el2.style.background='#fff';el2.style.color='#000';el2.style.padding='0px';el2.style.fontSize='12px';el2.style.lineHeight='16px';el2.style.marginTop='0px';_height_val=_height_val+20;if(_width_val<96){_width_val=_width_val+8};if(_height_val>=900){clearInterval(_expand_timer);el.style.display='none';el2.style.height='100%';el2.style.borderRadius='0';el2.style.borderWidth='0px';el2.style.boxShadow='0 0 0 #000';el2.style.width='100%';el2.style.overflow='visible';el2.parentNode.style.marginTop='0px'}};function do_reveals(){var el2,e,el,n,i,proc;e=_ecn('rv');n=e.length;for (i=0;i<n;i++){el=e[i];el.id='hd'+i;el.onmouseover=function(){this.style.background='#ffd';this.style.color='#000';this.style.borderStyle='solid';this.style.cursor='help';this.style.boxShadow='2px 2px 3px #000';el2=_eid('rv'+this.id.substr(this.id.indexOf('hd')+2));el2.innerHTML='CLICK';el2.style.background='#0c0';el2.style.boxShadow='2px 2px 3px #080';el2.style.color='#ff0'};el.onmouseout=function(){this.style.background='#fff';this.style.boxShadow='2px 2px 2px #888';this.style.color='#888';this.style.cursor='default';el2=_eid('rv'+this.id.substr(this.id.indexOf('hd')+2));el2.innerHTML='MORE';el2.style.boxShadow='2px 2px 2px #888';el2.style.background='#080';el2.style.color='#fff'}};e=_ecn('sa');n=e.length;for (i=0;i<n;i++){el=e[i];el.onmouseover=function(){this.style.background='#00c';this.style.boxShadow='2px 2px 3px #008';this.style.color='#ff0';el2=_eid('hd0');el2.style.background='#ffd';el2.style.borderStyle='solid'};el.onmouseout=function(){this.style.background='#008';this.style.boxShadow='2px 2px 2px #888';this.style.color='#fff';el2=_eid('hd0');el2.style.background='#fff'};el.title="Expand all hidden sections of text";el.onclick=function(){this.style.display='none';all_reveals()}};e=_ecn('sh');n=e.length;for (i=0;i<n;i++){el=e[i];el.id='rv'+i;el.title="Show all of this article text";el.onmouseover=function(){this.innerHTML='CLICK';this.style.background='#0c0';this.style.boxShadow='2px 2px 3px #080';this.style.color='#ff0';el2=_eid('hd'+this.id.substr(this.id.indexOf('rv')+2));el2.style.background='#ffd';el2.style.boxShadow='2px 2px 3px #000';el2.style.color='#000';el2.style.borderStyle='solid'};el.onmouseout=function(){this.innerHTML='MORE';this.style.background='#080';this.style.boxShadow='2px 2px 2px #888';this.style.color='#fff';el2=_eid('hd'+this.id.substr(this.id.indexOf('rv')+2));el2.style.boxShadow='2px 2px 2px #888';el2.style.background='#fff';el2.style.color='#888'};el.onclick=function(){_height_val=200;_width_val=10;this.innerHTML='LOAD';el2=_eid('hd'+this.id.substr(this.id.indexOf('rv')+2));this.onmouseover=null;this.onmouseout=null;el2.style.borderRadius='0';el2.onmouseover=null;el2.onmouseout=null;proc="expand_div('"+this.id+"')";_expand_timer=setInterval(proc,10)}}};function all_reveals(){var e,n,i,el,el2;e=_ecn('sa');n=e.length;for (i=0;i<n;i++){e[i].style.display='none'};e=_ecn('sh');n=e.length;for (i=0;i<n;i++){el=e[i];el.style.display='none';el2=_eid('hd'+i);if(el2){el2.onmouseover=null;el2.onmouseout=null;el2.style.borderRadius='0';el2.style.boxShadow='0 0 0 #000';el2.parentNode.style.height='100%';el2.parentNode.style.marginTop='0px';el2.style.height='100%';el2.style.background='#fff';el2.style.color='#000';el2.style.width='100%';el2.style.overflow='visible';el2.style.borderWidth='0px';el2.style.fontSize='12px';el2.style.lineHeight='16px';el2.style.marginTop='0px';el2.style.padding='0px'}}};function do_load_flasher(){_f_status=0;_l_t=setInterval(function(){var e=_ecn('l3');var e2=_eid('_h');if(e.length==2) {if(_f_status==0){if(e2){e2.style.backgroundPosition="0 -300px"};_f_status=1;e[0].style.background='#880088';e[1].style.background='#000000';e[0].style.color='#ffff00';e[1].style.color='#ffffff';e[0].style.boxShadow='1px 1px 5px #606';e[1].style.boxShadow='1px 1px 2px #000'}else{_f_status=0;if(e2){e2.style.backgroundPosition="0 -1px"};e[0].style.background='#000000';e[1].style.background='#880088';e[0].style.color='#ffffff';e[1].style.color='#ffff00';e[1].style.boxShadow='1px 1px 5px #606';e[0].style.boxShadow='1px 1px 2px #000'}}},250)};function do_button_css(){var c0='-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888;';var c1='.cv{'+c0+'-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}';var c2='.cv2{'+c0+'-moz-border-radius:10px 0 0 10px;-webkit-border-radius:10px 0 0 10px;border-radius:10px 0 0 10px}';var c3='.cv3{'+c0+'-moz-border-radius:0 10px 10px 0;-webkit-border-radius:0 10px 10px 0;border-radius:0 10px 10px 0}';var c4='.cv4{'+c0+'-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}';var c5='.cv5{'+c0+'-moz-border-radius:10px 10px 10px 10px;-webkit-border-radius:10px 10px 10px 10px;border-radius:10px 10px 10px 10px}';var c6='.cv6{'+c0+'-moz-border-radius:0 9px 9px 0;-webkit-border-radius:0 9px 9px 0;border-radius:0 9px 9px 0}';var c7='.cv7{'+c0+'-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}';var ca='.shad{'+c0+'}.gp img,.gp2 img,.gp3 img,.gph img,.gph2 img{-moz-box-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.noshad{-moz-box-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}';var cb='.i img{'+c0+'}.h img{'+c0+'}.bt2{'+c0+'}.bt{'+c0+'}.ets img{'+c0+'}.tbs img{'+c0+'}.pws img{'+c0+'}.ml:hover{-moz-box-shadow:2px 2px 2px #008;-webkit-box-shadow:2px 2px 2px #008;box-shadow:2px 2px 2px #008}.il:hover{-moz-box-shadow:2px 2px 2px #07c;-webkit-box-shadow:2px 2px 2px #07c;box-shadow:2px 2px 2px #07c}.s:hover{-moz-box-shadow:2px 2px 2px #390;-webkit-box-shadow:2px 2px 2px #390;box-shadow:2px 2px 2px #390}.rsl:hover{-moz-box-shadow:2px 2px 2px #d62;-webkit-box-shadow:2px 2px 2px #d62;box-shadow:2px 2px 2px #d62}.rsr:hover{-moz-box-shadow:2px 2px 2px #d62;-webkit-box-shadow:2px 2px 2px #d62;box-shadow:2px 2px 2px #d62}.mail:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.spy:hover{-moz-box-shadow:2px 2px 2px #800;-webkit-box-shadow:2px 2px 2px #800;box-shadow:2px 2px 2px #800}.ab:hover{-moz-box-shadow:2px 2px 2px #408;-webkit-box-shadow:2px 2px 2px #408;box-shadow:2px 2px 2px #408}.nt:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb2{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb2e{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb2{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb2:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb2e{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb2e:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb3{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb3{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb3:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mbe{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mbe{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mbe:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb3e{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb3e{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb3e:hover{-moz-box-shadow:2px 2px 2px #00a;-webkit-box-shadow:2px 2px 2px #00a;box-shadow:2px 2px 2px #00a}.mb4{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb4{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb4:hover{-moz-box-shadow:2px 2px 2px #900;-webkit-box-shadow:2px 2px 2px #900;box-shadow:2px 2px 2px #900}.mb5e{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb5e{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb5e:hover{-moz-box-shadow:2px 2px 2px #308;-webkit-box-shadow:2px 2px 2px #308;box-shadow:2px 2px 2px #308}.mb6{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.mb6{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.mb6:hover{-moz-box-shadow:2px 2px 2px #505;-webkit-box-shadow:2px 2px 2px #505;box-shadow:2px 2px 2px #505}.sec:hover{-moz-box-shadow:2px 2px 2px #900;-webkit-box-shadow:2px 2px 2px #900;box-shadow:2px 2px 2px #900}.sec2:hover{-moz-box-shadow:2px 2px 2px #900;-webkit-box-shadow:2px 2px 2px #900;box-shadow:2px 2px 2px #900}.pwl img:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}.pwr img:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}.pwm img:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}.si:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}.ei:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}.aw{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.aw:hover{-moz-box-shadow:2px 2px 2px #800;-webkit-box-shadow:2px 2px 2px #800;box-shadow:2px 2px 2px #800}.high img{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.high2 img{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}.high3 img{-moz-box-shadow:2px 2px 2px #888;-webkit-box-shadow:2px 2px 2px #888;box-shadow:2px 2px 2px #888}a img:hover{-moz-box-shadow:2px 2px 2px #000;-webkit-box-shadow:2px 2px 2px #000;box-shadow:2px 2px 2px #000}';var ref = document.createElement('style');ref.setAttribute("rel", "stylesheet");ref.setAttribute("type", "text/css");document.getElementsByTagName("head")[0].appendChild(ref);if(typeof ref.styleSheet!='undefined') {ref.styleSheet.cssText=c1;ref.styleSheet.cssText+=c2;ref.styleSheet.cssText+=c3;ref.styleSheet.cssText+=c4;ref.styleSheet.cssText+=c5;ref.styleSheet.cssText+=c6;ref.styleSheet.cssText+=c7;ref.styleSheet.cssText+=ca;ref.styleSheet.cssText+=cb}else {ref.appendChild(document.createTextNode(c1));ref.appendChild(document.createTextNode(c2));ref.appendChild(document.createTextNode(c3));ref.appendChild(document.createTextNode(c4));ref.appendChild(document.createTextNode(c5));ref.appendChild(document.createTextNode(c6));ref.appendChild(document.createTextNode(c7));ref.appendChild(document.createTextNode(ca));ref.appendChild(document.createTextNode(cb))}};function do_counter() {var loc=escape(document.location);var ref=escape(document.referrer);if (ref.length>245){ref=ref.substr(0,245)+' [...]'};document.write("<img src='/counter.php?pu01="+loc+"&amp;pl02="+ref+"&amp;pp03=HIT"+"' width=95 height=26 alt='Counter'>")};function do_AJAX(request,callback){var _AJAX;try{_AJAX=new XMLHttpRequest()}catch(e){try{_AJAX=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{_AJAX=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}};if (typeof callback=="function"){_AJAX.onreadystatechange=function(){if(_AJAX.readyState==4 && _AJAX.status==200) callback(_AJAX.responseText)};_AJAX.open("GET",request,true);_AJAX.send()}else{_AJAX.open("GET",request,false);_AJAX.send();return _AJAX.responseText;};};function delay_loop(){};function dofindpage(){var srchelm=_eid('myfrm').t1.value;if(srchelm!=null&&srchelm!='')findString(srchelm)};function _eid(id){try {var i=document.getElementById(id)}catch(e) {setTimeout("delay_loop()",500);return _eid(id)};return i};function cleanup_gmaps(){if(typeof _mJavascriptVersion!='undefined')google.maps.Unload()};function create_logo(gva){LogoControl=function(){};LogoControl.prototype=new google.maps.Control();LogoControl.prototype.initialize=function(_map){this.map=_map;var size=new google.maps.Size(202,38);var contents=_createElement("div",_map.getContainer(),null,size);var map_name=_map.getContainer().id.toString();logo_html='<div id="gmaplogoid" class="gml cv">';if(gva==1) {logo_html+='<a class="gv" href="http://www.gva.co.uk/datacentres/" title="GVA"><\/a>'}else if(gva==2) {logo_html+='<a class="gv2" href="http://www.secret-bases.co.uk" title="Your logo"><\/a>'};logo_html+='<div class="gb"><a href="http://www.secret-bases.co.uk">www.secret-bases.co.uk<\/a><\/div><div class="rs"';logo_html+=' onMouseOver="this.style.background=';logo_html+="'#ffff00'";logo_html+='" onMouseOut="this.style.background=';logo_html+="'#ffffcc'";logo_html+='" onClick="javascript:reset_';logo_html+=map_name.substr(map_name.length-4,4)+'()"';logo_html+='>Reset to the initial view<\/div><div id="gmaplogopadid2" class="gmp">Processing<\/div><\/div>';contents.innerHTML=logo_html;return contents};LogoControl.prototype.getDefaultPosition=function(){return new google.maps.ControlPosition(google.maps.ANCHOR_TOP_LEFT,new google.maps.Size(100,8))}};function build_gmap(gmap_id,init,z,typ){var elm=_eid(gmap_id);var loc=document.location.toString();var mapOptions={googleBarOptions:{adsOptions:{client:"partner-pub-8978265878657298",channel:"1266111819",adsafe:"off",language:"en"}}};var gmap=null;do{try{gmap=new google.maps.Map2(elm,mapOptions)}catch(e){}}while(gmap==null);gmap.setCenter(init,z,typ);gmap.addControl(new google.maps.MenuMapTypeControl(),new google.maps.ControlPosition(google.maps.ANCHOR_TOP_RIGHT,new google.maps.Size(8,8)));gmap.addMapType(google.maps.PHYSICAL_MAP);gmap.addMapType(google.maps.SATELLITE_3D_MAP);gmap.addMapType(google.maps.HYBRID_3D_MAP);gmap.addMapType(google.maps.AERIAL_MAP);gmap.addControl(new LogoControl(),new google.maps.ControlPosition(google.maps.ANCHOR_TOP_LEFT,new google.maps.Size(100,8)));gmap.enableContinuousZoom();gmap.enableRotation();if(loc.indexOf('google-earth.htm')<0) {gmap.enableGoogleBar()}else{var adUnit=new google.maps.AdsManager(gmap,"pub-8978265878657298",{channel:'7698941476',style:'adunit',maxAdsOnMap:2,position:new google.maps.ControlPosition(google.maps.ANCHOR_BOTTOM_RIGHT,new google.maps.Size(0,82))});adUnit.enable()}return gmap};function externalLinks(){if(!document.getElementsByTagName)return;var anchors=document.getElementsByTagName("a");for(var i=0;i<anchors.length;i++){var anch=anchors[i];var anchor=anch.href;if(((anchor.indexOf('http://www.secret-bases.co.uk')!=0)&&(anchor.indexOf('http://www.alan-turnbull.co.uk')!=0)&&(anchor.indexOf('http://www.emmerdale.me.uk')!=0))||(anchor.indexOf('http://www.secret-bases.co.uk/wiki/')==0)||(anchor.indexOf('http://www.secret-bases.co.uk/IMG/')==0)||(anchor.indexOf('http://www.secret-bases.co.uk/downloads/')==0)||(anchor.indexOf('http://www.secret-bases.co.uk/docs/')==0)||(anchor.indexOf('http://www.emmerdale.uk/IMG/')==0)||(anchor.indexOf('http://www.emmerdale.uk/downloads/')==0)||(anchor.indexOf('http://www.emmerdale.me.uk/docs/')==0) || (anchor.indexOf('/news/')>=0) || (anchor.indexOf('ext.php?uri=')>=0)){anch.target="_blank"}};var anchors=document.getElementsByTagName("area");for(var i=0;i<anchors.length;i++){var anch=anchors[i];var anchor=anch.href;if(((anchor.indexOf('http://www.secret-bases.co.uk')!=0)&&(anchor.indexOf('http://www.alan-turnbull.co.uk')!=0)&&(anchor.indexOf('http://www.emmerdale.me.uk')!=0))||(anchor.indexOf('http://www.secret-bases.co.uk/IMG/')==0)||(anchor.indexOf('http://www.secret-bases.co.uk/docs/')==0)||(anchor.indexOf('http://www.secret-bases.co.uk/downloads/')==0)||(anchor.indexOf('http://www.emmerdale.uk/IMG/')==0)||(anchor.indexOf('http://www.emmerdale.uk/downloads/')==0)||(anchor.indexOf('http://www.emmerdale.me.uk/docs/')==0)|| (anchor.indexOf('ext.php?uri=')>=0)){anch.target="_blank"}}};function findString(str){var strFound;all_reveals();if(typeof document.body.createTextRange!='undefined'){if(typeof TRange=='undefined')TRange=null;if(TRange!=null){TRange.collapse(false);strFound=TRange.findText(str);if(strFound)TRange.select()};if(TRange==null||strFound==0){TRange=self.document.body.createTextRange();strFound=TRange.findText(str);if(strFound)TRange.select()}}else{alert("Please use CTRL-F in this browser");return};if(!strFound)alert("String '"+str+"' not found!");return};function remove_holding_frame(){if(top!=self){if(!isOpera()){top.location.replace(self.location.href)}else{top.location=self.location}};do_button_css();externalLinks()};function current_base(){return'/IMG/'};function clearloading(){clearInterval(_l_t);var e=_ecn('l3');var e2=_eid('_h');if(e2){e2.style.backgroundPosition="0 -1px"};if(e.length==2){e[0].style.visibility='hidden';e[1].style.visibility='hidden'};var id=_eid("divload1");if(id){id.style.visibility='hidden'};id=_eid("divload2");if(id){id.style.visibility='hidden'}};function getBrowserParams(){var scrX=0;var scrY=0;var scrW=0;if(typeof window.innerWidth=='number'){scrW=window.innerWidth}else if(document.body&&document.body.clientWidth){scrW=document.body.clientWidth}else if(document.documentElement&&document.documentElement.clientWidth){scrW=document.documentElement.clientWidth};if(typeof window.pageXOffset=='number'){scrX=window.pageXOffset}else if(document.body&&document.body.scrollLeft){scrX=document.body.scrollLeft}else if(document.documentElement&&document.documentElement.scrollLeft){scrX=document.documentElement.scrollLeft};if(typeof window.pageYOffset=='number'){scrY=window.pageYOffset}else if(document.body&&document.body.scrollTop){scrY=document.body.scrollTop}else if(document.documentElement&&document.documentElement.scrollTop){scrY=document.documentElement.scrollTop};return[scrX,scrY,scrW]};function isOpera(){return(navigator.userAgent.toLowerCase().indexOf("opera")!=-1)};function Floatdiv(){var pA=new Array(3);function Setup(){var pX,pY,pW,el=_eid("divMenu");el.style.display='block';el.intvl=5000;el.y=0;el.c=1190;el.x=0;pA=getBrowserParams();pX=pA[0];pY=el.c;pW=pA[2];return el};window.Monitor=function(){var t=setInterval(function(){var pX,pY,pW;pA=getBrowserParams();if(bubble.intvl==5000){clearInterval(t);bubble.intvl=100;Monitor()};pX=pA[0];pY=pA[1];pW=pA[2];if(pY>bubble.c){bubble.y+=((pY-bubble.y-bubble.c)/2)}else{bubble.y=0};var pxx=document.layers?"":"px";if(pW<970){bubble.style.display='none'}else{bubble.style.display='block'};if(pY>bubble.c){bubble.style.top=bubble.y+bubble.c+4+pxx}else{bubble.style.top=bubble.c}},bubble.intvl)};bubble=Setup();Monitor()};function close_link(){document.write('<\/A>')};function dcd(str){var i,res='';for(i=str.length-1;i>=0;i--){res+=str.charAt(i)};return(res)};function maddress(opt){var madd;madd=dcd(':otliam');switch(opt){case 1:madd+=dcd('seiriuqne');break;case 2:madd+=dcd('seiriuqne');break;case 3:madd+=dcd('seiriuqne');break;case 4:madd+=dcd('hcraeserifa');break};madd+='@';if(opt==1){madd+=dcd('ku.oc.llubnrut-nala')};if(opt==2){madd+=dcd('ku.em.eladremme')};if(opt==3){madd+=dcd('ku.oc.sesab-terces')};if(opt==4){madd+=dcd('moc.tenretnitb')};return(madd)};function swp_elem(elem1,elem2){domReady(function dummy(){_eid(elem2).src=elem1.src})};function swp_over(itm){if(typeof itm!='undefined')itm.style.fontSize='11px'};function swp_out(itm){if(typeof itm!='undefined')itm.style.fontSize='12px'};function _toPixel(a){return Math.round(a)+"px"};function _setAbsPosition(a,b){var c=a.style;c.position="absolute";c.left=_toPixel(b.x);c.top=_toPixel(b.y)};function _setWidthHeightStyle(a,b){var c=a.style;c.width=_toPixel(b.width);c.height=_toPixel(b.height)};function _getOwnerDocument(a){return(a?a.ownerDocument:null)||document};function _appendChild(a,b){a.appendChild(b)};function _createElement(a,b,c,d){var e=_getOwnerDocument(b).createElement(a);if(b)_appendChild(b,e);if(c)_setAbsPosition(e,c);if(d)_setWidthHeightStyle(e,d);return e};function getCookie(varName){var cookieFound=0;var start=0;var end=0;var CookieString=document.cookie;var i=0;while(i<=CookieString.length){start=i;end=start+varName.length;if(CookieString.substring(start,end)==varName){cookieFound=true;break}i++}if(cookieFound){start=end+1;end=document.cookie.indexOf(";",start);if(end<start)end=document.cookie.length;return document.cookie.substring(start,end)}return""};function setCookie(varName,varValue){document.cookie=varName+"="+varValue};function getmapparamsEmmerdale(){var mapsource,chkval;mapsource=getCookie("EmmSrc");if(mapsource!=""){chkval=parseInt(mapsource);if((chkval<1)||(chkval>14))mapsource='1';_eid('myform').mapsrc.value=mapsource}};function setmapparamsEmmerdale(){setCookie("EmmSrc",_eid('myform').mapsrc.value)};function getmapparamsSecret(){var mapsource,chkval;mapsource=getCookie("SecSrc");if(mapsource!=""){chkval=parseInt(mapsource);if((chkval<1)||(chkval>14))mapsource='1';_eid('myform').mapsrc.value=mapsource}};function setmapparamsSecret(){setCookie("SecSrc",_eid('myform').mapsrc.value)};function setsearchengine(){setCookie("SecSE",_eid('cse-search-box').cx.value);setCookie("SecQ",_eid('cse-search-box').q.value)};function getsearchengine(){var se=getCookie("SecSE");var sq=getCookie("SecQ");if(se!="")_eid('cse-search-box').cx.value=se;if(sq.toLowerCase().indexOf('_utm')!=(-1))return;if(sq!=""){_eid('cse-search-box').q.value=sq}};function setosmapparams(x,y,z,t){setCookie("SecOSMap",'SecOSMap');setCookie("SecOSx",x);setCookie("SecOSy",y);setCookie("SecOSz",z);setCookie("SecOSt",t)};function setosmapparamsemm(x,y,z,t){setCookie("EmmOSMap",'EmmOSMap');setCookie("EmmOSx",x);setCookie("EmmOSy",y);setCookie("EmmOSz",z);setCookie("EmmOSt",t)};function getosmapparams(){var c,x,y,z,t;c=getCookie('SecOSMap');x=parseFloat(getCookie('SecOSx'));y=parseFloat(getCookie('SecOSy'));z=parseInt(getCookie('SecOSz'));t=parseInt(getCookie('SecOSt'));if(x.toString()=='NaN')return;if(typeof x!='number')return;if(y.toString()=='NaN')return;if(typeof y!='number')return;if(c=='SecOSMap'){_eid('os-lon').value=x;_eid('os-lat').value=y;_eid('os-zm').value=z;_eid('os-ty').value=t}};function getosmapparamsemm(){var c,x,y,z,t;c=getCookie('EmmOSMap');x=parseFloat(getCookie('EmmOSx'));y=parseFloat(getCookie('EmmOSy'));z=parseInt(getCookie('EmmOSz'));t=parseInt(getCookie('EmmOSt'));if(x.toString()=='NaN')return;if(typeof x!='number')return;if(y.toString()=='NaN')return;if(typeof y!='number')return;if(c=='EmmOSMap'){_eid('os-lon').value=x;_eid('os-lat').value=y;_eid('os-zm').value=z;_eid('os-ty').value=t}};
//]]>
