function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){b();if(a){a()}}}}var npowerLoaded=false;function npowerJSLoad(){if(!npowerLoaded){IsIE6=f1();f2();f3();f4();f9.g1();f24.g1();f23.g1();f5.g1();f6.g1();f7.g1();f8.g1();f10();f11.g1();f12();f13.g1();f14.g1();f15();f16();f17();VoucherCodes.g1();f19();Page.g4();f21()}npowerLoaded=true}window.onresize=function(){f8.h9();f7.h9()};addLoadEvent(npowerJSLoad);var coRevTopNorm="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top.jpg";var coRevTopSwap="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_show.jpg";var coRevBtnNorm="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_open.jpg";var coRevBtnSwap="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_close.jpg";var coRevBtnSwapClean="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_close_clean.jpg";var coRevTopNormWide="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_wide.jpg";var coRevTopSwapWide="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_show_wide.jpg";var coRevTopNormSuperWide="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_superwide.jpg";var coRevTopSwapSuperWide="/idc/groups/wcms_content/@wcms/@resi/documents/digitalassets/lp_revealer_top_show_superwide.jpg";var lastTNCID=new Array();var coRevTipNorm="View or hide information about this heading";var coTNCTip="Click here to show or hide our terms and conditions.";var coOverlay="np_overlay";var dynamicBlankLoader=document.location.href.indexOf("http://")>-1?"/idc/groups/wcms_content/@wcms/documents/digitalassets/sliderblank_unsecure.html":"/at_home/tactical/popups/dynamic/sliderblank.html";var dynamicFormObj='<iframe id="iframeform" frameborder="0" src="'+dynamicBlankLoader+'"></iframe><div id="iframeloader"></div><div id="iframetop"><div id="iframetopcontent"><div id="iframelogo"></div><a id="iframeclose" onclick="javascript:f8.h0();">Close pop up</a></div></div>';var dynamicFormStyles="/* AUTO-GENERATED BY NPOWER.JS */\nbody { height:100%; }\nhtml { height:100%; overflow-y:auto; margin:0; }\n#closeoverride { z-index:999; display:none; } \n#np_overlay { z-index:998; position:fixed; _position:absolute; top:0px; left:0px; width:100%; height:100%; background:#000000; visibility:hidden; }\n#iframeform { z-index:999; margin:0; padding:0; position:fixed; _position:absolute; top:49px; visibility:hidden; background:#fff; border-left:6px #000 solid; border-right:6px #000 solid; border-bottom:5px #000 solid; _border:0; border-radius:0 0 6px 6px; -moz-border-radius:0 0 6px 6px;}\n#iframetop { z-index:999; height:49px; margin:0; padding:0; position:fixed; _position:absolute; top:0px; visibility:hidden; background:url(/idc/groups/wcms_content/@wcms/documents/digitalassets/red_popup_grad.jpg) repeat-x #ee1155; border-left:6px solid #000; border-right:6px solid #000; _border:0;}\n#iframelogo { z-index:999; width:93px; height:30px; float:left; margin:10px 0 0 20px; _margin-left:10px; background:url(/idc/groups/wcms_content/@wcms/documents/digitalassets/red_popup_logo.jpg) no-repeat; } \n#iframeclose { z-index:999; width:120px; height:31px; float:right; margin:10px 20px 0 0; _margin-right:10px; cursor:pointer; display:block; text-indent:-9999px; background:url(/idc/groups/wcms_content/@wcms/documents/digitalassets/red_popup_close_button.jpg) no-repeat; border:0; } \n#iframetopcontent {z-index:999; visibility:hidden;} \n#iframeloader { z-index:999; position:fixed; _position:absolute; top:0px; width:32px; height:32px; visibility:hidden; background:url(/idc/groups/wcms_content/@wcms/documents/digitalassets/loading_image.gif); }\n";var errMsg="";var coMsgSeparator="\n________________________________________________    \n\n";var flashObj='<object id="{id}" width="{w}" height="{h}" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">  <param name="movie" value="{s}" />  <param name="quality" value="high" />  <param name="allowFullScreen" value="{afs}" />  <param name="allowScriptAccess" value="sameDomain" />  <param name="wmode" value="transparent" />  <embed name="{id}" src="{s}" width="{w}" height="{h}" quality="high" wmode="transparent" allowFullScreen="{afs}" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>';var noFlash='<div class="no_flash"><p>This Flash movie requires version {v} or greater to run. Please <a href="http://www.macromedia.com/go/getflashplayer" target="_blank">download the latest version of Flash</a> before continuing.</p></div>';var cof7='<div class="ob_rendered">\n<a href="{close}" class="ob_close">X</a>\n<div class="ob_body">{body}</div>\n</div>';var dynamicBoxStyles="/* AUTO-GENERATED BY NPOWER.JS */\nbody { height:100%; }\nhtml { height:100%; overflow-y:auto; margin:0; }\n#closeoverride { z-index:999; display:none; } \n#np_overlay { z-index:998; position:fixed; _position:absolute; top:0px; left:0px; width:100%; height:100%; background:#000000; visibility:hidden; }";var coSMEBox='<div class="overlaybox" id="sme_qs_overlay">\n<span class="HTMLContent" title="/idc/groups/wcms_content/@wcms/documents/digitalassets/sme_qs_overlay.html" defer="true"></span>\n</div>';var coSMELink="/IN_BUSINESS/FORMS2/AffiliateJourneys/Affiliatestart.aspx";var cof24Box='<span class="HTMLContent" title="/idc/groups/wcms_content/@wcms/documents/digitalassets/callme_optout.html"></span>';coToolPosTop=1;coToolPosLeft=2;var dTitle=document.title;var IsIE6;var IsIE;if(getBrowser()=="msie"){IsIE=true}else{IsIE=false}function f24(){}f24.ID="npcmid";f24.CookieID=null;f24.OptOut=false;f24.OptOutID="npcmid-optout";f24.Cancelled=false;f24.TimerID=null;f24.CancelTimerID=null;f24.NeedsSend=false;f24.TimeOut=1*1000;f24.CancelTime=5*60*1000;f24.URL="/at_home/applications/callme/Default.aspx";f24.Data=new Object();f24.Fields={};f24.g1=function(){if(!f24.Setup()){return}if(f24.OptOut){f24.g2()}else{$__(f24.ID).innerHTML="";$__(f24.ID).style.display="none"}};f24.g2=function(){$__(f24.ID).innerHTML=cof24Box};f24.Setup=function(){if(!document.getElementsByTagName){return false}var items=document.getElementsByTagName("div");if(f11.i9(f24.ID)){f24.Data=eval(f11.i9(f24.ID));var now=new Date();var then=new Date(f24.Data.TS);var diff=now-then;var mins=Math.round(diff/(1000*60));if(mins>=6){f24.Clear()}else{f24.CookieID=f24.Data.ID;f24.Data.TS=new Date()}}for(var i=0;i<items.length;i++){if(items[i].className&&items[i].className.indexOf("callme")>-1){items[i].id=f24.ID;if(items[i].className.indexOf("start")>-1){f24.OptOut=items[i].className.indexOf("optout")>-1;if(items[i].getAttribute("rev")){f24.Data.CF=items[i].getAttribute("rev")}else{errMsg+=coMsgSeparator+"f24 rev attribute (the FormConfig name) is missing.";return false}if(items[i].getAttribute("dir")){f24.Data.AP=items[i].getAttribute("dir")}else{f24.Data.AP="Unknown application"}f24.Data.CA=f9.Campaign;if(items[i].getAttribute("rel")){var fields=items[i].getAttribute("rel").split(",");if(fields.length<5&&fields.length>6){errMsg+=coMsgSeparator+"f24 requires 5 fields to be named in the rel attribute, 6 if you use a Mobile number too.";return false}f24.Fields.TT=fields[0];f24.Fields.FN=fields[1];f24.Fields.LN=fields[2];f24.Fields.EM=fields[3];f24.Fields.TE=fields[4];f24.Fields.MO=fields[5]?fields[5]:null;var msg=null;if(!$__(f24.Fields.TT)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.TT}else{if(!$__(f24.Fields.FN)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.FN}else{if(!$__(f24.Fields.LN)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.LN}else{if(!$__(f24.Fields.EM)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.EM}else{if(!$__(f24.Fields.TE)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.TE}else{if(f24.Fields.MO&&!$__(f24.Fields.MO)){msg+=coMsgSeparator+"f24 could not find one of the fields named in the rel list: "+f24.Fields.MO}}}}}}if(msg){errMsg=msg;return false}}else{if(!f11.i9(f24.ID)){errMsg+=coMsgSeparator+"f24 did not find the rel attribute";return false}}f24.j5(true);if(f24.Data.CanSend){f24.Send("Mid","Time Out")}}else{if(items[i].className.indexOf("end")>-1){f24.Send("Clear","Clear");return false}else{if(items[i].className.indexOf("start")<0&&items[i].className.indexOf("end")<0){f24.Data.TS=new Date();f24.UpdateCookie();f24.j5(false);if(f24.Data.CanSend){f24.Send("Mid","Time Out")}else{f24.Send("Clear","Opted Out")}}}}return true}}return false};f24.Send=function(c,d){if(f24.Data.TE==0&&f24.Data.EM==0&&f24.Data.MO==0){return}if(c=="Execute"){f24.Cancelled=true}var b="tt="+f24.Encode(f24.Data.TT)+",fn="+f24.Encode(f24.Data.FN)+",ln="+f24.Encode(f24.Data.LN)+",em="+f24.Encode(f24.Data.EM)+",te="+f24.Encode(f24.Data.TE)+",mo="+f24.Encode(f24.Data.MO)+",cf="+f24.Encode(f24.Data.CF)+",ap="+f24.Encode(f24.Data.AP)+",ca="+f24.Encode(f24.Data.CA);var a=new Image();a.src=f24.URL+"?type="+c+"&reason="+d+"&id="+encodeURIComponent(f24.Data.ID)+"&enc="+encodeURIComponent(b)+"&rnd="+f24.CreateID();if(c=="Execute"||c=="Clear"){f24.Clear()}};f24.Encode=function(c){if(!c){return 0}c=c.toString();var a="";for(var b=0;b<c.length;b++){a+=c.charCodeAt(b)+"-"}return a};f24.Clear=function(){if(f11.i9(f24.ID)){f11.i8(f24.ID,"",-1);clearInterval(f24.TimerID);clearInterval(f24.CancelTimerID)}};f24.CreateID=function(){var a=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};return(a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a())};f24.j5=function(a){if(a){window.onchange=function(){f24.Update()};window.onkeyup=function(){f24.Update()};f24.TimerID=setInterval("f24.TimerHandler()",f24.TimeOut)}window.onunload=function(){f24.CheckSend()}};f24.TimerHandler=function(){if(f24.NeedsSend){if(f24.Data.CanSend){f24.Send("Check","Time Out")}else{f24.Send("Clear","Opted Out")}f24.NeedsSend=false}};f24.Update=function(){if(f24.Cancelled){return}if($__(f24.OptOutID)){if(typeof $__(f24.OptOutID).onclick!="function"){$__(f24.OptOutID).onclick=function(){f24.Update()}}f24.Data.CanSend=$__(f24.OptOutID).checked}else{f24.Data.CanSend=true}if(!f24.CookieID){f24.CookieID=f24.CreateID();f24.Data.TS=new Date()}f24.Data.ID=f24.CookieID;f24.Data.TT=document.forms[0].elements[f24.Fields.TT].value;f24.Data.FN=document.forms[0].elements[f24.Fields.FN].value;f24.Data.LN=document.forms[0].elements[f24.Fields.LN].value;f24.Data.EM=document.forms[0].elements[f24.Fields.EM].value;f24.Data.TE=document.forms[0].elements[f24.Fields.TE].value;f24.Data.MO=$__(f24.Fields.MO)?document.forms[0].elements[f24.Fields.MO].value:"";f24.UpdateCookie();f24.CancelTimerID=setInterval("f24.Clear()",f24.CancelTime);f24.NeedsSend=true};f24.UpdateCookie=function(){f11.i8(f24.ID,"("+JSON.stringify(f24.Data)+")",1)};f24.CheckSend=function(){if(IsIE&&window.event.clientX<0&&window.event.clientY<0){if(f24.Data.CanSend){f24.Send("Execute","Window Closed")}else{f24.Send("Clear","Opted Out")}}};function Page(){}Page.Start=function(){document.body.style.visibility="hidden"};Page.g4=function(){document.body.style.visibility="visible"};function f23(){}f23.g1=function(){if(!document.getElementsByTagName){return false}var g=document.getElementsByTagName("div");var k;var c;var f=[];var b=[];var h;var a=location.search.substring(1);if(a){var e=a.split("&");k=getValueFromQueryString("p",e);c=getValueFromQueryString("developer",e)=="true"}if(!k){return}k=k.toLowerCase();for(var l=0;l<2;l++){if(l==1){g=document.getElementsByTagName("span")}for(var d=0;d<g.length;d++){if(g[d].className.indexOf("hidepanel")>-1||g[d].className.indexOf("showpanel")>-1||g[d].className.indexOf("showclass")>-1){if(g[d].getAttribute("rel")){if((g[d].className.indexOf("showclass")>-1&&g[d].getAttribute("rel").toLowerCase().indexOf(k)>-1&&g[d].getAttribute("rev"))||(g[d].className.indexOf("hidepanel")>-1&&g[d].getAttribute("rel").toLowerCase().indexOf(k)>-1)||(g[d].className.indexOf("showpanel")>-1&&g[d].getAttribute("rel").toLowerCase().indexOf(k)==-1)){if(g[d].className.indexOf("showclass")>-1&&g[d].getAttribute("rel").toLowerCase().indexOf(k)>-1&&g[d].getAttribute("rev")){f=g[d].getAttribute("rel").split(" ");b=g[d].getAttribute("rev").split(" ");if(f.length==b.length){h=b[f.indexOf(k)]}else{h=b[0]}g[d].className=g[d].className+" "+h;f23.HiLite(c,g[d],k,"#bbddFF")}else{if(!c){g[d].style.display="none";g[d].innerHTML=""}else{g[d].innerHTML='<p style="margin:2px;padding:3px;color:#fff;">HIDDEN:</p>'+g[d].innerHTML;g[d].style.background="#ff99BB";if(IsIE){g[d].style.border="1px dotted #ee1155"}else{g[d].style.outline="1px dotted #ee1155"}if(l==0){g[d].style.display="block"}else{g[d].style.display="inline"}}}}else{if(l==0){g[d].style.display="block"}else{g[d].style.display="inline"}f23.HiLite(c,g[d],k)}}}}}};f23.HiLite=function(c,b,d,a){if(c&&b.getAttribute("rel")&&b.getAttribute("rel").toLowerCase().indexOf(d)>-1){if(IsIE){b.style.border="1px dotted #ee1155"}else{b.style.outline="1px dotted #ee1155"}if(!a){b.style.background="#ffffbb"}else{b.style.background=a}}};function f6(){}f6.ID="___f6ID";f6.g1=function(){if(f6.g3()){f6.g2()}};f6.g2=function(){createElement(null,null,"div",f6.ID);if($__(f6.ID)){$__(f6.ID).innerHTML=coSMEBox}};f6.g3=function(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("a");result=false;for(var b=0;b<a.length;b++){if(a[b].href.indexOf(coSMELink)>-1){if(a[b].className){a[b].className="overlaybox "+a[b].className}else{a[b].className="overlaybox"}a[b].setAttribute("rel","sme_qs_overlay");result=true}}return result};function f5(){}f5.g1=function(){f5.g4()};f5.Count;f5.g4Count;f5.Call;f5.CallID;f5.IDCount=0;f5.g4=function(l,f,b){if(!document.getElementsByTagName){return false}var k;var h;var c,g;var a;f5.Count=0;f5.g4Count=0;f5.Call=f;f5.CallID=l;if(!l){k=document.getElementsByTagName("span")}else{k=$__(l).getElementsByTagName("span")}for(var e=0;e<k.length;e++){if(!k[e].getAttribute("class")){h=k[e].className}else{h=k[e].getAttribute("class")}if(h&&h.indexOf("HTMLContent")>-1&&typeof k[e].title!="undefined"&&k[e].title!=""){if((f&&l)||b||!k[e].getAttribute("defer")||k[e].getAttribute("defer")!="true"){k[e].setAttribute("id","___NPContentHTML_"+f5.IDCount);k[e].className=k[e].className.replace("HTMLContent","Rendered");if(f&&l){f5.Count+=1}f5.IDCount+=1;g=new Date();cacheInterval=Math.floor(g.getMinutes()/5)+1;c=g.getFullYear().toString()+g.getMonth().toString()+g.getDate().toString()+g.getHours().toString()+cacheInterval;if(k[e].title.indexOf("?")>-1){a=k[e].title+"&rnd="+c}else{a=k[e].title+"?rnd="+c}XMLFactory.GetDataFromURL(a,f5.g5,k[e].getAttribute("id"));k[e].removeAttribute("title")}}}};f5.g5=function(c,d,a){if(!a){if(c&&d){if($__(d).parentNode.href&&$__(d).parentNode.className&&$__(d).parentNode.className=="remove"){var b=document.createElement("span");b.innerHTML=c;b.id=d+"tmp";b.className=$__(d).className.replace("HTMLContent","Rendered");$__(d).parentNode.parentNode.insertBefore(b,$__(d).parentNode);$__(d).parentNode.parentNode.removeChild($__(d).parentNode);$__(d+"tmp").id=d}else{$__(d).innerHTML=c}if($__(d).innerHTML.indexOf("HTMLContent")>-1){if(f5.CallID){f5.g4(f5.CallID,f5.Call,true)}else{f5.g4(d,null,true)}return}}}else{if(d){$__(d).innerHTML=$__(d).innerHTML+'<span style="display:none">Debug error = '+a+"</span>"}}f5.g4Count+=1;if(f5.Count<=f5.g4Count&&typeof f5.Call=="function"&&f5.CallID){f5.Call(f5.CallID);f5.Call=null;f5.Count=0;f5.g4Count=0;f5.CallID=null}};function f7(){}f7.List=new Array();f7.g6=950;f7.g7=700;f7.g8=565;f7.g9=100;f7.g0;f7.h1;f7.h2=false;f7.ID;f7.h3=10;f7.h4;f7.g1=function(){if(!f7.h5()){return}if(f8.h6()){f8.h7(dynamicBoxStyles);f7.h8();f7.g3()}};f7.h5=function(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("div");for(var b=0;b<a.length;b++){if(a[b].className.indexOf("overlaybox")>-1){return true}}return false};f7.h8=function(){if(!document.getElementsByTagName){return false}var b=document.getElementsByTagName("div");var d;var a=0;for(var c=0;c<b.length;c++){if(b[c].className.indexOf("overlaybox")>-1){if((!b[c].getAttribute("oncookiehide")&&!b[c].getAttribute("oncookieshow"))||(b[c].getAttribute("oncookiehide")&&!f11.i9(b[c].getAttribute("oncookiehide")))||(b[c].getAttribute("oncookieshow")&&f11.i9(b[c].getAttribute("oncookieshow")))){if(!b[c].id){b[c].id="___f7_"+a}b[c].innerHTML=cof7.replace("{body}",b[c].innerHTML).replace("{close}","JavaScript:f7.h0('"+b[c].id+"')");f7.List.push(b[c].id);a+=1}}}};f7.g3=function(){if(!document.getElementsByTagName){return false}var b=document.getElementsByTagName("a");var a=0;for(var c=0;c<b.length;c++){if(b[c].className.indexOf("overlaybox")>-1&&typeof b[c].rel!="undefined"&&b[c].rel!=""){if(f7.List.indexOf(b[c].rel)>-1){if(!b[c].id){b[c].id="___f7Link_"+a}b[c].setAttribute("url",b[c].href);if(b[c].onclick){b[c].onerror=b[c].onclick;b[c].onclick=""}b[c].href="JavaScript:f7.AOpen('"+b[c].rel+"','"+b[c].id+"');";a+=1}}}};f7.h9=function(){if(!f7.h2||!f7.ID){return}var a=(($Width()/2)-(f7.g0/2));$__(f7.ID).style.left=a+"px";var b=($Height()/2)-(f7.h1/2);$__(f7.ID).style.top=f7.h3+getScrollXY()[1]+"px"};f7.h0=function(a){fadeOut(a,0);fadeOut(coOverlay,0);f7.h2=false};f7.AOpen=function(a,b){f7.h4=b;if($__(a).innerHTML.indexOf("HTMLContent")>-1){f5.g4(a,f7.i2)}else{f7.g4(a)}};f7.i2=function(a){f11.i3(a);f7.g4(a)};f7.i4=function(b,c){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("a");for(var d=0;d<a.length;d++){if(a[d].className.indexOf("overlaybox-passurl")>-1){a[d].href=$__(c).getAttribute("url");if($__(c).onerror){a[d].onclick=$__(c).onerror}if(a[d].className.indexOf("nopopup")<0){if($__(c).className.indexOf("popup")>-1){a[d].onmouseup=function(){f7.h0(b)}}if($__(c).getAttribute("popupWidth")){a[d].setAttribute("popupWidth",$__(c).getAttribute("popupWidth"))}if($__(c).getAttribute("popupHeight")){a[d].setAttribute("popupHeight",$__(c).getAttribute("popupHeight"))}if($__(c).getAttribute("popupScrollbars")){a[d].setAttribute("popupScrollbars",$__(c).getAttribute("popupScrollbars"))}if($__(c).getAttribute("rel")){a[d].setAttribute("rel",$__(c).getAttribute("rel"))}if($__(c).getAttribute("link")){a[d].setAttribute("link",$__(c).getAttribute("link"))}}else{if(typeof a[d].onclick=="function"&&a[d].onclick.toString().indexOf("window.open")>-1){a[d].onclick=null}}}else{if(a[d].className.indexOf("overlaybox-close")>-1){a[d].href="JavaScript:f7.h0('"+b+"')"}}}};f7.g4=function(b){f7.i4(b,f7.h4);if(IsIE6){scroll(0,0);if(document.body.scrollHeight>$Height()){$__(coOverlay).style.height=document.body.scrollHeight+"px"}}fadeIn(coOverlay,70);var a,c;$__(b).style.visibility="hidden";$__(b).style.display="block";$__(b).style.zIndex="10000";a=$__(b).offsetWidth-35;c=$__(b).offsetHeight;if($__(b).style.padding){c=c-getNoPxVal($__(b).style.padding)}if(a>f7.g6){a=f7.g6}else{if(a<f7.g8){a=f7.g8}}if(c>f7.g7){c=f7.g7}else{if(c<f7.g9){c=f7.g9}}f7.g0=a;f7.h1=c;if(!$__(b).style.width){$__(b).style.width=a+"px"}if(!$__(b).style.height){$__(b).style.height=c+"px"}f7.ID=b;f7.h2=true;f7.h9();fadeIn(b,100)};function f11(){}f11.g1=function(){f11.i7();f11.i6();f11.i5();f11.i3()};f11.i3=function(c){if(!document.getElementsByTagName){return false}var a;if(!c){a=document.getElementsByTagName("a")}else{a=$__(c).getElementsByTagName("a")}var d;for(var b=0;b<a.length;b++){if(a[b].className.indexOf("cookiesave")>-1&&typeof a[b].rev!="undefined"&&a[b].rev!=""){if(a[b].onclick){a[b].onmouseup=a[b].onclick;a[b].onclick=null}if(a[b].getAttribute("link")!=null){a[b].href="javascript:void(0);"}a[b].onmousedown=function(){f11.i3Click(this.href,this.rev,this.getAttribute("link"));return false}}}};f11.i3Click=function(b,d,a){var c=b.indexOf("javascript")>-1?a:b;f11.i8(d,c,365);if(!a){document.location.href=c}};f11.i5=function(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("a");var c;for(var b=0;b<a.length;b++){if(a[b].className.indexOf("cookielink")>-1&&typeof a[b].rev!="undefined"&&a[b].rev!=""){c=f11.i9(a[b].rev);if(c){a[b].href=c}}}};f11.i6=function(){var c=location.search.substring(1);if(c){var a=c.split("&");var b=getValueFromQueryString("alert",a);if(b==="true"){alert("Found cookies: \n\nQSCookie: ["+f11.i9("QSCookie")+"]")}}};f11.i7=function(){var d=location.search.substring(1);if(d){var b=d.split("&");var e,a,c;e=getValueFromQueryString("AG",b);a=getValueFromQueryString("CH",b);c=getValueFromQueryString("REF",b);if(e!=""){var f="AG="+e;if(a!=""){f+=";CH="+a}if(c!=""){f+=";REF="+c}f11.i8("QSCookie",f,30)}}};f11.i9=function(b){var c,a,e,d=document.cookie.split(";");for(c=0;c<d.length;c++){a=d[c].substr(0,d[c].indexOf("="));e=d[c].substr(d[c].indexOf("=")+1);a=a.replace(/^\s+|\s+$/g,"");if(a==b){return unescape(e)}}return null};f11.i8=function(a,d,b){var e=new Date();e.setDate(e.getDate()+b);var c=escape(d)+((b==null)?"":"; expires="+e.toUTCString());document.cookie=a+"="+c+"; path=/"};function f14(){}f14.Item=function(){};f14.Items=new Array();f14.g1=function(){if(!document.getElementsByTagName){return false}var c=document.getElementsByTagName("div");var h;var b=0;var a=0;for(var g=0;g<c.length;g++){if(c[g].className.indexOf("npdropdown")>-1){if(!c[g].getAttribute("dir")||(!$__(c[g].getAttribute("dir")))){errMsg+=coMsgSeparator+"f14: No dir tag found or no matching div with the specified dir id.";return}h=c[g].getElementsByTagName("div");if(h.length<1){errMsg+=coMsgSeparator+"f14: No items were found for the drop down!";return}c[g].setAttribute("id","npdropdown__"+b);var f=new Array();var e=new Array();for(var d=0;d<h.length;d++){if(h[d].className.indexOf("dropitem")>-1){if(!h[d].getAttribute("id")){h[d].setAttribute("id","npdropitem__"+a)}f.push(h[d].getAttribute("id")+","+h[d].getAttribute("title")+","+h[d].getAttribute("dir"))}else{if(h[d].className.indexOf("hiddenitem")>-1){if(!h[d].getAttribute("id")){errMsg+=coMsgSeparator+"f14: a hiddenitem did not have an id!";return}e.push(h[d].getAttribute("id"))}}a++}createElement(c[g].getAttribute("dir"),null,"select","npselect__"+b);$__("npselect__"+b).setAttribute("dir",f14.i0(f)+","+e);$__("npselect__"+b).onchange=function(){f14.j1(this.id,this.getAttribute("dir"));return false};addOption($__("npselect__"+b),c[g].getAttribute("title")?c[g].getAttribute("title"):"","0");for(var d=0;d<f.length;d++){addOption($__("npselect__"+b),f[d].split(",")[1],f[d].split(",")[0])}f14.j2(f14.i0(f)+","+e);b++}}};f14.i0=function(b){var a="";for(var c=0;c<b.length;c++){a+=b[c].substring(0,b[c].indexOf(","));if(c+1<b.length){a+=","}}return a};f14.j1=function(a,b){f14.j2(b);if($__(a).value!="0"){$__($__(a).value).style.display="block";if($__($__(a).value).getAttribute("dir")){var d=$__($__(a).value).getAttribute("dir").split(",");for(var c=0;c<d.length;c++){$__(d[c]).style.display="block"}}}};f14.j2=function(a){var c=a.split(",");for(var b=0;b<c.length;b++){$__(c[b]).style.display="none"}};function f13(){}f13.LastOpened=null;f13.ToClose=null;f13.HeadingOpened="headingopened";f13.HeadingClosed="headingclosed";f13.TargetOpened="accordionopened";f13.TargetClosed="accordionclosed";f13.g1=function(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("div");var d;var f=0;var e;var c=false;for(var b=0;b<a.length;b++){if(a[b].className.indexOf("npaccordion")>-1){e=a[b].getElementsByTagName("h4").length;if(e<1){errMsg+=coMsgSeparator+"No h4 tags were found in the npaccordion.";return}c=f13.j3(a[b].getElementsByTagName("h4"),f,a[b].className.indexOf("openbydefault")>-1);if(!f13.j4(a[b].getElementsByTagName("div"),f,e)){errMsg+=coMsgSeparator+"The npaccordion's h4 and div tags are unbalanced."}if(c){f13.AOpen(c)}f++}}};f13.j3=function(d,e,c){var b=null;for(var a=0;a<d.length;a++){d[a].id="npaccordion"+e+"_"+a;d[a].className=!d[a].className?f13.HeadingClosed:d[a].className+" "+f13.HeadingClosed;d[a].innerHTML=d[a].innerHTML+'<span class="button"></span>';d[a].onclick=function(){f13.AOpen("target_"+this.id);return false};if(!b&&c){b="target_"+d[a].id}}return b};f13.j4=function(d,e,c){var a=0;for(var b=0;b<d.length;b++){if(!d[b].id&&!d[b].className){d[b].id="target_npaccordion"+e+"_"+a;d[b].setAttribute("rel",document.getElementById(d[b].id).offsetHeight);d[b].style.height="0px";d[b].className=f13.TargetClosed;if(!IE){d[b].style.width="100%"}d[b].style.overflow="hidden";a++}}return c===a};f13.AOpen=function(a){if(a==f13.LastOpened){f13.h0(f13.LastOpened);f13.LastOpened=null;return}if(f13.LastOpened){f13.h0(f13.LastOpened)}f13.LastOpened=a;$__(a.substring(7,a.length)).className=f13.HeadingOpened;$__(a).style.display="block";$__(a).className=f13.TargetOpened;slideDown(a,0,$__(a).getAttribute("rel"))};f13.h0=function(a){f13.ToClose=a;ResetAllSWFs();$__(a.substring(7,a.length)).className=f13.HeadingClosed;$__(a).className=f13.TargetClosed;slideUp(a,0)};f13.h0d=function(a){if(!IsIE6){$__(a).style.display="none"}$__(a).style.height="0px"};function f8(){}f8.Found=false;f8.ID="iframeform";f8.HolderID=f8.ID+"_holder";f8.StyleID="iframeformstyles";f8.LoaderID="iframeloader";f8.h3ID="iframetop";f8.h3ContentID="iframetopcontent";f8.h2=false;f8.URL=null;f8.g0=840;f8.g0Narrow=605;f8.h1=700;f8.h3Height=49;f8.LoaderWidth=32;f8.LoaderHeight=32;f8.LoadID=null;f8.LoadCheckInterval=100;f8.SlideHeight=f8.h1;f8.j1Warning=false;f8.WarningMessage="Are you sure you want to close this window without confirming your actions?";f8.MessageHolder="messageholder";f8.h0Flag="closeoverride";f8.AutoShow=false;f8.AutoShowInfo=function(){};f8.g1=function(){if(!f8.h5()){return false}if(!document.getElementsByTagName){return false}var b=getCleanQueryString();if(b){var a=b.split("&");f8.AutoShow=getValueFromQueryString("autoshow",a)=="true"?true:false}if(f8.h6()){createElement(null,null,"div",f8.HolderID);createElement(null,null,"div",f8.h0Flag);f8.h7(dynamicFormStyles);$__(f8.HolderID).innerHTML=dynamicFormObj;if($__(f8.ID)){f8.j5();$__(f8.ID).style.height="0px";f8.Found=true;f8.h9(true);if(f8.AutoShow&&f8.AutoShowInfo.href){f8.AOpen(f8.AutoShowInfo.href,f8.AutoShowInfo.width,f8.AutoShowInfo.height,f8.AutoShowInfo.warning,f8.AutoShowInfo.message)}return true}}return false};f8.h5=function(){var a=document.getElementsByTagName("a");for(var b=0;b<a.length;b++){if(a[b].className.indexOf("slidingwindow")>-1){return true}}return false};f8.j5=function(){var c=false;var d=document.getElementsByTagName("a");var g;var f;var h;var b;var a;for(var e=0;e<d.length;e++){if(d[e].className.indexOf("slidingwindow")>-1){g=d[e].className.indexOf("narrowslider")>-1?f8.g0Narrow:f8.g0;b=d[e].getAttribute("rev")?d[e].getAttribute("rev"):f8.h1;f=d[e].className.indexOf("showwarning")>-1?true:false;h=d[e].getAttribute("rel")?d[e].getAttribute("rel"):f8.WarningMessage;a=d[e].className.indexOf("autoshow")>-1?true:false;if(a){f8.AutoShowInfo.href=d[e].href;f8.AutoShowInfo.width=g;f8.AutoShowInfo.height=b;f8.AutoShowInfo.warning=f;f8.AutoShowInfo.message=h}if(d[e].href.indexOf("javascript:f8.AOpen")==-1){d[e].href='javascript:f8.AOpen("'+d[e].href+'",'+g+","+b+","+f+',"'+h+'");';c=true}}}return c};f8.AOpen=function(b,d,a,c,e){if(IsIE6){scroll(0,0);if(document.body.scrollHeight>$Height()){$__(coOverlay).style.height=document.body.scrollHeight+"px"}}f8.g0=d;f8.h1=a;f8.j1Warning=c;f8.WarningMessage=e;fadeIn(coOverlay,50);slideSteps=(getBrowser()!="msie"?35:45);f8.URL=b};f8.h9=function(c){var b=(($Width()/2)-(f8.g0/2));var a=(getBrowser()!="msie"?20:40)+f8.h3Height;f8.SlideHeight=$Height()<(f8.h1+a)?$Height()-a:f8.h1;if(f8.h2||c){$__(f8.ID).style.width=f8.g0+"px";$__(f8.ID).style.left=b+"px";$__(f8.h3ID).style.width=$__(f8.ID).style.width;$__(f8.h3ID).style.left=$__(f8.ID).style.left;b=($Width()/2)-(f8.LoaderWidth/2);var d=(f8.SlideHeight/2)-(f8.LoaderHeight/2);$__(f8.LoaderID).style.left=b+"px";$__(f8.LoaderID).style.top=d-a+"px"}if(f8.h2&&!c){$__(f8.ID).style.height=(f8.SlideHeight<300?300:f8.SlideHeight)+"px"}};f8.AOpened=function(){$__(f8.h3ContentID).style.visibility="visible";$__(f8.LoaderID).style.visibility="visible";$__(f8.ID).src=f8.URL;f8.h2=true;f8.j7(false)};f8.h0=function(){var b=$__(f8.h0Flag).innerHTML!=""?true:false;if(!b&&f8.j1Warning){var a=confirm(f8.WarningMessage);if(!a){return}}f8.h2=false;$__(f8.h3ContentID).style.visibility="hidden";$__(f8.ID).src=dynamicBlankLoader;f8.j8();slideUp(f8.ID,0)};f8.h6=function(){if(!$__(coOverlay)){createElement(null,null,"div",coOverlay)}if($__(coOverlay)){$__(coOverlay).style.display="none";return true}return false};f8.h7=function(d){var a=document.getElementsByTagName("head")[0];var c=document.createElement("style");c.setAttribute("type","text/css");if(c.styleSheet){c.styleSheet.cssText=d}else{var b=document.createTextNode(d);c.appendChild(b)}a.appendChild(c)};f8.j6=function(){var a=$__(f8.ID);if(a!=null){try{var c=getBrowser()!="msie"?a.contentDocument.body.innerHTML:document.frames[f8.ID].document.body.innerHTML;if(c.indexOf("<!-- LOADER -->")==-1){f8.j8()}}catch(b){f8.j8()}}};f8.j7=function(a){if(a){$__(f8.ID).src=dynamicBlankLoader}f8.LoadID=setInterval("f8.j6()",f8.LoadCheckInterval)};f8.j8=function(){clearInterval(f8.LoadID);$__(f8.LoaderID).style.visibility="hidden"};function VoucherCodes(){}VoucherCodes.AllowedList;VoucherCodes.Error="Please enter a valid voucher code";VoucherCodes.g1=function(){var a=$__("allowedVouchers");if(a){if(a.getAttribute("voucherError")){VoucherCodes.Error=a.getAttribute("voucherError")}VoucherCodes.AllowedList=new Array();VoucherCodes.AllowedList=VoucherCodes.GetAllowedVoucherCodes(a)}};VoucherCodes.GetAllowedVoucherCodes=function(d){if(!document.getElementsByTagName){return false}var a=new Array();if(!d){return a}var b=d.getElementsByTagName("div");for(var c=0;c<b.length;c++){a.push(b[c].getAttribute("voucher").toLowerCase())}return a};VoucherCodes.Validate=function(a){if(!$__(a)){return false}var b=$__(a).value;for(i=0;i<VoucherCodes.AllowedList.length;i++){if(VoucherCodes.AllowedList[i]==b.toLowerCase()){return"voucherID="+b.toLowerCase()}}alert(VoucherCodes.Error);return""};VoucherCodes.k1=function(b,a){if(VoucherCodes.Validate(a)){window.location.href=b}else{return false}};function f10(){var a=document.getElementsByTagName("a");var c;var b="journeyid=";var e=location.search.substring(1);if(e){for(var d=0;d<a.length;d++){if(a[d].getAttribute("href")){c=a[d].getAttribute("href").toLowerCase();if(c.indexOf(b)>-1){a[d].setAttribute("href",c+"&"+e)}else{if(a[d].className.indexOf("appendquery")>-1){a[d].setAttribute("href",c+((c.indexOf("?")>-1)?"&":"?")+e)}}}}}}function f9(){}f9.ForceHash=false;f9.Campaign="No Valid Campaign";f9.g1=function(){if(!document.getElementsByTagName){return}var e=getCleanQueryString();if(!e){return}var a=e.split("&");var c=f9.k4();var f=getValueFromQueryString("a",a);var d="";var g="";var b=-1;if(getValueFromQueryString("c",a)){b=getArrayIndexFromValue(getValueFromQueryString("c",a),0,c,true)}else{if(getValueFromQueryString("t",a)){b=getArrayIndexFromValue(getValueFromQueryString("t",a),1,c,true)}}if(f==""&&b==-1){return}if(b>-1){g=getArrayValueFromIndex(b,c,0);d=getArrayValueFromIndex(b,c,1)}if(g||d||f){f9.k2(d,g,f)}if(g){f9.Campaign=g}};f9.k2=function(a,c,b){f9.k3("div",a,c,b);f9.k3("span",a,c,b);f9.k3("a",a,c,b)};f9.k3=function(a,e,g,f){var b=document.getElementsByTagName(a);for(var d=0;d<b.length;d++){if(b[d].className.match("setNumber")&&e!=""){b[d].innerHTML=e}if(b[d].className.match("setCampaign")&&a!="a"&&g!=""){b[d].innerHTML=g}if(b[d].className.match("setCampaign")&&b[d].getAttribute("href")&&a=="a"){var c=true;if(b[d].href.indexOf("?")==-1&&(g!=""||f!="")){b[d].href+="?";c=false}if(g!=""){b[d].href+=c?"&campaign="+g:"campaign="+g}if(f!=""){b[d].href+=(b[d].href.indexOf("campaign")>-1)?"&affiliate="+f:(c?"&affiliate="+f:"affiliate="+f)}if(f9.ForceHash){b[d].href=b[d].href.replace("?","#")}}}};f9.k4=function(){if(!document.getElementsByTagName){return false}var d=$__("allowedCampaigns");var a=new Array();if(!d){return a}var b=d.getElementsByTagName("div");for(var c=0;c<b.length;c++){a.push(b[c].getAttribute("campaign")+","+b[c].getAttribute("telephone"))}if(d.getAttribute("forceHash")&&d.getAttribute("forceHash").toLowerCase()=="true"){f9.ForceHash=true}return a};function f2(){var a=document.location.href;if(a.indexOf("http://npower.com/")==0){document.location.href="http://www."+a.substring(7,a.length)}}function f12(){if(!document.getElementsByTagName){return false}var c=document.getElementsByTagName("div");var b=0;var e=getFlashVersion();var a=true;for(var f=0;f<c.length;f++){if(c[f].className.match("flashmovie")){if(!c[f].getAttribute("flashSRC")||!c[f].getAttribute("flashHeight")||!c[f].getAttribute("flashWidth")){errMsg+=coMsgSeparator+"ERROR: flash tag is not complete";break}c[f].setAttribute("id","___flash_ident_"+b);b++;var d="false";if(c[f].getAttribute("allowFullScreen")=="true"){d="true"}if(c[f].getAttribute("flashVersionCheck")&&!c[f].getAttribute("flashVersionCheck").isNaN){if(e<c[f].getAttribute("flashVersionCheck")*1){a=false}}if(a){var g=flashObj.replaceAll("{s}",c[f].getAttribute("flashSRC"));g=g.replaceAll("{w}",c[f].getAttribute("flashWidth"));g=g.replaceAll("{h}",c[f].getAttribute("flashHeight"));g=g.replaceAll("{id}",c[f].id+"_obj");g=g.replaceAll("{afs}",d)}else{var g=noFlash.replaceAll("{v}",c[f].getAttribute("flashVersionCheck"))}$__(c[f].id).innerHTML=g}}}function f16(){if(!document.getElementsByTagName){return false}var b;var a=0;var d=null;for(j=0;j<3;j++){if(j==0){b=document.getElementsByTagName("div")}else{if(j==1){b=document.getElementsByTagName("h4")}else{if(j==2){b=document.getElementsByTagName("h3")}}}for(var e=0;e<b.length;e++){if(b[e].className=="tnc"&&j==0){b[e].setAttribute("id","___tnc_ident_"+a);d="___tnc_ident_"+a;a++;lastTNCID[0]=d;var c=location.href.toLowerCase();if(c.indexOf("#tnc")==-1){b[e].style.display="none"}}if(b[e].className.match("tnc")&&(j==1||j==2)){if(!b[e].id){b[e].setAttribute("id","___link_ident_"+a)}lastTNCID[1]="___link_ident_"+a;a++;$__(b[e].id).setAttribute("revealerSwapID",d);$__(b[e].id).onmouseup=function(){reveal(this.getAttribute("id"),this.getAttribute("revealerSwapID"),"tnc",null,true);return false}}}}}function showTNC(a){reveal(lastTNCID[1],lastTNCID[0],null,null,true)}var lastOpenedBox="";var lastImgSwap=new Array();function f15(){if(!document.getElementsByTagName){return false}var m;var d=0;var b=0;var f;var q;var h=0;var g=0;var n="";var e=false;var l=null;var a=new Array();var k=new Array();var p=null;var c=true;var u=new Image();u.src=coRevTopSwap;var t=new Image();t.src=coRevBtnSwap;var s=new Image();s.src=coRevTopSwapWide;var r=new Image();r.src=coRevTopSwapSuperWide;for(j=0;j<4;j++){if(j==0){m=document.getElementsByTagName("a")}else{if(j==1){m=document.getElementsByTagName("span")}else{if(j==2){m=document.getElementsByTagName("div")}else{if(j==3){m=document.getElementsByTagName("img")}}}}for(var o=0;o<m.length;o++){if(m[o].className.match("revealer")){e=false;p=null;c=true;if(!m[o].id){m[o].setAttribute("id","___revealer_ident_"+b)}if(b>0){m[o].style.marginTop="-5px"}if(b==h&&h>0){m[o].style.marginBottom="10px"}if(m[o].getAttribute("revealerWide")){n="wide"}if(m[o].getAttribute("revealerSuperWide")){n="superwide"}if(m[o].getAttribute("revealerPlain")){e=true}if(m[o].getAttribute("revealerDefault")){l=m[o].id}if(m[o].getAttribute("revealerTooltip")){p=m[o].getAttribute("revealerTooltip")}if(m[o].getAttribute("revealerFullClick")){c=getBool(m[o].getAttribute("revealerFullClick"))}f=m[o].id;b++;g=o}if(m[o].className.match("revealHeading")){if(!m[o].id){m[o].setAttribute("id","___button_ident_"+d);m[o].setAttribute("revealID","___target_ident_"+d);q="___target_ident_"+d}d++;createElement(m[o].id,false,"img",m[o].id+"_button");$__(m[o].id+"_button").className="revealButton";$__(m[o].id+"_button").src=coRevBtnNorm;$__(m[o].id+"_button").setAttribute("revealerSwapID",m[o].getAttribute("revealID"));$__(m[o].id+"_button").setAttribute("revealerAutoClose",m[o].getAttribute("revealerAutoClose"));$__(m[o].id+"_button").setAttribute("revealerParent",f);$__(m[o].id+"_button").setAttribute("revealerPlain",e);if(p){$__(m[o].id+"_button").setAttribute("revealerTooltip",p)}$__(m[o].id+"_button").onclick=function(){reveal(this.getAttribute("id"),this.getAttribute("revealerSwapID"),this.getAttribute("revealerParent"),this.getAttribute("revealerAutoClose"),false,n,this.getAttribute("revealerPlain"));return false};if(l==f){a[0]=m[o].id+"_button";a[1]=m[o].getAttribute("revealID");a[2]=f;a[3]=m[o].getAttribute("revealerAutoClose")}k[0]=m[o].id+"_button";k[1]=m[o].getAttribute("revealID");k[2]=f;k[3]=m[o].getAttribute("revealerAutoClose")}if(m[o].className.match("source")){if(!m[o].id){m[o].setAttribute("id","___source_ident_"+d)}if(c){m[o].setAttribute("revealerBtnID",k[0]);m[o].setAttribute("revealerSwapID",k[1]);m[o].setAttribute("revealerParent",k[2]);m[o].setAttribute("revealerAutoClose",k[3]);m[o].onmouseup=function(){reveal(this.getAttribute("revealerBtnID"),this.getAttribute("revealerSwapID"),this.getAttribute("revealerParent"),this.getAttribute("revealerAutoClose"),false,n,e);return false}}}if(m[o].className.match("target")){if(!m[o].id){m[o].setAttribute("id",q)}if(e){$__(m[o].id).style.background="none";$__(m[o].id).style.padding="0px";$__(m[o].id).style.width="100%"}else{createElement(m[o].id,null,"div",m[o].id+"_bottom");$__(m[o].id+"_bottom").className="revealBottom"}m[o].style.display="none"}}}if(l!=null){reveal(a[0],a[1],a[2],a[3],false,n,e,true)}}function reveal(h,c,g,e,b,a,d,f){e=false;resetSWF("___flash_ident_"+lastOpenedBox.substring(lastOpenedBox.lastIndexOf("_")+1)+"_obj");if($__(c).style.display!="block"){$__(c).style.display="block";if(lastOpenedBox&&(lastOpenedBox!=c)&&!e&&!b){$__(lastOpenedBox).style.display="none";setImage(lastImgSwap[0],c,g,false,b,a,d)}if(!e&&!b){lastOpenedBox=c;lastImgSwap[0]=h}setImage(h,c,g,true,b,a,d);if(!f){document.location.href="#"+g;document.title=dTitle}}else{$__(c).style.display="none";setImage(h,c,g,false,b,a,d)}}function setImage(f,d,l,h,a,b,g){var e=coRevTopNorm;var k=getBool(g)?coRevTopNorm:coRevTopSwap;var c=getBool(g)?coRevBtnSwapClean:coRevBtnSwap;if(b=="wide"){e=coRevTopNormWide;k=getBool(g)?coRevTopNormWide:coRevTopSwapWide}else{if(b=="superwide"){e=coRevTopNormSuperWide;k=getBool(g)?coRevTopNormSuperWide:coRevTopSwapSuperWide}}if(a){return}if(h){$__(f).src=c;$__(l).style.background="url("+k+") no-repeat"}else{$__(f).src=coRevBtnNorm;$__(l).style.background="url("+e+") no-repeat"}}function f19(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("a");var d=0;var e=getServer();for(var b=0;b<a.length;b++){if(a[b].getAttribute("href")&&a[b].getAttribute("href").indexOf("9003#")>-1){a[b].setAttribute("href",a[b].getAttribute("href").replace(/9003#/,"#"));d++}}if(d>0&&e!="TEST_CONSUMPTION"&&e!="LIVE_CONSUMPTION"){var c;if(d==1){c="instance"}else{c="instances"}errMsg+=coMsgSeparator+"WARNING!! This page contains ["+d+"] "+c+" of 9003# links.\n\nThese have been removed for testing purposes but please\nremove them from the XML before putting this page live!\n\nThis message will not appear on consumption servers."}}var coTooltipWindow="tooltip_window";var coBoxWidth=300;var coBackColor="#fff9ce";var coForeColor="#60563f";var coUnderline="#916e1a";var coBodyPadding="10px";var coHeadingStyle="background-color:"+coForeColor+";color:"+coBackColor+";height:20px;padding:5px 10px 0px 10px;font-size:12px;font-weight:bold;";var IE=document.all?true:false;var mouseX=0;var mouseY=0;function showTooltip(tBody,tHead,tPos){if(tBody){var tRender;if(tHead){tRender="<div style='"+coHeadingStyle+"'>"+tHead+"</div><div style='padding:"+coBodyPadding+";'>"+tBody+"</div>"}else{tRender="<div style='padding:"+coBodyPadding+";'>"+tBody+"</div>"}$__(coTooltipWindow).innerHTML=tRender;if(tPos==coToolPosLeft){$__(coTooltipWindow).style.top=mouseY-$__(coTooltipWindow).offsetHeight+"px"}else{if(eval(mouseY+10+$__(coTooltipWindow).offsetHeight)>=$Height()||tPos==coToolPosTop){$__(coTooltipWindow).style.top=mouseY-$__(coTooltipWindow).offsetHeight-10+"px"}else{$__(coTooltipWindow).style.top=mouseY+10+"px"}}if(tPos==coToolPosLeft){$__(coTooltipWindow).style.left=mouseX-coBoxWidth-16+"px"}else{if(eval(mouseX+16+coBoxWidth)>=$Width()||tPos==coToolPosTop){$__(coTooltipWindow).style.left=mouseX-coBoxWidth-16+"px"}else{$__(coTooltipWindow).style.left=mouseX+16+"px"}}$__(coTooltipWindow).style.visibility="visible"}else{$__(coTooltipWindow).style.visibility="hidden"}}function f17(){captureMouse();if(!document.getElementsByTagName){return false}var b;var d;var a=0;for(j=0;j<5;j++){if(j==0){b=document.getElementsByTagName("a");d=true}else{if(j==1){b=document.getElementsByTagName("span");d=false}else{if(j==2){b=document.getElementsByTagName("div");d=false}else{if(j==3){b=document.getElementsByTagName("h3");d=false}else{if(j==4){b=document.getElementsByTagName("h4");d=false}}}}}for(var c=0;c<b.length;c++){if(b[c].className.match("tooltip")){b[c].onmouseover=function(){showTooltip(this.getAttribute("tooltip"),this.getAttribute("tooltipHeading"));return false};b[c].onmouseout=function(){showTooltip();return false};if(!b[c].id){b[c].setAttribute("id","___tooltip_ident_"+a)}a++;if(b[c].id&&b[c].getAttribute("tooltipUnderline")!="false"){if(b[c].getAttribute("tooltipUnderline")=="thick"){$__(b[c].id).style.borderBottom="2px dashed "+coUnderline}else{$__(b[c].id).style.borderBottom="1px dashed "+coUnderline}if(!d){$__(b[c].id).style.cursor="default"}}if(b[c].getAttribute("alt")){b[c].setAttribute("alt","")}if(b[c].getAttribute("title")){b[c].setAttribute("title","")}}}}if(a>0){createElement(null,null,"div",coTooltipWindow,"hidden","absolute",coBoxWidth+"px",null,"visible",coBackColor,null,"verdana","12px",coForeColor,"1px solid "+coForeColor);changeOpacity(90,coTooltipWindow)}}function createElement(c,k,e,d,r,b,p,f,s,q,a,l,n,m,o){var g=document.createElement(e);g.setAttribute("id",d);if(r){g.style.visibility=r}if(b){g.style.position=b}if(p){g.style.width=p}if(f){g.style.height=f}if(s){g.style.overflow=s}if(q){g.style.background=q}if(a){g.style.padding=a}if(l){g.style.fontFamily=l}if(n){g.style.fontSize=n}if(m){g.style.color=m}if(o){g.style.border=o}g.style.display="block";if(c){if(k){$__(c).insertBefore(g,null)}else{$__(c).appendChild(g)}}else{document.body.appendChild(g)}}function addOption(b,c,d){var a=document.createElement("option");a.text=c;a.value=d;b.options.add(a)}function captureMouse(){if(!IE){document.captureEvents(Event.MOUSEMOVE)}document.onmousemove=getMouseXY}function getStyle(c,b){if(!c){return null}var a=$__(c);if(a.currentStyle){var d=a.currentStyle[b]}else{if(window.getComputedStyle){var d=document.defaultView.getComputedStyle(a,null).getPropertyValue(b)}}return d}function getMouseXY(a){if(IE){mouseX=event.clientX+document.documentElement.scrollLeft;mouseY=event.clientY+document.documentElement.scrollTop}else{mouseX=a.pageX;mouseY=a.pageY}if(mouseX<0){mouseX=0}if(mouseY<0){mouseY=0}}function changeOpacity(c,a){var b=document.getElementById(a).style;b.opacity=(c/100);b.MozOpacity=(c/100);b.KhtmlOpacity=(c/100);b.filter="alpha(opacity="+c+")"}function f4(){if(!document.getElementsByTagName){return false}var a=document.getElementsByTagName("a");var c;var d;for(var b=0;b<a.length;b++){if(a[b].className.match("launch_popup")){if(a[b].rel){a[b].onclick=function(){showPlatform(this.getAttribute("rel"),this.getAttribute("popupWidth"),this.getAttribute("popupHeight"),this.getAttribute("popupScrollbars"));return false}}else{a[b].setAttribute("link",a[b].href);a[b].onclick=function(){showPlatform(this.getAttribute("link"),this.getAttribute("popupWidth"),this.getAttribute("popupHeight"),this.getAttribute("popupScrollbars"));return false}}}}}function showPlatform(theURL,theWidth,theHeight,theScroll){var theArgs;var theBrowser=getBrowser();var w=940;var h=650;var scroll="";if(parseInt(theWidth)>0){w=theWidth}if(parseInt(theHeight)>0){h=theHeight}if(theScroll=="true"){scroll=",scrollbars"}if(theBrowser=="msie"){theArgs="width="+eval(w-2)+",height="+eval(h-4)}else{if(theBrowser=="mozilla"){theArgs="width="+w+",height="+h}else{if(theBrowser=="safari"){theArgs="width="+w+",height="+h}else{theArgs="width="+w+",height="+h}}}var l=(screen.width/2)-(w/2);var t=(screen.height/2)-(h/2);theArgs=theArgs+scroll+",left="+l+",top="+t;window.open(theURL,"sm",theArgs)}function getBrowser(){var a=navigator.userAgent.toLowerCase();var b;if(a.indexOf("opera")!=-1){b="opera"}else{if(a.indexOf("msie")!=-1){b="msie"}else{if(a.indexOf("safari")!=-1){b="safari"}else{if(a.indexOf("mozilla")!=-1){b="mozilla"}}}}return b}function f1(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("msie 6")!=-1){return true}return false}function f3(){if(!document.getElementsByTagName){return false}var c=document.getElementsByTagName("a");for(var e=0;e<c.length;e++){if(c[e].className.match("popup")){c[e].setAttribute("link",c[e].href);c[e].onclick=function(){window.open(this.getAttribute("link"),"","width=776,height=600,scrollbars,resizable,status");return false}}if(c[e].className.match("popup2")){c[e].onclick=function(){window.open(this.href,"","width=776,height=460,scrollbars,resizable,status");return false}}if(c[e].className.match("popup_video")){c[e].onclick=function(){window.open(this.href,"","width=320,height=280");return false}}if(c[e].className.match("popup_thin")){c[e].onclick=function(){window.open(this.href,"","width=800,height=460");return false}}if(c[e].className.match("popup_image")){c[e].onclick=function(){window.open(this.href,"","width=720,height=410");return false}}if(c[e].className.match("popup_sbr")){var b=273;var f=435;var a=(screen.width/2)-(b/2);var d=(screen.height/2)-(f/2);c[e].onclick=function(){window.open(this.href,"","width="+b+",height="+f+",left="+a+",top="+d+",resizable,status");return false}}if(c[e].className.match("popup_htw")){c[e].onclick=function(){window.open(this.href,"","width=512,height=329");return false}}if(c[e].className.match("popup_education")){c[e].onclick=function(){window.open(this.href,"","width=600,height=375");return false}}if(c[e].className.match("popup_howto")){var b=506;var f=350;var a=(screen.width/2)-(b/2);var d=(screen.height/2)-(f/2);c[e].onclick=function(){window.open(this.href,"","width="+b+",height="+f+",left="+a+",top="+d+",resizable,status");return false}}}}function $__(a){return document.getElementById(a)}function $Height(){return $WinSize()[1]}function $Width(){return $WinSize()[0]}function $WinSize(){var b,a,c=document;if(typeof window.innerWidth!="undefined"){b=window.innerWidth;a=window.innerHeight}else{if(c.documentElement&&typeof c.documentElement.clientWidth!="undefined"&&c.documentElement.clientWidth!=0){b=c.documentElement.clientWidth;a=c.documentElement.clientHeight}else{if(c.body&&typeof c.body.clientWidth!="undefined"){b=c.body.clientWidth;a=c.body.clientHeight}}}return[b,a]}function getScrollXY(){var a=0,b=0;if(typeof(window.pageYOffset)=="number"){a=window.pageXOffset;b=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){a=document.body.scrollLeft;b=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){a=document.documentElement.scrollLeft;b=document.documentElement.scrollTop}}}return[a,b]}function f21(){var a=getServer();if(errMsg&&(a=="DEV"||a=="TEST_CONTRIBUTION"||a=="LIVE_CONTRIBUTION")){alert("THE FOLLOWING ERRORS WERE FOUND:"+errMsg)}}function getServer(){var a=document.location.href;if(a.indexOf("kfkws03d")>-1){return"DEV"}else{if(a.indexOf("62.190.34.16")>-1||a.indexOf("80.169.44.")>-1){return"TEST_CONSUMPTION"}else{if(a.indexOf("172.19.19.44")>-1||a.indexOf("10.52.17.37")>-1){return"TEST_CONTRIBUTION"}else{if(a.indexOf("npower.com")>-1){return"LIVE_CONSUMPTION"}else{if(a.indexOf("10.52.17.5")>-1||a.indexOf("10.52.17.6")>-1){return"LIVE_CONTRIBUTION"}}}}}}String.prototype.replaceAll=function(b,c){var a=new RegExp(b,"gi");return this.replace(a,c)};Number.prototype.noSpaces=function(){return this.replace(/(\s|%20)/g,"")};String.prototype.noSpaces=function(){return this.replace(/(\s|%20)/g,"")};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};Array.prototype.indexOf=function(b){for(var a=0;a<this.length;a++){if(this[a]==b){return a}}return -1};function getBool(a){if(a=="true"||a==true){return true}else{return false}}function getValueFromQueryString(d,c){var b;for(var a=0;a<c.length;a++){b=c[a].split("=");if(b[0].toLowerCase()==d.toLowerCase()){return unescape(b[1])}}return""}function getCleanQueryString(){var b=location.search.substring(1);if(!b&&location.href.indexOf("#")>-1){var a=location.href.lastIndexOf("#")>location.href.indexOf("#")?location.href.lastIndexOf("#"):location.href.length;b=location.href.substring(location.href.indexOf("#")+1,a)}return b}function getArrayIndexFromValue(f,d,c,g){for(var e=0;e<c.length;e++){var b=c[e].split(",");if(g){if(b[d].noSpaces().toLowerCase()==f.noSpaces().toLowerCase()){return e}}else{if(b[d].toLowerCase()==f.toLowerCase()){return e}}}return -1}function getArrayValueFromIndex(d,c,e){if(d>c.length){return""}var b=c[d].split(",");if(e>b.length){return""}return b[e]}function XMLFactory(){}XMLFactory.GetDataFromURL=function(a,d,f){var b;if(window.XMLHttpRequest){if(!IsIE){b=new XMLHttpRequest();if(b.overrideMimeType){b.overrideMimeType("text/xml")}}else{b=new ActiveXObject("Msxml2.XMLHTTP")}}else{if(window.ActiveXObject){try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{b=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}}if(!b){return false}b.onreadystatechange=function(){XMLFactory.i6Contents(b,d,f)};b.open("GET",a,true);b.send("")};XMLFactory.i6Contents=function(a,b,c){if(a.readyState==4){if(a.status==200||a.status==0){b(a.responseText,c)}else{b("",c,a.status)}}};function getFlashVersion(){try{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{a.AllowScriptAccess="always"}catch(b){return"6"}}catch(b){}return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",").shift()}catch(b){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",").shift()}}catch(b){}}return"0"}function ResetAllSWFs(){for(var a=0;a<100;a++){if($__("___flash_ident_"+a+"_obj")){resetSWF("___flash_ident_"+a+"_obj")}else{break}}}function resetSWF(a){if($__(a)&&IE){try{$__(a).TGotoLabel("_root","reset")}catch(b){}}}function endSlideDown(a){if(a==f8.h3ID){slideDown(f8.ID,f8.g0,(f8.SlideHeight<300?300:f8.SlideHeight))}else{if(a==f8.ID){f8.AOpened()}}}function endSlideUp(a){if(a==f8.ID){$__(f8.ID).style.visibility="hidden";slideUp(f8.h3ID,0)}else{if(a==f8.h3ID){$__(f8.h3ID).style.visibility="hidden";fadeOut(coOverlay,0);f8.URL=null}else{if(a==f13.ToClose){f13.h0d(f13.ToClose)}}}}function endSlideLeft(a){}function endSlideRight(a){}var slideDownID=new Array();var slideUpID=new Array();var slideLeftID=new Array();var slideRightID=new Array();var slidePos=new Array();var slideInterval=10;var slideSteps=25;function slideUp(a,b){slidePos[a]=getNoPxVal($__(a).style.height);slideUpID[a]=setInterval("doSlide('"+a+"','Up',"+b+")",slideInterval)}function slideDown(b,a,c){$__(b).style.width=(a==0)?"100%":a+"px";$__(b).style.visibility="visible";slidePos[b]=-1;slideDownID[b]=setInterval("doSlide('"+b+"','Down',"+c+")",slideInterval)}function slideLeft(b,a,c){if(slidePos[b]&&slidePos[b]!=-1){return}$__(b).style.left=c+"px";slidePos[b]=-1;slideLeftID[b]=setInterval("doSlide('"+b+"','Left',"+a+","+c+")",slideInterval)}function slideRight(b,a,c){if(slidePos[b]&&slidePos[b]!=-1){return}$__(b).style.left=c+"px";slidePos[b]=-1;slideRightID[b]=setInterval("doSlide('"+b+"','Right',"+a+","+c+")",slideInterval)}function doSlide(b,a,e,d){var c=$__(b).style;if(slidePos[b]==-1){if(a=="Up"){slidePos[b]=parseInt(e)}else{if(a=="Down"){slidePos[b]=0}else{if(a=="Left"||a=="Right"){slidePos[b]=d}}}}if(!c.visibility&&a=="Down"){c.visibility="visible"}if(a=="Down"||a=="Right"){slidePos[b]=slidePos[b]+slideSteps}else{if(a=="Up"||a=="Left"){slidePos[b]=slidePos[b]-slideSteps}}if(slidePos[b]>=e&&a=="Down"){clearInterval(slideDownID[b]);c.height=e+"px";slidePos[b]=-1;endSlideDown(b)}else{if(slidePos[b]<=0&&a=="Up"){clearInterval(slideUpID[b]);c.width="0px";slidePos[b]=-1;endSlideUp(b)}else{if(slidePos[b]>=d+e&&a=="Right"){clearInterval(slideRightID[b]);c.left=String(d+e)+"px";slidePos[b]=-1;endSlideRight(b)}else{if(slidePos[b]<=d-e&&a=="Left"){clearInterval(slideLeftID[b]);c.left=String(d-e)+"px";slidePos[b]=-1;endSlideLeft(b)}else{if(a=="Down"||a=="Up"){c.height=slidePos[b]+"px"}else{c.left=slidePos[b]+"px"}}}}}}function endFadeIn(a){if(a==coOverlay&&f8.URL){f8.j7(true);f8.h9(true);$__(f8.h3ID).style.height="0px";slideDown(f8.h3ID,f8.g0,f8.h3Height)}}function endFadeOut(a){}var fadeInID=new Array();var fadeOutID=new Array();var fadeInterval=IsIE?10:2;var fadeSteps=IsIE?10:8;function fadeIn(b,a){$__(b).style.visibility="hidden";$__(b).style.display="block";changeOpacity(0,b);$__(b).style.visibility="visible";fadeInID[b]=setInterval("doFade('"+b+"','In','"+a+"')",fadeInterval)}function fadeOut(b,a){fadeOutID[b]=setInterval("doFade('"+b+"','Out','"+a+"')",fadeInterval)}function doFade(c,b,a){var d=parseFloat(document.getElementById(c).style.opacity);if(isNaN(d)){if(b=="In"){d=0}else{d=1}}d=d*100;if((d>=a&&b=="In")||(d<=a&&b=="Out")){if(b=="In"){clearInterval(fadeInID[c]);endFadeIn(c)}else{if(b=="Out"){clearInterval(fadeOutID[c]);if(a==0){$__(c).style.visibility="hidden";$__(c).style.display="none"}endFadeOut(c)}}}else{if(b=="In"){if(IsIE&&!IsIE6){$__(c).style.visibility="hidden";$__(c).style.visibility="visible"}d=d+decelerate(d,a,fadeSteps)}else{d=d-fadeSteps}changeOpacity(d,c)}}function changeOpacity(c,a){var b=document.getElementById(a).style;b.opacity=(c/100);b.MozOpacity=(c/100);b.KhtmlOpacity=(c/100);b.filter="alpha(opacity="+c+")"}function decelerate(b,c,a){if(b>c*0.6){return a-(b/c)}else{return a}}function getNoPxVal(a){if(a.indexOf("px")>-1){return parseInt(a.substring(0,a.length-2))}else{return parseInt(a)}}function addEvent(c,b){var a=b;if(typeof b!="function"){b=c}else{b=function(){a();if(c){c()}}}}var JSON=JSON||{};JSON.stringify=JSON.stringify||function(e){var d=typeof(e);if(d!="object"||e===null){if(d=="string"){e='"'+e+'"'}return String(e)}else{var f,b,c=[],a=(e&&e.constructor==Array);for(f in e){b=e[f];d=typeof(b);if(d=="string"){b='"'+b+'"'}else{if(d=="object"&&b!==null){b=JSON.stringify(b)}}c.push((a?"":'"'+f+'":')+String(b))}return(a?"[":"{")+String(c)+(a?"]":"}")}};
