/* DEBUG ONLY VERSION, NO TRACKING */
/* AD code version: dbg_2009-11-23 */
if(typeof s=='undefined'){var s={}}function ClearDebug(){var o=document.getElementById('debuglist');if(o){o.options.length=0}}function AddDebug(a){var o=document.getElementById('debuglist');if(o){var e=document.createElement("option");e.text=a;try{o.add(e,null)}catch(ex){o.add(e)}}}function convertToAbsoluteURL(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}if(typeof ste=='undefined'){var ste={}}ste._protogeneral=function(){this._currentid='';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={};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=o.lang?o.lang:s.prop14;a.prop15=o.type;a.prop19=a.eVar19=s.prop19;a.prop20=s.prop20;return a};this.addLinkEvent=function(a,b){AddDebug('Adding manual event: '+a)};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=convertToAbsoluteURL(location.href,o.url)}AddDebug('.download:: '+o.url);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var a={};a.href=o.url};this.exit=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.url=='undefined'||o.url===''){return false}AddDebug('.exit:: '+o.url);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var a={};a.href=o.url};this.mailto=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name=='undefined'){o.name=""}var a='mailto:'+o.name;AddDebug('.mailto:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b={};b.href=a};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}AddDebug('.optin:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);if(o.url){var c={};c.href=o.url}else{this.addLinkEvent('event5',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}AddDebug('.listento:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event20',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}AddDebug('.contactform:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event33',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}AddDebug('.contactform_h:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event18',b)};this.searchterm=function(o){if(!this.checkDefaultParams(o)){return false}if(typeof o.name=='undefined'){o.name=""}AddDebug('Default::Searchterm: '+o.name);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);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)}};if(typeof ste.general=='undefined'){ste.general=new ste._protogeneral()}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=""}if(o.type.length==0||o.id.length==0){AddDebug('ste.flash.checkDefaultParams failed');return false}return true};ste.flash.getTempSObject=function(o){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=o.lang?o.lang:s.prop14;a.prop15=o.type;a.prop19=a.eVar19=s.prop19;a.prop20=s.prop20;if(!this._currentid){this._currentid=o.id;this.addLinkEvent('event32',a)}return a};ste.flash.page=function(o){if(!this.checkDefaultParams(o)){return false}if(o.path.length==0&&o.name.length==0){AddDebug('name or path must be set');return false}if(typeof o.name=='undefined'){o.name=""}var a=o.type+'|'+o.id;if(o.path.length>0){a+='|'+o.path}if(o.name.length>0){a+='|'+o.name}AddDebug('.page:: '+a);AddDebug('>>> cid: '+this._currentid);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);b.linkTrackVars+=",hier1";b.hier1=o.type+'|'+o.id;b.hier1+=o.path?'|'+o.path:'';b.hier1+=o.name?'|'+o.name:''};ste.flash.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{a+=o.url}AddDebug('.link:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event6',b)};ste.flash.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}AddDebug('.rss:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event34',b)};ste.flash.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}AddDebug('.share:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // url: '+o.url);var b=this.getTempSObject(o);this.addLinkEvent('event35',b)};if(typeof ste.video=='undefined'){ste.video={}}if(typeof ste.flash.video=='undefined'){ste.flash.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'){o.length=0}if(o.name.length==0||o.length==0){return false}if(typeof o.playername=='undefined'){o.playername=""}var a=this._getVideoName(o);AddDebug('.video.open:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // length: '+o.length)};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);AddDebug('.video.play:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // offset: '+o.offset)};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);AddDebug('.video.stop:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // offset: '+o.offset)};ste.video.close=function(o){if(typeof o.name=='undefined'){o.name=""}if(o.name.length==0){return false}var a=this._getVideoName(o);AddDebug('.video.close:: '+a);AddDebug('>>> id: '+o.id+' // type: '+o.type+' // lang: '+o.lang);AddDebug('>>> path: '+o.path+' // name: '+o.name+' // offset: '+o.offset)};
