function ClearDebug(){var a=document.getElementById("debuglist");if(a){a.options.length=0}}function AddDebug(b){var d=document.getElementById("debuglist");if(d){var c=document.createElement("option");c.text=b;try{d.add(c,null)}catch(a){d.add(c)}}}function convertToAbsoluteURL(b,a){b=b.substr(0,b.lastIndexOf("/")+1);a=a.replace(/^\.\//,"");while(a.substr(0,3)=="../"){b=b.substr(0,b.substr(0,b.length-1).lastIndexOf("/")+1);a=a.substr(3)}return b+a}if(typeof ste=="undefined"){var ste={}}ste._protogeneral=function(){this._currentid="";this.checkDefaultParams=function(a){if(typeof a.type=="undefined"){a.type=""}if(typeof a.id=="undefined"){a.id=""}if(typeof a.path=="undefined"){a.path=""}if(typeof a.lang=="undefined"){a.lang=""}return true};this.getTempSObject=function(b){var a={};a.linkLeaveQueryString=false;a.linkTrackVars="prop11,prop14,prop15,prop19,prop20,prop28,prop29,prop30,eVar7,eVar11,eVar13,eVar19,eVar20";a.linkTrackEvents="None";a.events="";a.prop11=s.prop11;a.prop14=b.lang?b.lang:s.prop14;a.prop15=b.type;a.prop19=a.eVar19=s.prop19;a.prop20=s.prop20;return a};this.addLinkEvent=function(b,a){AddDebug("Adding manual event: "+b);AddLinkEvent(b,a)};this.download=function(b){if(!this.checkDefaultParams(b)){return false}if(typeof b.url=="undefined"||b.url===""){return false}if(!b.url.match(/^[A-Za-z]+:\/\//)){b.url=convertToAbsoluteURL(location.href,b.url)}AddDebug(".download:: "+b.url);AddDebug(">>> id: "+b.id+" // type: "+b.type+" // lang: "+b.lang);AddDebug(">>> path: "+b.path+" // name: "+b.name+" // url: "+b.url);var a={};a.href=b.url;s.tl(a,"","",this.getTempSObject(b))};this.exit=function(b){if(!this.checkDefaultParams(b)){return false}if(typeof b.url=="undefined"||b.url===""){return false}AddDebug(".exit:: "+b.url);AddDebug(">>> id: "+b.id+" // type: "+b.type+" // lang: "+b.lang);AddDebug(">>> path: "+b.path+" // name: "+b.name+" // url: "+b.url);var a={};a.href=b.url;s.tl(a,"","",this.getTempSObject(b))};this.mailto=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var b="mailto:"+c.name;AddDebug(".mailto:: "+b);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var a={};a.href=b;s.tl(a,"","",this.getTempSObject(c))};this.optin=function(d){if(!this.checkDefaultParams(d)){return false}if(typeof d.name=="undefined"){d.name=""}var b="opt-in:";if(d.type){b+=d.type+"|"}if(d.id){b+=d.id+"|"}if(d.path){b+=d.path+"|"}if(d.name.length>0){if(b.substr(b.length-1)!="|"){b+="|"}b+=d.name}AddDebug(".optin:: "+b);AddDebug(">>> id: "+d.id+" // type: "+d.type+" // lang: "+d.lang);AddDebug(">>> path: "+d.path+" // name: "+d.name+" // url: "+d.url);var c=this.getTempSObject(d);if(d.url){var a={};a.href=d.url;s.tl(a,"","",this.getTempSObject(d))}else{this.addLinkEvent("event5",c);s.tl(true,"o",b,c)}};this.listento=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a="listento:";if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(c.name.length>0){if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}AddDebug(".listento:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event20",b);s.tl(true,"o",a,b)};this.contactform=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a="contactform:";if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(c.name.length>0){if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}AddDebug(".contactform:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event33",b);s.tl(true,"o",a,b)};this.contactform_h=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a="contactform-h:";if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(c.name.length>0){if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}AddDebug(".contactform_h:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event18",b);s.tl(true,"o",a,b)};this.searchterm=function(b){if(!this.checkDefaultParams(b)){return false}if(typeof b.name=="undefined"){b.name=""}AddDebug("Default::Searchterm: "+b.name);AddDebug(">>> id: "+b.id+" // type: "+b.type+" // lang: "+b.lang);AddDebug(">>> path: "+b.path+" // name: "+b.name+" // url: "+b.url);var a=this.getTempSObject(b);a.linkTrackVars=(typeof s.linkTrackVars=="undefined"||s.linkTrackVars=="None"||s.linkTrackVars=="")?"prop21,eVar2,prop15":a.linkTrackVars+",prop21,eVar2,prop15";a.prop15="sitesearch";a.prop21=a.eVar2=CleanText(b.name);s.tl(true,"o","sitesearch",a)}};if(typeof ste.general=="undefined"){ste.general=new ste._protogeneral()}if(typeof ste.flash=="undefined"){ste.flash=new ste._protogeneral()}ste.flash.checkDefaultParams=function(a){if(typeof a.type=="undefined"){a.type=""}if(typeof a.id=="undefined"){a.id=""}if(typeof a.path=="undefined"){a.path=""}if(typeof a.lang=="undefined"){a.lang=""}if(a.type.length==0||a.id.length==0){AddDebug("ste.flash.checkDefaultParams failed");return false}return true};ste.flash.getTempSObject=function(b){var a={};a.linkLeaveQueryString=false;a.linkTrackVars="prop11,prop14,prop15,prop19,prop20,prop28,prop29,prop30,eVar7,eVar11,eVar13,eVar19,eVar20";a.linkTrackEvents="None";a.events="";a.prop11=s.prop11;a.prop14=b.lang?b.lang:s.prop14;a.prop15=b.type;a.prop19=a.eVar19=s.prop19;a.prop20=s.prop20;if(!this._currentid){this._currentid=b.id;this.addLinkEvent("event32",a)}return a};ste.flash.page=function(c){if(!this.checkDefaultParams(c)){return false}if(c.path.length==0&&c.name.length==0){AddDebug("name or path must be set");return false}if(typeof c.name=="undefined"){c.name=""}var a=c.type+"|"+c.id;if(c.path.length>0){a+="|"+c.path}if(c.name.length>0){a+="|"+c.name}AddDebug(".page:: "+a);AddDebug(">>> cid: "+this._currentid);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1";b.hier1=c.type+"|"+c.id;b.hier1+=c.path?"|"+c.path:"";b.hier1+=c.name?"|"+c.name:"";s.tl(true,"o",c.type+"|"+c.id,b)};ste.flash.link=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.url=="undefined"){c.url=""}if(typeof c.name=="undefined"){c.name=""}if(c.url===""&&c.name===""){return false}var a="link:";if(c.name.length>0){if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}else{a+=c.url}AddDebug(".link:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event6",b);s.tl(true,"o",a,b)};ste.flash.rss=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.url=="undefined"){c.url=""}if(typeof c.name=="undefined"){c.name=""}if(c.url===""&&c.name===""){return false}var a="rss:";if(c.name.length>0){if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}else{a+=c.url}AddDebug(".rss:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event34",b);s.tl(true,"o",a,b)};ste.flash.share=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.url=="undefined"){c.url=""}if(typeof c.name=="undefined"){c.name=""}if(c.url===""&&c.name===""){return false}var a="share:";if(c.name.length>0){if(c.type){a+=c.type+"|"}if(c.id){a+=c.id+"|"}if(c.path){a+=c.path+"|"}if(a.substr(a.length-1)!="|"){a+="|"}a+=c.name}else{a+=c.url}AddDebug(".share:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);this.addLinkEvent("event35",b);s.tl(true,"o",a,b)};if(typeof ste.video=="undefined"){ste.video={}}if(typeof ste.flash.video=="undefined"){ste.flash.video=ste.video}ste.video._getVideoName=function(b){var a="";if(b.type){a+=b.type+"|"}if(b.id){a+=b.id+"|"}if(b.path){a+=b.path+"|"}if(b.name.length>0){if(a.substr(a.length-1)!="|"){a+="|"}a+=b.name}return a};ste.video.open=function(a){};ste.video.play=function(a){};ste.video.stop=function(a){};ste.video.close=function(a){};if(typeof ste.PF=="undefined"){ste.PF={}}ste.PF._currenttab="";ste.PF._nrofclicks=0;ste.PF._nrofexits=0;ste.PF._getTabName=function(a){var b="";if(a.indexOf("|")!=-1){b=a.substring(0,a.indexOf("|"))}else{b=a}return b};ste.PF.getTempSObject=function(b){var a={};a.linkLeaveQueryString=false;a.linkTrackVars="prop11,prop14,prop15,prop19,prop20,prop28,prop29,prop30,eVar7,eVar11,eVar13,eVar19,eVar20";a.linkTrackEvents="None";a.events="";a.prop11=s.prop11;a.prop14=b.lang?b.lang:s.prop14;a.prop15=b.type;a.prop19=a.eVar19=s.prop8.toLowerCase()+"|"+b.type.toLowerCase();a.prop20=s.prop20;return a};ste.PF.checkDefaultParams=function(a){a.type="PF";if(typeof a.id=="undefined"){a.id=""}if(typeof a.path=="undefined"){a.path=""}if(typeof a.lang=="undefined"){a.lang=""}if(a.type.length==0||a.path.length==0){return false}return true};ste.PF.tabclick=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a=c.type+"|"+c.path;if(c.name.length>0){a+="|"+c.name}AddDebug(".PF.tabclick:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24";b.hier1=a;b.prop24=c.path;if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;this._currenttab=c.path;s.tl(true,"o","ProductFinder",b)};ste.PF.nodeclick=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a=c.type+"|"+c.path;if(c.name.length>0){a+="|"+c.name}AddDebug(".PF.nodeclick:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24";b.hier1=c.type+"|"+c.path+"|"+c.name;b.prop24=c.path+"|"+c.name;if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;this._currenttab=this._getTabName(c.path);s.tl(true,"o","ProductFinder",b)};ste.PF.deeplink=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}if(c.name==""&&c.path.indexOf("|")==-1){return false}var a=c.type+"|"+c.path;if(c.name.length>0){a+="|"+c.name}AddDebug(".PF.deeplink:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);c.path=unescape(c.path);c.name=unescape(c.name);this._currenttab=this._getTabName(c.path);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24";b.hier1=c.type+"|"+c.path;if(c.name.length>0){b.hier1+="|"+c.name}b.hier1+=" (Deeplink)";b.prop24=c.path;if(c.name.length>0){b.prop24+="|"+c.name}b.prop24+=" (Deeplink)";s.tl(true,"o","ProductFinder",b)};ste.PF.exit=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}if(typeof c.url=="undefined"||c.url===""){return false}var a=c.type+"|"+c.path;if(c.name.length>0){a+="|"+c.name}AddDebug(".PF.exit:: "+a+" -> "+c.url);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24,events";b.events=b.linkTrackEvents="event6";b.hier1=c.type+"|"+c.path+"|"+c.name+" (Exit)";b.prop24=c.path+"|"+c.name+" (Exit)";if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;if(this._nrofexits==0){ste.general.addLinkEvent("event23",b)}this._nrofexits++;s.tl(true,"e",c.url,b)};ste.PF.contactform=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a="contactform:";if(c.type){a+=c.type+"|"}a+=c.path;if(c.name.length>0){a+="|"+c.name}AddDebug(".PF.contactform:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24,events";b.hier1=c.type+"|"+c.path+"|"+c.name+" (Contact)";b.prop24=c.path+"|"+c.name+" (Contact)";if(c.url){b.events=b.linkTrackEvents="event6";if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;s.tl(true,"e",c.url,b)}else{b.events=b.linkTrackEvents="event18";if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;s.tl(true,"o","contacform:"+c.type+"|"+c.path+"|"+c.name,b)}};ste.PF.mailto=function(c){if(!this.checkDefaultParams(c)){return false}if(typeof c.name=="undefined"){c.name=""}var a="mailto:"+c.name;AddDebug(".PF.mailto:: "+a);AddDebug(">>> id: "+c.id+" // type: "+c.type+" // lang: "+c.lang);AddDebug(">>> path: "+c.path+" // name: "+c.name+" // url: "+c.url);var b=this.getTempSObject(c);b.linkTrackVars+=",hier1,prop24,events";b.hier1=c.type+"|"+c.path+"|"+c.name+" (Mailto)";b.prop24=c.path+"|"+c.name+" (Mailto)";b.events=b.linkTrackEvents="event13";if(this._nrofclicks==0){ste.general.addLinkEvent("event22",b)}this._nrofclicks++;s.tl(true,"o","mailto:"+c.type+"|"+c.path+"|"+c.name,b)};ste.PF.searchterm=function(b){if(!this.checkDefaultParams(b)){return false}if(typeof b.name=="undefined"){b.name=""}AddDebug(".PF.searchterm:: "+b.name);AddDebug(">>> id: "+b.id+" // type: "+b.type+" // lang: "+b.lang);AddDebug(">>> path: "+b.path+" // name: "+b.name+" // url: "+b.url);var a=this.getTempSObject(b);a.linkTrackVars=(typeof s.linkTrackVars=="undefined"||s.linkTrackVars=="None"||s.linkTrackVars=="")?"prop21,eVar2,prop15":a.linkTrackVars+",prop21,eVar2,prop15";a.prop15="PFsearch";a.prop21=a.eVar2=CleanText(b.name.toLowerCase());if(this._nrofclicks==0){ste.general.addLinkEvent("event22",a)}this._nrofclicks++;s.tl(true,"o","PFsearch",a)};