/* Omniture Optimization Suite * Copyright (c) Omniture 2001-2008. All rights reserved. Patent Pending. * Privacy Policy at http://www.omniture.com/privacy/ *//************************** CONFIG SECTION **************************//* You may add or alter any code config here. */window.tc = window.tc || {};tc.site_id = tc.site_id || 496;tc.timeout = tc.timeout || 3;/*tc.log_path = tc.log_path || "http://www.teamoffermatica.com/mreading/gmac/scripts";*/tc.log_path = tc.log_path || "/objects/javascript";tc.server_hostname = tc.server_hostname || "gmac.tcliveus.com";/************************** PLUGINS SECTION *************************/// Read SiteCatalyst variablestc.extraInfoFromAnalytics = {};/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/window.undefined=window.undefined;window.omtr=window.omtr||{};omtr.extend=function(_1,_2,_3){var _4=_1.split("."),_5=window;if(typeof _3!="boolean"){_3=false;}for(var i=0;i<_4.length;i++){_5[_4[i]]=_5[_4[i]]||{};_5=_5[_4[i]];}for(var _7 in _2){if(_3||typeof _5[_7]=="undefined"){_5[_7]=_2[_7];}}return _5;};omtr.extend("omtr.tc.plugin.tc_extra_info_from_analytics",{init:function(_8){if(!_8.extraInfoFromAnalytics){return _8;}var _9="",_a=_8.extraInfoFromAnalytics;_8.extra_info=_8.extra_info||"";_a.source=_a.source||omtr.data;_a.propList=_a.propList||window.undefined;if(typeof _a.encode!="boolean"){_a.encode=true;}if(typeof omtr.data==("object")&&typeof omtr.data.serialize==("function")){_9=omtr.data.serialize(_a.propList,_a.encode);_8.extra_info+=_9;return _8;}var _b,_c=_a.source,_d=(typeof encodeURIComponent!="undefined"?encodeURIComponent:escape);for(_b in _c){if((typeof (_c[_b])!=("function"))&&(typeof (_c[_b])!=("array"))&&(typeof (_c[_b])!=("object"))&&(typeof (_c[_b])!=("undefined"))&&((_c[_b])!=(""))&&((_c[_b])!=(null))){_9+="&"+_d(_b.toString())+"="+_d(_c[_b]);}}_8.extra_info+=_9;return _8;}});omtr.extend("omtr.tc.plugin.sitecatalyst_reporting",{observers:[],ready:false,serveData:null,init:function(_e){this.doStandardReport=omtr.tc.report;omtr.tc.report=this.sendReport;},add:function(_f){this.observers.push(_f);if(omtr.tc.plugin.sitecatalyst_reporting.ready){if(typeof (_f)=="function"){_f.apply(this,[omtr.tc.serveData]);}}else{}},notify:function(_10){for(var i=0;i<this.observers.length;i++){var _12=this.observers[i];if(typeof (_12)=="function"){_12.apply(this,[_10]);}}},sendReport:function(_13){if(typeof _13=="object"){omtr.tc.plugin.sitecatalyst_reporting.serveData=_13;}else{_13=omtr.tc.plugin.sitecatalyst_reporting.serveData;}var _14=omtr.tc.plugin.sitecatalyst_reporting.doStandardReport();if((_14===0)||(typeof _14==="undefined"&&!_13)){return;}else{if(_14===2){omtr.tc.serveData={visitor:"Page Default"};}else{if(_14===3){omtr.tc.serveData={visitor:"Page Error"};}else{if(_13!==null&&typeof _13=="object"){omtr.tc.serveData={visitor:_13.visitor};}else{omtr.tc.serveData={visitor:"No Data From Server"};}}}}omtr.tc.plugin.sitecatalyst_reporting.ready=true;omtr.tc.plugin.sitecatalyst_reporting.notify(omtr.tc.serveData);}});omtr.extend("omtr.tc.plugin.swf_content",{init:function(_15){},render:function(_16,_17){if(!_16||!(typeof _16=="object")){return _17;}if(typeof deconcept!="object"||typeof deconcept.SWFObject!="function"){return _17;}_16.id=_16.id||"tc-flash-content";_16.version=_16.version||"6.0.65";_16.backgroundColor=_16.backgroundColor||"#FFFFFF";if(!_16.swf||!_16.width||!_16.height){return _17;}var _18=new deconcept.SWFObject(_16.swf,_16["id"],_16.width,_16.height,_16.version,_16.backgroundColor,false,_16["quality"],false,_16["detectKey"],_16["detection"]);if(_16.vars&&typeof _16.vars=="object"){var a=[];for(var i=0;i<_16.vars.length;i++){if(typeof _16.vars[i]=="string"){a[i]=_16.vars[i].split("=");_18.addVariable(a[i][0],a[i][1]);}}}if(_18.installedVer.versionIsValid(_18.getAttribute("version"))){return _18.getSWFHTML();}else{return _17;}}});omtr.tc.plugin.tc_swf_content=omtr.tc.plugin.swf_content.render;window.tc_swf_content=omtr.tc.plugin.tc_swf_content;omtr.extend("omtr.tc",{Version:"5.3",Vendor:"Omniture",Product:"TouchClarity"});(function(){var _1b=function(){var _1c="undefined";var api=this;var _1e=window.location;var _1f={timeout:5,site_id:496,server_hostname:"gmac.tcliveus.com",active:true,base_url:_1e.href,products:"",referrer:(function(){if(typeof document.referrer==_1c){return _1c;}if(document.referrer===null){return "null";}if(document.referrer===""){return "empty";}return document.referrer;})(),log_path:"/touchclarity",containers:new function(){var _20=function(id,_22){this.id=id;this.rendered=false;this.displayed=false;this.defaulted=false;this.error=false;this.content="";this.default_content=_22;this.timeout_id=null;this.coids=[];};var ccs={};this.add=function(_24){var cc=new _20(_24,"");ccs[_24]=cc;return cc;};this.get=function(_26){var cc=ccs[_26];if(!cc){cc=this.add(_26);cc.error=true;}return cc;};this.getAll=function(){var _28=[];for(var id in ccs){if(ccs[id].constructor==_20){_28.push(ccs[id]);}}return _28;};this.getIDs=function(){var ids=[];for(var id in ccs){if(ccs[id].constructor==_20){ids.push(id);}}return ids;};}()};var _2c=new function(){var _2d=encodeURIComponent||escape;this.getLogURL=function(_2e,_2f,_30,_31,_32){var _33=function(url){if(typeof url==_1c||url===""||url===null){return _1f.base_url;}url=""+url;if(url.substring(0,4)!="http"&&url.substring(0,1)!="/"){url=_1e.pathname.substring(0,_1e.pathname.lastIndexOf("/")+1)+url;}if(url.substring(0,1)=="/"){url=api.logger.http+_1e.host+url;}return url;};var _35=function(_36){_36=(typeof _36!=_1c?_36:_1f.base_url);if(_36.indexOf("?")>0){_36=_36.substring(0,_36.indexOf("?"));}var al=(_36!=api.logger.http+_1e.host+_1e.pathname);return al;};if(typeof _2e==_1c){_2e="i";}_2f=_33(_2f);var url=api.logger.http+_1f.server_hostname+"/"+_2e+"?siteID="+_1f.site_id;var _39=new Date().getTime();url+="&ts="+(typeof _31!=_1c?_31:_39);var _3a=_1f.containers.getIDs();if(_3a.length>0){for(var cc=0;cc<_3a.length;cc++){url+="&ccID="+_2d(_3a[cc]);}}if(_2e=="c"){url+="&log=no";}var al=_35(_2f);if(al){url+="&alias=true";}if(_30&&_30.length){url+="&prod="+_2d(_30);}if(typeof _32!=_1c){url+=_32;}_2f=_2d(_2f);while(_2f.length>1999-url.length){_2f=_2f.substring(0,_2f.lastIndexOf(_2d("&")));}url+="&location="+_2f;var dg={};dg.tagv=_2d(omtr.tc.Version);dg.tz=0-(new Date().getTimezoneOffset());dg.r=_2d(_1f.referrer);dg.title=""+_2d(document.title);if(al){dg.aliased=_2d(_1e.href);}if(screen){dg.cd=screen.colorDepth;dg.ah=screen.availHeight;dg.aw=screen.availWidth;dg.sh=screen.height;dg.sw=screen.width;dg.pd=screen.pixelDepth;}for(var key in dg){if((typeof (dg[key])!=("function"))&&(typeof (dg[key])!=("array"))&&(typeof (dg[key])!=("object"))){var _3f="&"+key+"="+dg[key];if(url.length+_3f.length<2000){url+=_3f;}else{break;}}}return url;};}();this.logger=new function(){var _40=this;this.loaded=true;this.http="http"+(_1e.href.substring(0,6)=="https:"?"s":"")+"://";var _41=false;var _42=false;var _43=[];var _44=function(_45,url,_47,_48,_49){if(typeof url==_1c||url===""){return false;}if(_1f.active){var _4a=new Image();_4a.src=_2c.getLogURL("i",_47,_49,new Date().getTime());_43.push(_4a);}if(typeof _48==_1c){return window.open(url,_45);}else{return window.open(url,_45,_48);}};var _4b=function(_4c,_4d,_4e){if(!_1f.active){return null;}var _4f=new Image();_4f.src=_2c.getLogURL("i",_4c,_4d,new Date().getTime(),_4e);_43.push(_4f);return _4f;};var _50=function(_51,url,_53,_54,_55,_56){var _57=null;if(typeof url==_1c||url===""){return;}if(typeof _56==_1c||_56===""){_56="window.location.href='"+url+"'";}if(typeof _53==_1c){_53=url;}if(typeof _51==_1c||_51===""||_51=="_self"||_51=="_parent"||_51=="_top"){if(_1f.active){_57=new Image();_57.timeout_id=setTimeout(_56,(_1f.timeout*1000));_57.onload=function(){eval(_56);clearTimeout(_57.timeout_id);};_57.onerror=function(){eval(_56);clearTimeout(_57.timeout_id);};_57.src=_2c.getLogURL("i",_53,_55,new Date().getTime());_43.push(_57);}else{eval(_56);}}else{if(typeof _51=="object"&&_51.document){if(_1f.active){_57=new Image();_57.src=_2c.getLogURL("i",_53,_55);_43.push(_57);}_51.location.href=url;}else{_44(_51,url,_53,_54,_55);}}};var _58=function(_59){if(_59.containers){return null;}else{var _5a=null;if(_1f.active&&!_42){_5a=_4b();_5a.onload=function(){_41=true;};}_42=true;return _5a;}};this.init=function(_5b){if(_42){return;}if(typeof _5b!="object"){if(typeof window.tc=="object"){_5b=window.tc;}else{_5b={};}}if(_5b.active===false||_5b.active==="false"||_5b.active===0){_1f.active=false;}if(_5b.site_id){_1f.site_id=_5b.site_id;}if(_5b.server_hostname){_1f.server_hostname=_5b.server_hostname;}if(_5b.page_alias){_1f.base_url=_5b.page_alias;}if(_5b.extra_info){_1f.base_url+=(_1f.base_url.indexOf("?")>0?"&":"?")+_5b.extra_info;}if(_5b.timeout){_1f.timeout=_5b.timeout;}if(_5b.products){_1f.products=_5b.products;}if(_5b.referrer){_1f.referrer=_5b.referrer;}_58(_5b);};api.log=_4b;api.redirect=_50;}();this.targeter=new function(){this.loaded=true;this.content_url="";var _5c=false;var _5d=false;var _5e=function(){return (!document.getElementById&&!document.all);};var _5f=function(){if(_5d===true){return 0;}var cc,_61=_1f.containers.getAll(),_62="",_63=0,_64=0,_65=0;for(var i=0;i<_61.length;i++){cc=_61[i];if(cc.error){_62+="&error="+cc.id;_63++;}}if(_63>0){api.log(null,null,_62);_5d=true;return 3;}for(var i=0;i<_61.length;i++){cc=_61[i];if(!cc.displayed&&!cc.defaulted){return 0;}if(cc.defaulted){_62+="&default="+cc.id;_64++;}else{for(var co=0;co<cc.coids.length;co++){_62+="&displayed="+cc.coids[co];_65++;}}}api.log(null,null,_62);_5d=true;var _68=1;if(_64>0&&_65==0){_68=2;}if(_64>0&&_65>0){_68=3;}return _68;};api.report=_5f;var _69=function(cc){return (function(){if(!cc.displayed){cc.defaulted=true;document.getElementById("tc_content_"+cc.id).innerHTML=cc.default_content;}omtr.tc.report();});};var _6b=function(id,_6d){var _6e=function(_6f){document.write("<span id='tc_content_"+id+"'>"+_6f+"</span>");};if(_5e()){_6e(_6d);return;}var cc=_1f.containers.get(id);cc.default_content=_6d;if(_1f.active===false){_6e(_6d);}else{if(cc.error===true){_6e(_6d);}else{if(cc.content!==""){if(cc.content=="__default__"){_6e(cc.default_content);}else{_6e(cc.content);}cc.displayed=true;}else{_6e("");cc.rendered=true;if(cc.default_content){var _71=_69(cc);cc.timeout_id=setTimeout(_71,_1f.timeout*1000);}}}}omtr.tc.report();};var _72=function(_73,_74,_75){var cc=_1f.containers.get(_73);if(cc.defaulted){return;}cc.coids.push(_74);if(cc.rendered){if(_75=="__default__"){_75=cc.default_content;}document.getElementById("tc_content_"+_73).innerHTML+=_75;cc.displayed=true;}else{cc.content+=_75;}};this.init=function(_77){if(_5c){return;}if(typeof _77.containers=="string"){_1f.containers.add(_77.containers);}else{if(_77.containers&&_77.containers.length){for(var i=0;i<_77.containers.length;i++){_1f.containers.add(_77.containers[i]);}}else{return;}}if(_77.log_path){_1f.log_path=_77.log_path;}if(_1f.active&&!_5e()){var _79=_77.test?_77.test:_2c.getLogURL("c");this.content_url="<scr"+"ipt src='"+_79+"'></scr"+"ipt>";document.writeln("<iframe id='tc_iframe' src='"+_1f.log_path+"/tc_targeting.html' width=0 height=0 style='display:none'></iframe>");}_5c=true;};api.optimize=_6b;api.set_content=_72;}();var _7a=function(_7b){if(omtr.tc.plugin){for(var _7c in omtr.tc.plugin){if(omtr.tc.plugin[_7c].init){omtr.tc.plugin[_7c].init(_7b);}}}};var _7d=false;this.init=function(_7e){if(_7d){return;}if(typeof _7e!="object"){if(typeof window.tc=="object"){_7e=window.tc;}else{_7e={};}}_7a(_7e);this.logger.init(_7e);this.targeter.init(_7e);_7d=true;};};omtr.extend("omtr.tc",new _1b());if(window.tc&&window.tc.autoStart){omtr.tc.init(tc);}})();