/* AD code version: 2011-12-01 */
if(typeof ste==='undefined'){var ste={}}ste.code_version='AD/2011-12-01';ste._protogeneral=function(){var e='|';var f=0;var g=function g(a,b){a=a.substr(0,a.lastIndexOf('/')+1);b=b.replace(/^\.\//,'');while(b.substr(0,3)==='../'){a=a.substr(0,a.substr(0,a.length-1).lastIndexOf('/')+1);b=b.substr(3)}return a+b};var h=function(a){if(e.indexOf('|'+a+'|')!==-1){return true}return false};var j=function(a){if(!h(a)){e+=a+'|'}};this.checkDefaultParams=function(o){if(typeof o.type==='undefined'){o.type=""}if(typeof o.id==='undefined'){o.id=""}if(typeof o.path==='undefined'){o.path=""}if(typeof o.lang==='undefined'){o.lang=""}return true};this.getTempSObject=function(o){var a={};if(o.vid){a.visitorID=o.vid}a.linkLeaveQueryString=false;a.linkTrackVars="server,channel,prop1,prop2,prop3,prop8,prop11,prop12,prop14,prop15,prop16,prop19,prop20,prop27,prop28,prop29,prop30,eVar5,eVar7,eVar8,eVar11,eVar13,eVar19,eVar20";a.linkTrackEvents="None";a.events='';a.prop11=s.prop11;a.prop14=o.lang?o.lang:s.prop14;a.prop15=o.type;if(o.type.match(/player$/i)){a.prop19=o.type+'|'+o.id+'|'+o.lang;a.prop8=o.type+'|'+o.format}else{a.prop19=s.prop19?s.prop19:o.id}a.eVar19=a.prop19;a.prop20=s.prop20;if(!o.tempcall){if(!h(o.id)){if(GetQParam(location.href,'section')&&f===0){f=1}else{j(o.id);if(o.type!=='content'){this.addLinkEvent('event32',a)}}}}return a};this.checkForInternal=function(a){var b=false;var c=a.toLowerCase();if(c.indexOf('?')!==-1){c=c.substr(0,c.indexOf('?'))}atmpURLs=s.linkInternalFilters.toLowerCase().split(",");var i;for(i=0;i<atmpURLs.length;i++){if(c.toLowerCase().indexOf(atmpURLs[i])!==-1){b=true}}return b};this.addLinkEvent=function(a,b){AddLinkEvent(a,b)};this.download=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url==='undefined'||o.url===''){return false}if(!o.url.match(/^[A-Za-z]+:\/\//)){o.url=g(location.href,o.url)}var a={};a.href=o.url;s.tl(a,'','',this.getTempSObject(o))};this.exit=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url==='undefined'||o.url===''){return false}var a={};a.href=o.url;s.tl(a,'','',this.getTempSObject(o))};this.mailto=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='mailto:'+o.name;var b={};b.href=a;s.tl(b,'','',this.getTempSObject(o))};this.optin=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='opt-in:';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name.length>0){if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}var b=this.getTempSObject(o);if(o.url){var c={};c.href=o.url;s.tl(c,'','',this.getTempSObject(o))}else{this.addLinkEvent('event5',b);s.tl(true,'o',a,b)}};this.listento=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='listento:';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name.length>0){if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}var b=this.getTempSObject(o);this.addLinkEvent('event20',b);s.tl(true,'o',a,b)};this.contactform=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='contactform:';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name.length>0){if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}var b=this.getTempSObject(o);this.addLinkEvent('event33',b);s.tl(true,'o',a,b)};this.contactform_h=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='contactform-h:';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name.length>0){if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}var b=this.getTempSObject(o);this.addLinkEvent('event18',b);s.tl(true,'o',a,b)};this.searchterm=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a=this.getTempSObject(o);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(o.name);s.tl(true,'o','sitesearch',a)};this.page=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}if(o.name.length===0){}var a='';a=o.type==='content'?s.hier1:o.type;a+='|'+o.id;a+=o.path?'|'+o.path:'';a+=o.name?'|'+o.name:'';var b=this.getTempSObject(o);if(!h(o.id)&&f===1){a+='|deeplink'}b.linkTrackVars+=",hier1";b.hier1=a;b.prop27="~~h1";this.addLinkEvent('event41',b);s.tl(true,'o',o.type+'|'+o.id,b)};this.link=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url==='undefined'){o.url=""}if(typeof o.name==='undefined'){o.name=""}if(o.url===''&&o.name===''){return false}var a='link:';if(o.name.length>0){if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}else{var b=o.url;if(!b.match(/^[a-z]+:\/\//i)&&!b.match(/^mailto:/i)){b=g(location.href,b)}if(this.checkForInternal(b)===false||b.match(/^mailto:/i)){a=''}else{a+=o.url}}var c=this.getTempSObject(o);if(a){if(o.type!=='content'){this.addLinkEvent('event6',c)}s.tl(true,'o',a,c)}else{var d={};d.href=o.url;s.tl(d,'','',c)}};this.rss=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url==='undefined'){o.url=""}if(typeof o.name==='undefined'){o.name=""}if(o.url===''&&o.name===''){return false}var a='rss:';if(o.name.length>0){if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}else{a+=o.url}var b=this.getTempSObject(o);this.addLinkEvent('event34',b);s.tl(true,'o',a,b)};this.share=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url==='undefined'){o.url=""}if(typeof o.name==='undefined'){o.name=""}if(o.url===''&&o.name===''){return false}var a='share:';if(o.name.length>0){if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}else{a+=o.url}var b=this.getTempSObject(o);this.addLinkEvent('event35',b);s.tl(true,'o',a,b)}};if(typeof ste.flash==='undefined'){ste.flash=new ste._protogeneral()}ste.flash.checkDefaultParams=function(o){if(typeof o.type==='undefined'){o.type=""}if(typeof o.id==='undefined'){o.id=""}if(typeof o.path==='undefined'){o.path=""}if(typeof o.lang==='undefined'){o.lang=""}o.format='flash';if(o.type.length===0||o.id.length===0){return false}return true};if(typeof ste.feature==='undefined'){ste.feature=new ste._protogeneral()}ste.feature.checkDefaultParams=function(o){if(typeof o.type==='undefined'){o.type=""}if(typeof o.format==='undefined'){o.format=""}if(typeof o.id==='undefined'){o.id=""}if(typeof o.path==='undefined'){o.path=""}if(typeof o.lang==='undefined'){o.lang=""}if(o.type.length===0||o.format.length===0||o.id.length===0||o.lang.length===0){return false}return true};ste.feature.temptrack=function(o){var a='temptrack:';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name){a+=o.name+'|'}if(a.substr(a.length-1)==="|"){a=a.substr(0,a.length-1)}o.tempcall=true;var b=this.getTempSObject(o);b.prop44=a;b.linkTrackVars+=",prop44";s.tl(true,'o','ste.feature.temptrack',b)};if(typeof ste.video==='undefined'){ste.video={}}if(typeof ste.flash.video==='undefined'){ste.flash.video=ste.video}if(typeof ste.feature.video==='undefined'){ste.feature.video=ste.video}ste.video._getVideoName=function(o){var a='';if(o.type){a+=o.type+'|'}if(o.id){a+=o.id+'|'}if(o.path){a+=o.path+'|'}if(o.name.length>0){if(a.substr(a.length-1)!=="|"){a+="|"}a+=o.name}return a};ste.video.open=function(o){if(typeof o.name==='undefined'){o.name=""}if(typeof o.length==='undefined'){if(typeof o.duration==='number'){o.length=o.duration}else{o.length=0}}if(o.name.length===0||o.length===0){return false}if(typeof o.playername==='undefined'){o.playername="n/a"}var a=this._getVideoName(o);this._currentVideo=a;this._currentVideoLength=o.length;if(ste.nonccc||ste.enablevideo){s.Media.open(a,o.length,o.playername)}else{}};ste.video.play=function(o){if(typeof o.name==='undefined'){o.name=""}if(typeof o.offset==='undefined'){o.offset=-1}if(o.name.length===0||o.offset===-1){return false}var a=this._getVideoName(o);if(ste.nonccc||ste.enablevideo){s.Media.play(a,o.offset)}else{}if(o.offset<=1){o.name+=".videostart";if(o.type.match(/player$/i)){ste.feature.page(o)}else{ste.flash.page(o)}}};ste.video.stop=function(o){if(typeof o.name==='undefined'){o.name=""}if(typeof o.offset==='undefined'){o.offset=-1}if(o.name.length===0||o.offset===-1){return false}var a=this._getVideoName(o);if(ste.nonccc||ste.enablevideo){s.Media.stop(a,o.offset)}else{}if((parseInt(o.offset,10)+1)>=parseInt(this._currentVideoLength,10)){o.name+=".videocomplete";if(o.type.match(/player$/i)){ste.feature.page(o)}else{ste.flash.page(o)}}};ste.video.close=function(o){if(typeof o.name==='undefined'){o.name=""}if(o.name.length===0){return false}var a=this._getVideoName(o);this._currentVideo="";this._currentVideoLength=-1;if(ste.nonccc||ste.enablevideo){s.Media.close(a)}else{}};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.addLinkEvent=function(a,b){AddLinkEvent(a,b)};ste.PF.getTempSObject=function(o){var a={};a.linkLeaveQueryString=false;a.linkTrackVars="server,channel,prop1,prop2,prop3,prop8,prop11,prop12,prop14,prop15,prop16,prop19,prop20,prop27,prop28,prop29,prop30,eVar5,eVar7,eVar8,eVar11,eVar13,eVar19,eVar20";a.linkTrackEvents="None";a.events='';a.prop11=s.prop11;a.prop14=o.lang?o.lang:s.prop14;a.prop15=o.type;a.prop19=a.eVar19=s.prop8.toLowerCase()+'|'+o.type.toLowerCase();a.prop20=s.prop20;return a};ste.PF.checkDefaultParams=function(o){o.type="PF";if(typeof o.id==='undefined'){o.id=""}if(typeof o.path==='undefined'){o.path=""}if(typeof o.lang==='undefined'){o.lang=""}if(o.type.length===0||o.path.length===0){return false}return true};ste.PF.tabclick=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a=o.type+'|'+o.path;if(o.name.length>0){a+='|'+o.name}var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24";b.hier1=a;b.prop24=o.path;if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;this._currenttab=o.path;s.tl(true,'o',"ProductFinder",b)};ste.PF.nodeclick=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a=o.type+'|'+o.path;if(o.name.length>0){a+='|'+o.name}var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24";b.hier1=o.type+'|'+o.path+'|'+o.name;b.prop24=o.path+'|'+o.name;if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;this._currenttab=this._getTabName(o.path);s.tl(true,'o',"ProductFinder",b)};ste.PF.deeplink=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}if(o.name===""&&o.path.indexOf('|')===-1){return false}var a=o.type+'|'+o.path;if(o.name.length>0){a+='|'+o.name}o.path=unescape(o.path);o.name=unescape(o.name);this._currenttab=this._getTabName(o.path);var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24";b.hier1=o.type+'|'+o.path;if(o.name.length>0){b.hier1+='|'+o.name}b.hier1+=' (Deeplink)';b.prop24=o.path;if(o.name.length>0){b.prop24+='|'+o.name}b.prop24+=' (Deeplink)';s.tl(true,'o',"ProductFinder",b)};ste.PF.exit=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}if(typeof o.url==='undefined'||o.url===''){return false}var a=o.type+'|'+o.path;if(o.name.length>0){a+='|'+o.name}var b=o.url;if(!b.match(/^[A-Za-z]+:\/\//)){b=convertToAbsoluteURL(location.href,b)}var c=this.getTempSObject(o);var d=false;if(ste.nonccc&&ste.feature.checkForInternal(b)){c.linkTrackVars+=",hier1,prop24";c.hier1=o.type+'|'+o.path+'|'+o.name+' (Link)';c.prop24=o.path+'|'+o.name+' (Link)';d=true}else{c.linkTrackVars+=",hier1,prop24,events";c.events=c.linkTrackEvents="event6";c.hier1=o.type+'|'+o.path+'|'+o.name+' (Exit)';c.prop24=o.path+'|'+o.name+' (Exit)'}if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',c)}this._nrofclicks++;if(this._nrofexits===0){ste.feature.addLinkEvent('event23',c)}this._nrofexits++;if(d){s.tl(true,'o',"ProductFinder",c)}else{s.tl(true,'e',o.url,c)}};ste.PF.download=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}if(typeof o.url==='undefined'||o.url===''){return false}var a=o.type+'|'+o.path;if(o.name.length>0){a+='|'+o.name}var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24,events";b.events=b.linkTrackEvents="event26";b.hier1=o.type+'|'+o.path+'|'+o.name+' (DL)';b.prop24=o.path+'|'+o.name+' (DL)';if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;s.tl(true,'d',o.url,b)};ste.PF.contactform=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='contactform:';if(o.type){a+=o.type+'|'}a+=o.path;if(o.name.length>0){a+='|'+o.name}var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24,events";b.hier1=o.type+'|'+o.path+'|'+o.name+' (Contact)';b.prop24=o.path+'|'+o.name+' (Contact)';if(o.url){b.events=b.linkTrackEvents="event6";if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;s.tl(true,'e',o.url,b)}else{b.events=b.linkTrackEvents="event18";if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;s.tl(true,'o','contacform:'+o.type+'|'+o.path+'|'+o.name,b)}};ste.PF.mailto=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a='mailto:'+o.name;var b=this.getTempSObject(o);b.linkTrackVars+=",hier1,prop24,events";b.hier1=o.type+'|'+o.path+'|'+o.name+' (Mailto)';b.prop24=o.path+'|'+o.name+' (Mailto)';b.events=b.linkTrackEvents="event13";if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',b)}this._nrofclicks++;s.tl(true,'o','mailto:'+o.type+'|'+o.path+'|'+o.name,b)};ste.PF.searchterm=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name==='undefined'){o.name=""}var a=this.getTempSObject(o);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(o.name.toLowerCase());if(this._nrofclicks===0){ste.feature.addLinkEvent('event22',a)}this._nrofclicks++;s.tl(true,'o','PFsearch',a)};
