// v1.0.7 2011-10-06
function eventReceiver(a){var b=document.location.pathname.toLowerCase();var c;var d;if(groupInfoObjs){c=groupInfoObjs[0].group;d=groupInfoObjs[0].subgroup}var e={wt_cg_n:c,wt_cg_s:d};if(a.type=="form"){if(__wtConfig.formEvents[a.id]&&__wtConfig.formEvents[a.id][a.status])return;var f="/tracking/forms/"+a.id+"/"+a.status;e["Page"]=f;e["FormID"]=a.id;if(a.status=="complete"){if(a.id=="VehicleAlert"){e["ac"]="TUVP_Register_VehicleAlert_Submit";e["wt_cg_n"]="TUVP";if(b.indexOf("used-cars/members/")>0)e["wt_cg_s"]="Member - Create a New Alert form Thank you";else e["wt_cg_s"]="Vehicle Alert Form Thank you"}else if(a.id=="TUVP_MembersLogin"){e["ac"]="TUVP_MembersLogin_Submit";e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Members Login Thank you"}else if(a.id=="SiteRegistration"){e["ac"]="TUVP_Register_CreateAccount";e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Registration Form Thank you"}else if(a.id=="EnquiryVehicleDetails"){e["ac"]="TUVP_VDP_Submit";e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Dealer Enquiry Form Thank you"}}else if(a.status=="view"){if(a.id=="VehicleAlert"){e["wt_cg_n"]="TUVP";if(b.indexOf("used-cars/members/")>0)e["wt_cg_s"]="Member - Create a New Alert form";else e["wt_cg_s"]="Vehicle Alert Form"}else if(a.id=="TUVP_MembersLogin"){e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Members Login"}else if(a.id=="SiteRegistration"){e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Registration Form"}else if(a.id=="EnquiryVehicleDetails"){e["wt_cg_n"]="TUVP";e["wt_cg_s"]="Dealer Enquiry Form"}}switch(a.status){case"view":e["FormLoad"]=1;break;case"start":e["FormStart"]=1;e[a.id+"Start"]=1;break;case"complete":e["FormSubmit"]=1;e[a.id]=1;break}e["EventCategory"]="Forms";e["EventAction"]=a.status;e["EventLabel"]=a.id;wt.TrackEvent(e);if(!__wtConfig.formEvents[a.id])__wtConfig.formEvents[a.id]={};__wtConfig.formEvents[a.id][a.status]=1}else if(a.type=="conversionevent"&&a.id=="ClickToCall"){var f="/tracking/clicktocall";e["Page"]=f;e["ClickToCall"]=1;e["ac"]="TUVP_VDP_ClicktoCall";e["EventCategory"]="Conversion Actions";e["EventAction"]="Click To Call";wt.TrackEvent(e)}else if(a.type=="conversionevent"&&a.id=="SaveSearch"){var f="/tracking/savesearch/"+a.status;e["Page"]=f;e["EventCategory"]="Conversion Actions";e["EventAction"]="Save Search";e["EventLabel"]=a.status;if(a.status=="click")e["SaveSearch"]=1;wt.TrackEvent(e)}else if(a.type=="conversionevent"&&a.id=="PrintWatchlist"){var f="/tracking/watchlist/print";e["Page"]=f;e["PrintWatchlist"]=1;e["EventCategory"]="Conversion Actions";e["EventAction"]="Print Watchlist";wt.TrackEvent(e)}}function trackEmailFormStart(){$("#sendEmailForm input").each(function(a){$(this).change(function(){if(!_fState["sendEmailForm"]){var a=[];a["EmailAFriendStart"]=1;a["FormID"]="EmailAFriend";a["FormStart"]=1;a["EventCategory"]="Forms";a["EventLabel"]="Email a Friend";a["EventAction"]="Start";delete a["wt_cg_n"];delete a["wt_cg_s"];wt.TrackEvent(a)}else _fState["sendEmailForm"]=1})})}function loadWT(a){var b=wtdebug?"development":"production";var c=document.location.href.toLowerCase();var d=document.referrer;wt=new WebTracker;if(typeof debugMessager!="undefined")wt.AddMessageListener(debugMessager);for(var e in __wtConfig.wtAccounts[b]){wt.AddTracker(new WebTrendsWrapper({dcsid:__wtConfig.wtAccounts[b][e],domain:"statse.webtrendslive.com",fpc:".toyotausedcars.com.au"}))}for(var e in __wtConfig.gaAccounts[b]){wt.AddTracker(new GoogleAnalyticsWrapper({account:__wtConfig.gaAccounts[b][e],allowedevents:{_trackEvent:1}}))}var f;var g={};if(groupInfoObjs){f=groupInfoObjs[0];g["wt_cg_n"]=f.group;g["wt_cg_s"]=f.subgroup}if($("#searchForm").length>0){g["FormID"]="UsedVehicleSearch";g["FormLoad"]=1}else if($("#vehicleEnquiryForm").length>0){g["FormID"]="EnquiryVehicleDetails";g["FormLoad"]=1}else if($("#vehicleAlertsForm").length>0&&!c.match(/\/used-cars\/members\/createnewalertconfirmation/i)){g["FormID"]="VehicleAlert";g["FormLoad"]=1}else if(c.match(/\/used-cars\/for-sale\/list\?.*searchtype=s/i)&&d.match(/toyotausedcars.com.au\/($|used-cars$|used-cars\?.*)/i)){g["FormID"]="UsedVehicleSearch";g["FormSubmit"]=1}else if(c.match(/\/used-cars\/email\/senditemdetails/)){g["FormID"]="EmailAFriend";g["FormLoad"]=1;trackEmailFormStart()}else if(c.match(/\/used-cars\/email\/emailpopupsent/)){g["EmailAFriend"]=1;g["FormID"]="EmailAFriend";g["FormSubmit"]=1;g["EventCategory"]="Forms";g["EventLabel"]="Email a Friend";g["EventAction"]="Complete";var h=g["wt_cg_n"];var i=g["wt_cg_s"];delete g["wt_cg_n"];delete g["wt_cg_s"];wt.TrackEvent(g);g["wt_cg_n"]=h;g["wt_cg_s"]=i}if(c.match(/\/used-cars\/for-sale\/list.*(SearchString|searchtype)/i)){g["UsedVehicleSearch"]=1;var h=g["wt_cg_n"];var i=g["wt_cg_s"];delete g["wt_cg_n"];delete g["wt_cg_s"];g["EventCategory"]="Conversion Actions";g["EventAction"]="Used Vehicle Search";wt.TrackEvent(g);g["wt_cg_n"]=h;g["wt_cg_s"]=i}wt.TrackPageView(g);g={};if(groupInfoObjs.length>1){for(var j=1;j<groupInfoObjs.length;j++){f=groupInfoObjs[j];g["wt_cg_n"]=f.group;g["wt_cg_s"]=f.subgroup;wt.TrackPageView(g)}}}function trackerInit(){var a={};loadjQueryExtension();var b=getLocationIndex();if(b){tagLinks(b);if(ga_groups[b])groupInfoObjs=ga_groups[b]}insertHiddenField();$("body").bind("form",function(a){eventReceiver(a)});$("body").bind("conversionevent",function(a){eventReceiver(a)});$("#aAddToWatch").click(function(){var b="/tracking/watchlist/add";a["Page"]=b;a["AddToWatchlist"]=1;a["EventCategory"]="Conversion Actions";a["EventAction"]="Add To Watchlist";wt.TrackEvent(a)});$("a[href*='/used-cars/brochure/createitemdetail']").each(function(b){$(this).click(function(){var b="/tracking/printbrochure";a["Page"]=b;a["PrintBrochure"]=1;a["EventCategory"]="Conversion Actions";a["EventAction"]="Print Brochure";wt.TrackEvent(a)})})}function insertHiddenField(){if($("div#searchSubmit").length>0){$('<input type="hidden" name="WT.ac" value="TUVP_GN_Search" />').insertBefore("div#searchSubmit")}}function loadjQueryExtension(){jQuery.extend(jQuery.expr[":"],{navlink:function(a){return a.href&&!a.href.match(/(^mailto\:|^javascript|\#$)/i)&&a.hostname!=""}})}function getLocationIndex(){var a=document.location.href;var b;if(a.toLowerCase().indexOf("/used-cars/for-sale/list")>0)b=MATCHING_RESULTS;else if(a.toLowerCase().indexOf("/used-cars/for-sale/")>0)b=VEHICLE_DETAIL;else if(a.toLowerCase().indexOf("/used-cars/items/selectedresults/compare")>0)b=COMPARE_VEHICLES;else if(a.toLowerCase().indexOf("/used-cars/account/registervehiclealerts")>0)b=VEHICLE_ALERT_REG;else if(a.toLowerCase().indexOf("/used-cars/account/register")>0)b=REGISTRATION;else if(a.toLowerCase().indexOf("/used-cars/termsandconditions")>0)b=TERMS_CONDITIONS;else if(a.toLowerCase().indexOf("/used-cars/account/logon")>0)b=MEMBERS_LOGIN;else if(a.toLowerCase().indexOf("/used-cars/members/home")>0)b=MEMBERS_HOME;else if(a.toLowerCase().indexOf("/used-cars/members/myvehiclealerts")>0)b=MEMBERS_ALERTS;else if(a.toLowerCase().indexOf("/used-cars/watchlist/admin")>0)b=MEMBERS_WATCHLIST;else if(a.toLowerCase().indexOf("/used-cars/members/mydetails")>0)b=MEMBERS_DETAILS;else if(a.toLowerCase().indexOf("/used-cars/members/createnewalert")>0)b=MEMBERS_NEWALERT;else if(a.toLowerCase().indexOf("/used-cars")>0||a.toLowerCase()=="http://www.toyotausedcars.com.au/")b=HOME_PAGE;return b}function appendTagtoHref(a,b,c){var d=$(a).attr("href");$(a).attr("href",d+(b?"&":"?")+c)}function tagLinks(a){var b;var c;var d="";var e;var f=false;$(".tuvp-header-bg a").each(function(a,b){if($(b).find("img[src*='/used-cars/Content/images/tuvp-logo.jpg']").length>0){appendTagtoHref($(b),false,"WT.ac=TUVP_TopNav_Enduring_Quality")}else if($(b).attr("href").match(/\/used-cars\/account\/registervehiclealerts/i)){appendTagtoHref($(b),false,"WT.ac=TUVP_TopNav_VehicleAlert")}else if($(b).attr("href").match(/\/used-cars$/i)){appendTagtoHref($(b),false,"WT.ac=TUVP_TopNav_Home")}});if($("a").filter(":navlink").length>0){$("a").filter(":navlink").each(function(g){b=$(this).attr("href");if(b.match(/WT\.ac=/))return;c=b.replace(/http[s]*:\/\//,"");f=false;if(c.indexOf("?")>0){e=c.split("?");c=e[0];d=e[1];f=true}if(a==MEMBERS_ALERTS||a==MEMBERS_DETAILS||a==MEMBERS_HOME||a==MEMBERS_NEWALERT||a==MEMBERS_WATCHLIST){a=MEMBERS_AREA}if(ga_linkTags[a]&&ga_linkTags[a][c]){appendTagtoHref(this,f,ga_linkTags[a][c])}else if(ga_linkTags[ALL_PAGES][c]){appendTagtoHref(this,f,ga_linkTags[ALL_PAGES][c])}})}}function SeoSemTracker(){this.docLoc=document.location;this.loc=location.href;this.urlGet=this.loc.split("?");this.docRef=document.referrer;this.isSE=false;this.domain=this.docRef.split("/");this.trackingType=this._getURLVariable("trackingType");if(!this.trackingType)this.trackingType="other";this.socialMediaSites=["facebook","myspace","twitter","youtube","flickr"];this.referrerTypes={none:0,internal:1,external:2,toyotaseo:3,toyota:4}}function dcsDebug(){if(typeof _tag!="undefined"){return _tag.dcsDebug()}}function dcsMultiTrack(){if(typeof _tag!="undefined"){return _tag.dcsMultiTrack()}}function WebTrends(a){var b=this;this.dcsid=a.dcsid;this.domain=a.domain;this.timezone=10;this.fpcdom=a.fpc;this.enabled=true;this.i18n=true;this.fpc="WT_FPC";this.paidsearchparams="gclid";this.splitvalue="";this.preserve=false;this.DCS={};this.WT={};this.DCSext={};this.images=[];this.index=0;this.exre=function(){return window.RegExp?new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"):""}();this.re=function(){return window.RegExp?b.i18n?{"%25":/\%/g,"%26":/\&/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g}:""}()}function GoogleAnalyticsWrapper(a){this.Type="googleanalytics";this._events=[];this._account=a["account"];this._domain=a["domain"]?a["domain"]:"";this._useHash=a["usehash"]?true:false;this._useLinker=a["uselinker"]?true:false;this._pagePrefix=a["prefix"]?a["prefix"]:"";this._trackSiteSpeed=a["tracksitespeed"]?true:false;this._allowedEvents=a["allowedevents"]?a["allowedevents"]:{all:1};this._parent;if(!this._allowedEvents["all"]){this._allowedEvents["_setAccount"]=1}}function WebTrendsWrapper(a){this._s=a;this._loaded=0;this.Type="webtrends";this._dcsext={};this._wt={};this._dcs={};this._tag;this._parent;this._tag=new WebTrends(this._s);if(this._s.dcsid)this._account=this._s.dcsid}function WebTracker(){this.loaded=0;this.submitted=0;this._trackParams={};this._trackers={};this._startTime=0;this._maxTime=3600;this._lastInteraction=0;this._cookieDomain="";this._timers={total:{start:0,duration:0,running:0}};this._eventHandlers={};this._eventData=window["_trackerData"]||{};this._msgListener;this._logLevel=1}WebTracker.prototype.AddTracker=function(a){if(typeof a!="object")return;if(a.Type){if(typeof this._trackers[a.Type]=="undefined")this._trackers[a.Type]=[];a._parent=this;a._load();this._trackers[a.Type].push(a)}};WebTracker.prototype.AddMessageListener=function(a){this._msgListener=a};WebTracker.prototype._dispatchMessage=function(a){if(typeof this._msgListener=="function"){try{this._msgListener(a)}catch(b){}}};WebTracker.prototype.AddEventHandler=function(a,b){var c=this;if(!a||!b)return false;b.SetTracker(c);this._eventHandlers[a]=b;return true};WebTracker.prototype.SetDomain=function(a){this._cookieDomain=a};WebTracker.prototype._getParam=function(a){var b=document.location.search.substring(1);var c=b.split("&");for(i=0;i<c.length;i++){var d=c[i].split("=");if(this._trim(d[0].toLowerCase())==a.toLowerCase())return this._trim(d[1])}return""};WebTracker.prototype._getHashParam=function(a){if(a=="")return"";var b=document.location.hash.substring(1);var c=b.split("&");var d=new Object;for(var e=0;e<c.length;e++){var f=c[e].split("=");if(f.length==2){d[this._trim(f[0])]=this._trim(f[1])}if(a!=null&&a!=""&&this._trim(f[0].toLowerCase())==a.toLowerCase()){return this._trim(f[1]);break}}return d};WebTracker.prototype._trim=function(a){return a.replace(/^\s+|\s+$/g,"")};WebTracker.prototype._setCookie=function(a,b,c,d){var e="";if(d&&d!="")e=" domain="+d+";";if(typeof c=="object")document.cookie=a+"="+b+";expires="+c.toGMTString()+"; path=/;"+e;else document.cookie=a+"="+b+"; path=/;"+e};WebTracker.prototype._getCookie=function(a){var b=document.cookie.split(";");for(i=0;i<b.length;i++){var c=b[i].split("=");if(this._trim(c[0].toLowerCase())==a.toLowerCase()){var d="";for(i=1;i<c.length;i++){if(i>1)d+="=";d+=c[i]}return unescape(this._trim(d))}}return""};WebTracker.prototype._sendData=function(){for(var a in this._trackParams){if(typeof this._trackers[a]=="undefined"){if(this._logLevel>1)this._log("Tracking object "+a+" not loaded. Ignoring call")}else{this._log("Object Details: "+a+" "+this._trackinObjToStr(this._trackParams[a]));for(var b=0;b<this._trackers[a].length;b++){this._trackers[a][b]._init(this._trackParams[a]);try{this._log("Sending to account: "+a+" "+this._trackers[a][b]._account)}catch(c){}}}}for(var d in this._trackers){for(var b=0;b<this._trackers[d].length;b++){this._trackers[d][b]._sendData();this._dispatchMessage({info:"Sending Data",object:this._trackers[d][b]})}}this._trackParams={}};WebTracker.prototype.ReceiveEvent=function(a){if(typeof a!="object")return;var b="";if(typeof a.Event!="undefined")b=a.Event.toLowerCase();else if(typeof a!="undefined"&&typeof a.EventClass!="undefined"&&typeof a.Action!="undefined")b=a.EventClass.toLowerCase()+a.Action.toLowerCase();else return;var c=Math.round((new Date).getTime()/1e3);var d=this;if(this._lastInteraction==0)this._lastInteraction=c;if(typeof this._eventHandlers[b]!="undefined"){this._eventHandlers[b].RunHandlers(a,d);this._lastInteraction=c}};WebTracker.prototype.Unload=function(){if(typeof this._unloadEvents=="undefined")return;var a=this;try{for(var b=0;b<this._unloadEvents.length;b++){this._unloadEvents[b].call(this,a)}}catch(c){}};WebTracker.prototype._setTimer=function(a){var b=Math.round((new Date).getTime()/1e3);var c=b-this._lastInteraction;for(var d in this._timers){if(a!=undefined&&d!="total"&&this._timers[d].running==1){this._timers[d].running=0;if(c>this._maxTime)this._timers[d].duration=0;else this._timers[d].duration+=b-this._timers[d].start;this._timers[d].start=0}}if(typeof this._timers[a]=="undefined")this._timers[a]={start:b,duration:0,running:1};else{this._timers[a].start=b;this._timers[a].running=1}if(this._timers.total.start==0){this._timers.total.start=b;this._timers.total.running=1}if(c>this._maxTime){this._timers.total.duration=0;this._lastInteraction=0;this._timers.total.start=0}else{this._timers.total.duration=b-this._timers.total.start}};WebTracker.prototype._trackinObjToStr=function(a){var b="";for(var c in a){b+="\t "+c+": ";if(typeof a[c]=="object")b+="\n"+this._trackinObjToStr(a[c])+"\n";else b+=a[c]+"\n"}return b};WebTracker.prototype._log=function(a){if(typeof console!="undefined"&&typeof window["wtdebug"]!="undefined"&&window["wtdebug"]>0){console.log(a)}this._dispatchMessage({info:a})};WebTracker.prototype._addEvent=function(a,b,c){if(a.attachEvent){a["e"+b+c]=c;a[b+c]=function(){a["e"+b+c](window.event)};a.attachEvent("on"+b,a[b+c])}else{a.addEventListener(b,c,false)}};WebTracker.prototype._removeEvent=function(a,b,c){if(a.detachEvent){a.detachEvent("on"+b,a[b+c]);a[b+c]=null}else{a.removeEventListener(b,c,false)}};WebTracker.prototype.TrackPageView=function(a){this._initStEv();var b=document.location.pathname;if(document.location.search)b+=document.location.search;var c={EventClass:"std",Action:"pageview",Page:b};if(this._eventData.length>0){for(k in this._eventData)c[k]=this._eventData[k]}if(typeof a=="object"){for(k in a)c[k]=a[k]}this.ReceiveEvent(c)};WebTracker.prototype._initStEv=function(){this._eventHandlers["stdpageview"]=new EventObj("always",function(){var a=arguments[0];var b="",c="";if(a.Page.indexOf("?")>0){var d=a.Page.split("?");b=d[0];c=d[1]}else{b=a.Page}this._tobj._trackParams={};for(var e in this._tobj._trackers){try{if(this._tobj._trackers[e].length>0){var b=this._tobj._trackers[e][0].GetTrackingParams("pageview",a);this._tobj._trackParams[b.id]=b.params}}catch(f){}}if(typeof a!="undefined"){this._tobj._sendData()}},this)};WebTracker.prototype.TrackEvent=function(a){this._initEvTr();var b=document.location.pathname;if(document.location.search)b+=document.location.search;var c={EventClass:"std",Action:"event",EventCategory:"",EventAction:"",EventLabel:"",EventValue:"",Page:b};if(this._eventData.length>0){for(k in this._eventData)c[k]=this._eventData[k]}if(typeof a=="object"){for(k in a)c[k]=a[k]}this.ReceiveEvent(c)};WebTracker.prototype._initEvTr=function(){this._eventHandlers["stdevent"]=new EventObj("always",function(){var a=arguments[0];var b="",c="";if(a.Page.indexOf("?")>0){var d=a.Page.split("?");b=d[0];c=d[1]}else b=a.Page;this._tobj._trackParams={};for(var e in this._tobj._trackers){try{if(this._tobj._trackers[e].length>0){var b=this._tobj._trackers[e][0].GetTrackingParams("event",a);this._tobj._trackParams[b.id]=b.params}}catch(f){}}if(typeof a!="undefined"){this._tobj._sendData()}},this)};WebTrendsWrapper.prototype._load=function(){return 1};WebTrendsWrapper.prototype._init=function(a){for(var b in a){if(b=="_wt"){for(var c in a[b]){this._wt[c]=a[b][c]}}else if(b=="_dcsext"){for(var d in a[b]){this._dcsext[d]=a[b][d]}}else if(b=="_dcs"){for(var e in a[b]){this._dcs[e]=a[b][e]}}}};WebTrendsWrapper.prototype._sendData=function(){var a=this;a._tag.dcsVar();a._tag.dcsMeta();a._tag.dcsAdv();var b=Array();for(var c in a._dcsext){b.push("DCSext."+c);b.push(a._dcsext[c])}if(typeof a._dcs!=""){for(var d in a._dcs){a._tag.DCS[d]=a._dcs[d]}}if(typeof a._wt!=""){for(var e in a._wt){a._tag.WT[e]=a._wt[e]}}a._tag.dcsMultiTrack.apply(a._tag,b);for(var c in a._dcsext){delete a._dcsext[c];delete a._tag.DCSext[c]}for(var c in a._dcs){delete a._dcs[c];delete a._tag.DCS[c]}for(var c in a._wt){delete a._wt[c];delete a._tag.WT[c]}};WebTrendsWrapper.prototype.GetTrackingParams=function(a,b){var c=this._setParamVals(b);switch(a.toUpperCase()){case"PAGEVIEW":break;case"EVENT":break;case"SITEAD":break}return c};WebTrendsWrapper.prototype._setParamVals=function(a){var b={id:"webtrends",params:{_wt:{},_dcs:{},_dcsext:{}}};for(f in a){switch(f){case"Page":b.params._dcs.dcsuri=a.Page;break;case"EventClass":break;case"Action":break;default:if(f.substr(0,3)=="wt_"){var c=f.substr(3);b.params._wt[c]=a[f]}else if(f.substr(0,4)=="dcs_"){var c=f.substr(4);b.params._dcs[c]=a[f]}else{b.params._dcsext[f]=a[f]}break}}if(!b.params._dcs.dcsuri)b.params._dcs.dcsuri=document.location.pathname;if(!b.params._dcs.dcsqry&&document.location.search)b.params._dcs.dcsqry=document.location.search;return b};GoogleAnalyticsWrapper.prototype._load=function(a){try{var b=document.getElementsByTagName("script");for(var c=0;c<b.length;c++){if(b[c].src.indexOf("google-analytics.com/ga.js")>0)return}}catch(d){}(function(){var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();window["_gaq"]=window["_gaq"]||[]};GoogleAnalyticsWrapper.prototype._init=function(a){var b=[];this._events.push(["_setAccount",this._account]);if(this._allowedEvents["all"]==1){this._events.push(["_setUseHash",this._useHash]);this._events.push(["_setUseLinker",this._useLinker]);if(this._domain!="")this._events.push(["_setDomainName",this._domain]);if(this._trackSiteSpeed)this._events.push(["_trackPageLoadTime"])}for(var c in a){if(typeof a[c]=="object"&&a[c].length){b=[];b.push(c);for(var d=0;d<a[c].length;d++){if(typeof a[c][d]=="object"&&a[c][d].length){b=[];b.push(c);for(var e=0;e<a[c][d].length;e++){b.push(a[c][d][e])}this._events.push(b);b=[]}else{b.push(a[c][d])}}if(b.length>0)this._events.push(b)}else{this._events.push([c,a[c]])}}};GoogleAnalyticsWrapper.prototype._sendData=function(){for(var a in this._events){var b=this._events[a];if(b[0]=="_trackPageview"&&this._pagePrefix!=""){if(b[1])b[1]=this._pagePrefix+b[1];else b[1]=this._pagePrefix+document.location.pathname+document.location.search}try{if(this._allowedEvents["all"]==1||this._allowedEvents[b[0]]==1){window["_gaq"].push(b)}}catch(c){this._parent._log("Error: Unable to add to GA events. "+c)}}this._events=[]};GoogleAnalyticsWrapper.prototype.GetTrackingParams=function(a,b){var c;switch(a.toUpperCase()){case"PAGEVIEW":c={id:"googleanalytics",params:{}};if(b.CustomVars){c.params["_setCustomVar"]=b.CustomVars}c.params["_trackPageview"]=[b.Page];break;case"EVENT":c={id:"googleanalytics",params:{}};if(b.EventValue>0){c.params["_trackEvent"]=[b.EventCategory,b.EventAction,b.EventLabel,b.EventValue]}else{c.params["_trackEvent"]=[b.EventCategory,b.EventAction,b.EventLabel]}break;case"SITEAD":var d=window["__wtConfig"].customvars.siteads;c={id:"googleanalytics",params:{_setCustomVar:[d.slot,d.name,unescape(b.AdName),d.scope],_trackEvent:["Site Ads",unescape(b.AdName),b.AdAction]}};break}return c};var EventObj=function(a,b,c){this.Fire=a;this._tobj=c!=undefined?c:null;this._handlers=Array();if(typeof b=="function")this._handlers.push(b);this.SetTracker=function(a){this._tobj=a};this.AddHandler=function(a){this._handlers.push(a)};this.RunHandlers=function(a,b){var c=0;if(this.Fire.toLowerCase()=="once"){var d=b._getCookie(b._cookieName);if(d=="")c=1;var e=a.Event;if(typeof a.EventClass!="undefined")e=(a.EventClass+a.Action).toLowerCase();if(d.indexOf(e)>=0)c=0;else{d+="|"+e;b._setCookie(b._cookieName,d);c=1}}else if(this.Fire.toLowerCase()=="always")c=1;if(c==1){for(var f=0;f<this._handlers.length;f++){this._handlers[f].call(this,a)}}}};WebTrends.prototype.dcsGetId=function(){if(this.enabled&&document.cookie.indexOf(this.fpc+"=")==-1&&document.cookie.indexOf("WTLOPTOUT=")==-1){document.write("<scr"+"ipt type='text/javascript' src='"+"http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+"/"+this.dcsid+"/wtid.js"+"'></scr"+"ipt>")}};WebTrends.prototype.dcsGetCookie=function(a){var b=document.cookie.split("; ");var c=[];var d=0;var e=0;var f=a.length;var g=b.length;for(e=0;e<g;e++){var h=b[e];if(h.substring(0,f+1)==a+"="){c[d++]=h}}var i=c.length;if(i>0){d=0;if(i>1&&a==this.fpc){var j=new Date(0);for(e=0;e<i;e++){var k=parseInt(this.dcsGetCrumb(c[e],"lv"));var l=new Date(k);if(l>j){j.setTime(l.getTime());d=e}}}return unescape(c[d].substring(f+1))}else{return null}};WebTrends.prototype.dcsGetCrumb=function(a,b,c){var d=a.split(c||":");for(var e=0;e<d.length;e++){var f=d[e].split("=");if(b==f[0]){return f[1]}}return null};WebTrends.prototype.dcsGetIdCrumb=function(a,b){var c=a.substring(0,a.indexOf(":lv="));var d=c.split("=");for(var e=0;e<d.length;e++){if(b==d[0]){return d[1]}}return null};WebTrends.prototype.dcsIsFpcSet=function(a,b,c,d){var e=this.dcsGetCookie(a);if(e){return b==this.dcsGetIdCrumb(e,"id")&&c==this.dcsGetCrumb(e,"lv")&&d==this.dcsGetCrumb(e,"ss")?0:3}return 2};WebTrends.prototype.dcsFPC=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return}var a=this.WT;var b=this.fpc;var c=new Date;var d=c.getTimezoneOffset()*6e4+this.timezone*36e5;c.setTime(c.getTime()+d);var e=new Date(c.getTime()+31536e7);var f=new Date(c.getTime());a.co_f=a.vtid=a.vtvs=a.vt_f=a.vt_f_a=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(document.cookie.indexOf(b+"=")==-1){if(typeof gWtId!="undefined"&&gWtId!=""){a.co_f=gWtId}else if(typeof gTempWtId!="undefined"&&gTempWtId!=""){a.co_f=gTempWtId;a.vt_f="1"}else{a.co_f="2";var g=c.getTime().toString();for(var h=2;h<=32-g.length;h++){a.co_f+=Math.floor(Math.random()*16).toString(16)}a.co_f+=g;a.vt_f="1"}if(typeof gWtAccountRollup=="undefined"){a.vt_f_a="1"}a.vt_f_s=a.vt_f_d="1";a.vt_f_tlh=a.vt_f_tlv="0"}else{var i=this.dcsGetCookie(b);var j=this.dcsGetIdCrumb(i,"id");var k=parseInt(this.dcsGetCrumb(i,"lv"));var l=parseInt(this.dcsGetCrumb(i,"ss"));if(j==null||j=="null"||isNaN(k)||isNaN(l)){return}a.co_f=j;var m=new Date(k);a.vt_f_tlh=Math.floor((m.getTime()-d)/1e3);f.setTime(l);if(c.getTime()>m.getTime()+18e5||c.getTime()>f.getTime()+288e5){a.vt_f_tlv=Math.floor((f.getTime()-d)/1e3);f.setTime(c.getTime());a.vt_f_s="1"}if(c.getDay()!=m.getDay()||c.getMonth()!=m.getMonth()||c.getYear()!=m.getYear()){a.vt_f_d="1"}}a.co_f=escape(a.co_f);a.vtid=typeof this.vtid=="undefined"?a.co_f:this.vtid||"";a.vtvs=(f.getTime()-d).toString();var n="; expires="+e.toGMTString();var o=c.getTime().toString();var p=f.getTime().toString();document.cookie=b+"="+"id="+a.co_f+":lv="+o+":ss="+p+n+"; path=/"+(this.fpcdom!=""?"; domain="+this.fpcdom:"");var q=this.dcsIsFpcSet(b,a.co_f,o,p);if(q!=0){a.co_f=a.vtvs=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(typeof this.vtid=="undefined"){a.vtid=""}a.vt_f=a.vt_f_a=q}};WebTrends.prototype.dcsMultiTrack=function(){var a=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments;if(a.length%2==0){this.dcsSaveProps(a);this.dcsSetProps(a);var b=new Date;this.DCS.dcsdat=b.getTime();this.dcsFPC();this.dcsTag();this.dcsRestoreProps()}};WebTrends.prototype.dcsCleanUp=function(){this.DCS={};this.WT={};this.DCSext={};if(arguments.length%2==0){this.dcsSetProps(arguments)}};WebTrends.prototype.dcsSetProps=function(a){for(var b=0;b<a.length;b+=2){if(a[b].indexOf("WT.")==0){this.WT[a[b].substring(3)]=a[b+1]}else if(a[b].indexOf("DCS.")==0){this.DCS[a[b].substring(4)]=a[b+1]}else if(a[b].indexOf("DCSext.")==0){this.DCSext[a[b].substring(7)]=a[b+1]}}};WebTrends.prototype.dcsSaveProps=function(a){var b,c,d,e;if(this.preserve){this.args=[];for(b=0,c=0;b<a.length;b+=2){e=a[b];if(e.indexOf("WT.")==0){d=e.substring(3);this.args[c]=e;this.args[c+1]=this.WT[d]||"";c+=2}else if(e.indexOf("DCS.")==0){d=e.substring(4);this.args[c]=e;this.args[c+1]=this.DCS[d]||"";c+=2}else if(e.indexOf("DCSext.")==0){d=e.substring(7);this.args[c]=e;this.args[c+1]=this.DCSext[d]||"";c+=2}}}};WebTrends.prototype.dcsRestoreProps=function(){if(this.preserve){this.dcsSetProps(this.args);this.args=[]}};WebTrends.prototype.dcsAdv=function(){this.dcsFPC()};WebTrends.prototype.dcsVar=function(){var a=new Date;var b=this.WT;var c=this.DCS;b.tz=parseInt(a.getTimezoneOffset()/60*-1)||"0";b.bh=a.getHours()||"0";b.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;if(typeof screen=="object"){b.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;b.sr=screen.width+"x"+screen.height}if(typeof navigator.javaEnabled()=="boolean"){b.jo=navigator.javaEnabled()?"Yes":"No"}if(document.title){if(window.RegExp){var d=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s");b.ti=document.title.replace(d,"")}else{b.ti=document.title}}b.js="Yes";b.jv=function(){var a=navigator.userAgent.toLowerCase();var b=parseInt(navigator.appVersion);var c=a.indexOf("mac")!=-1;var d=a.indexOf("firefox")!=-1;var e=a.indexOf("firefox/0.")!=-1;var f=a.indexOf("firefox/1.0")!=-1;var g=a.indexOf("firefox/1.5")!=-1;var h=a.indexOf("firefox/2.0")!=-1;var i=d&&!e&&!f&!g&!h;var j=!d&&a.indexOf("mozilla")!=-1&&a.indexOf("compatible")==-1;var k=j&&b==4;var l=j&&b>=5;var m=a.indexOf("msie")!=-1&&a.indexOf("opera")==-1;var n=m&&b==4&&a.indexOf("msie 4")!=-1;var o=m&&!n;var p=a.indexOf("opera")!=-1;var q=a.indexOf("opera 5")!=-1||a.indexOf("opera/5")!=-1;var r=a.indexOf("opera 6")!=-1||a.indexOf("opera/6")!=-1;var s=p&&!q&&!r;var t="1.1";if(i){t="1.8"}else if(h){t="1.7"}else if(g){t="1.6"}else if(e||f||l||s){t="1.5"}else if(c&&o||r){t="1.4"}else if(o||k||q){t="1.3"}else if(n){t="1.2"}return t}();b.ct="unknown";if(document.body&&document.body.addBehavior){try{document.body.addBehavior("#default#clientCaps");b.ct=document.body.connectionType||"unknown";document.body.addBehavior("#default#homePage");b.hp=document.body.isHomePage(location.href)?"1":"0"}catch(e){}}if(document.all){b.bs=document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown"}else{b.bs=window.innerWidth+"x"+window.innerHeight}b.fv=function(){var a,b;if(window.ActiveXObject){for(a=15;a>0;a--){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+a);return a+".0"}catch(c){}}}else if(navigator.plugins&&navigator.plugins.length){for(a=0;a<navigator.plugins.length;a++){if(navigator.plugins[a].name.indexOf("Shockwave Flash")!=-1){return navigator.plugins[a].description.split(" ")[2]}}}return"Not enabled"}();b.slv=function(){var a="Not enabled";try{if(navigator.userAgent.indexOf("MSIE")!=-1){var b=new ActiveXObject("AgControl.AgControl");if(b){a="Unknown"}}else if(navigator.plugins["Silverlight Plug-In"]){a="Unknown"}}catch(c){}if(a!="Not enabled"){var d,e,f,g;if(typeof Silverlight=="object"&&typeof Silverlight.isInstalled=="function"){for(d=9;d>0;d--){f=d;if(Silverlight.isInstalled(f+".0")){break}if(a==f){break}}for(e=9;e>=0;e--){g=f+"."+e;if(Silverlight.isInstalled(g)){a=g;break}if(a==g){break}}}}return a}();if(this.i18n){if(typeof document.defaultCharset=="string"){b.le=document.defaultCharset}else if(typeof document.characterSet=="string"){b.le=document.characterSet}else{b.le="unknown"}}b.tv="9.4.0";b.sp=this.splitvalue;b.dl="0";b.ssl=window.location.protocol.indexOf("https:")==0?"1":"0";c.dcsdat=a.getTime();c.dcssip=window.location.hostname;c.dcsuri=window.location.pathname;b.es=c.dcssip+c.dcsuri;if(window.location.search){c.dcsqry=window.location.search}if(c.dcsqry){var f=c.dcsqry.toLowerCase();var g=this.paidsearchparams.length?this.paidsearchparams.toLowerCase().split(","):[];for(var h=0;h<g.length;h++){if(f.indexOf(g[h]+"=")!=-1){b.srch="1";break}}}if(window.document.referrer!=""&&window.document.referrer!="-"){if(!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){c.dcsref=window.document.referrer}}};WebTrends.prototype.dcsEscape=function(a,b){if(b!=""){a=a.toString();for(var c in b){if(b[c]instanceof RegExp){a=a.replace(b[c],c)}}return a}else{return escape(a)}};WebTrends.prototype.dcsA=function(a,b){if(this.i18n&&this.exre!=""&&!this.exre.test(a)){if(a=="dcsqry"){var c="";var d=b.substring(1).split("&");for(var e=0;e<d.length;e++){var f=d[e];var g=f.indexOf("=");if(g!=-1){var h=f.substring(0,g);var i=f.substring(g+1);if(e!=0){c+="&"}c+=h+"="+this.dcsEncode(i)}}b=b.substring(0,1)+c}else{b=this.dcsEncode(b)}}return"&"+a+"="+this.dcsEscape(b,this.re)};WebTrends.prototype.dcsEncode=function(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)};WebTrends.prototype.dcsCreateImage=function(a){if(document.images){this.images[this.index]=new Image;this.images[this.index].src=a;this.index++}};WebTrends.prototype.dcsMeta=function(){var a;if(document.documentElement){a=document.getElementsByTagName("meta")}else if(document.all){a=document.all.tags("meta")}if(typeof a!="undefined"){var b=a.length;for(var c=0;c<b;c++){var d=a.item(c).name;var e=a.item(c).content;var f=a.item(c).httpEquiv;if(d.length>0){if(d.toUpperCase().indexOf("WT.")==0){this.WT[d.substring(3)]=e}else if(d.toUpperCase().indexOf("DCSEXT.")==0){this.DCSext[d.substring(7)]=e}else if(d.toUpperCase().indexOf("DCS.")==0){this.DCS[d.substring(4)]=e}}}}};WebTrends.prototype.dcsTag=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return}var a=this.WT;var b=this.DCS;var c=this.DCSext;var d=this.i18n;var e="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+(this.dcsid==""?"":"/"+this.dcsid)+"/dcs.gif?";if(d){a.dep=""}for(var f in b){if(b[f]&&typeof b[f]!="function"){e+=this.dcsA(f,b[f])}}for(f in a){if(a[f]&&typeof a[f]!="function"){e+=this.dcsA("WT."+f,a[f])}}for(f in c){if(c[f]&&typeof c[f]!="function"){if(d){a.dep=a.dep.length==0?f:a.dep+";"+f}e+=this.dcsA(f,c[f])}}if(d&&a.dep.length>0){e+=this.dcsA("WT.dep",a.dep)}if(e.length>2048&&navigator.userAgent.indexOf("MSIE")>=0){e=e.substring(0,2040)+"&WT.tu=1"}this.dcsCreateImage(e);this.WT.ad=""};WebTrends.prototype.dcsDebug=function(){var a=this;var b=a.images[0].src;var c=b.indexOf("?");var d=b.substring(0,c).split("/");var e="<b>Protocol</b><br><code>"+d[0]+"<br></code>";e+="<b>Domain</b><br><code>"+d[2]+"<br></code>";e+="<b>Path</b><br><code>/"+d[3]+"/"+d[4]+"<br></code>";e+="<b>Query Params</b><code>"+b.substring(c+1).replace(/\&/g,"<br>")+"</code>";e+="<br><b>Cookies</b><br><code>"+document.cookie.replace(/\;/g,"<br>")+"</code>";if(a.w&&!a.w.closed){a.w.close()}a.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes");a.w.document.write(e);a.w.focus()};WebTrends.prototype.dcsCollect=function(){if(this.enabled){this.dcsVar();this.dcsMeta();this.dcsAdv();if(typeof this.dcsCustom=="function"){this.dcsCustom()}this.dcsTag()}};Function.prototype.wtbind=function(a){var b=this;var c=function(){return b.apply(a,arguments)};return c};SeoSemTracker.prototype.GetCampaignTracker=function(){var a;var b=this._isSEO();var c=this._isSEM();var d=this._getReferralType();var e=this._isSessionActive();if(this.urlGet.length==1||this.urlGet[1]!=""&&this.urlGet[1].toLowerCase().indexOf("wt.mc_id")<0){if(b&&!c)a="SEO";else if(this._isSocial())a="Social Media";else if(!c&&d==this.referrerTypes.toyotaseo)a="Toyota Referral SEO";else if(!c&&d==this.referrerTypes.toyota)a="Toyota Referral";else if(!c&&d==this.referrerTypes.external)a="Referring Site";else if(!c&&!e&&d==this.referrerTypes.none)a="Direct Visit"}document.cookie="_wtsa=1";return a};SeoSemTracker.prototype._getReferralType=function(){var a=this.docRef.toLowerCase();if(a==undefined||a=="")return this.referrerTypes.none;else if(a.indexOf("toyota.com.au")>0&&a.indexOf("/used-cars/")>0)return this.referrerTypes.toyotaseo;else if(a.indexOf("toyota.com.au")>0)return this.referrerTypes.toyota;else if(a.indexOf("toyotausedcars.")>0)return this.referrerTypes.internal;else if(a.indexOf("http")>=0)return this.referrerTypes.external;else return this.referrerTypes.none};SeoSemTracker.prototype._getURLVariable=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b="[\\?&]"+a+"=([^&#]*)";var c=new RegExp(b);var d=c.exec(window.location.href);if(d==null)return"";else return d[1]};SeoSemTracker.prototype._isSEO=function(){if(this.trackingType=="SEO"){return true}else if(this.docRef!=""){return this.docRef.toLowerCase().indexOf(".google.")>0&&(this.docRef.toLowerCase().indexOf("&q=")>0||this.docRef.toLowerCase().indexOf("?q=")>0||this.docRef.toLowerCase().indexOf("query=")>0)||this.docRef.toLowerCase().indexOf(".yahoo.")>0&&this.docRef.toLowerCase().indexOf("search?p=")>0||this.docRef.toLowerCase().indexOf(".ask.")>0&&this.docRef.toLowerCase().indexOf("?q=")>0||this.docRef.toLowerCase().indexOf(".bing.")>0&&this.docRef.toLowerCase().indexOf("?q=")>0}else{return false}};SeoSemTracker.prototype._isSEM=function(){return this._isSEO()&&this.docLoc.search.toLowerCase().indexOf("wt.srch")>0||this.trackingType=="SEM"};SeoSemTracker.prototype._isSocial=function(){var a=this.socialMediaSites;var b="";if(this.domain.length>=3)b=this.domain[2];else return false;for(var c=0;c<a.length;c++){if(b.toLowerCase().indexOf(a[c].toLowerCase())>=0)return true}return false};SeoSemTracker.prototype._isSessionActive=function(){var a=document.cookie.split(";");for(i=0;i<a.length;i++){var b=a[i].split("=");var c=b[0].replace(/^\s+|\s+$/g,"");if(c.toLowerCase()=="_wtsa"){return true}}return false};var wt;var wtdebug=0;var __wtConfig={gaAccounts:{production:["UA-4333718-22","UA-7276741-23"],development:["UA-88998-12"]},wtAccounts:{production:["dcsmm2o7kvz5bdcmuob8jeqcu_4v3d"],development:["dcsf0wv5wvz5bd0pkl8y8nqcu_8y1o"]},formEvents:{}};var st=new SeoSemTracker;var campaignTrackVal=st.GetCampaignTracker();if(campaignTrackVal)$('<meta name="WT.mc_id" content="'+campaignTrackVal+'" />').insertAfter("head meta:last");var ALL_PAGES=0;var HOME_PAGE=1;var MATCHING_RESULTS=2;var VEHICLE_DETAIL=3;var COMPARE_VEHICLES=4;var REGISTRATION=5;var VEHICLE_ALERT_REG=6;var TERMS_CONDITIONS=7;var MEMBERS_LOGIN=8;var MEMBERS_AREA=9;var MEMBERS_HOME=10;var MEMBERS_ALERTS=11;var MEMBERS_WATCHLIST=12;var MEMBERS_DETAILS=13;var MEMBERS_NEWALERT=14;var ga_linkTags=[];ga_linkTags[HOME_PAGE]=[];ga_linkTags[MATCHING_RESULTS]=[];ga_linkTags[VEHICLE_DETAIL]=[];ga_linkTags[COMPARE_VEHICLES]=[];ga_linkTags[ALL_PAGES]=[];ga_linkTags[MEMBERS_AREA]=[];ga_linkTags[HOME_PAGE]["/used-cars/account/registervehiclealerts"]=["WT.ac=TUVP_HP_Register_VehicleAlert"];ga_linkTags[HOME_PAGE]["www.toyota.com.au/finance/"]=["WT.ac=TUVP_HP_PromoTile_RHS_TFS"];ga_linkTags[HOME_PAGE]["www.toyota.com.au/accessories/exterior-accessories/bull-bar"]=["WT.ac=TUVP_HP_PromoTile_RHS_ToyotaGenuineAccessories"];ga_linkTags[HOME_PAGE]["www.toyota.com.au/parts-and-service"]=["WT.ac=TUVP_HP_PromoTile_RHS_TSA"];ga_linkTags[HOME_PAGE]["www.toyota.com.au/finance/extra-care/"]=["WT.ac=TUVP_HP_PromoTile_RHS_ToyotaExtraCare"];ga_linkTags[MATCHING_RESULTS]["/used-cars/email/sendsearchresults"]=["WT.ac=TUVP_MRP_EmailSearchResults"];ga_linkTags[MATCHING_RESULTS]["/used-cars"]=["WT.ac=TUVP_MRP_NewSearch"];ga_linkTags[MATCHING_RESULTS]["/used-cars/selectedresults/printresult"]=["WT.ac=TUVP_MRP_PrintSelected"];ga_linkTags[MATCHING_RESULTS]["/used-cars/email/sendselecteditems"]=["WT.ac=TUVP_MRP_EmailSelected"];ga_linkTags[MATCHING_RESULTS]["/used-cars/items/selectedresults/compare"]=["WT.ac=TUVP_MRP_CompareClick"];ga_linkTags[MATCHING_RESULTS]["/used-cars/account/registervehiclealerts"]=["WT.ac=TUVP_MRP_Register_VehicleAlert"];ga_linkTags[VEHICLE_DETAIL]["/used-cars/email/senditemdetails"]=["WT.ac=TUVP_VDP_EmailAFriend"];ga_linkTags[VEHICLE_DETAIL]["/used-cars/brochure/createitemdetail"]=["WT.ac=TUVP_VDP_PB"];ga_linkTags[VEHICLE_DETAIL]["www.toyotausedcars.com.au/used-cars/for-sale/list"]=["WT.ac=TUVP_VDP_Back_To_Search_Results"];ga_linkTags[COMPARE_VEHICLES]["/used-cars"]=["WT.ac=TUVP_CompareVehicles_NewSearch"];ga_linkTags[ALL_PAGES]["/used-cars"]=["WT.ac=TUVP_GN_UsedCar_link"];ga_linkTags[ALL_PAGES]["/used-cars/account/register"]=["WT.ac=TUVP_GN_Register"];ga_linkTags[ALL_PAGES]["/used-cars/account/logon"]=["WT.ac=TUVP_GN_Login"];ga_linkTags[ALL_PAGES]["www.toyota.com.au/contact"]=["WT.ac=TUVP_Footer_ContactUS"];ga_linkTags[ALL_PAGES]["/used-cars/sitemap"]=["WT.ac=TUVP_Footer_SiteMap"];ga_linkTags[ALL_PAGES]["/used-cars/privacypolicy"]=["WT.ac=TUVP_Footer_PrivacyPolicy"];ga_linkTags[ALL_PAGES]["/used-cars/securitystatement"]=["WT.ac=TUVP_Footer_SecurityStatement"];ga_linkTags[ALL_PAGES]["/used-cars/termsandconditions"]=["WT.ac=TUVP_Footer_TermsandCondition"];ga_linkTags[MEMBERS_AREA]["/used-cars/account/logoff"]=["WT.ac=TUVP_Member_Logout"];ga_linkTags[MEMBERS_AREA]["/used-cars/members/createnewalert"]=["WT.ac=TUVP_Member_VehicleAlertandSavedSearch_CreateNewAlert"];var ga_groups=[];ga_groups[HOME_PAGE]=[];ga_groups[MATCHING_RESULTS]=[];ga_groups[COMPARE_VEHICLES]=[];ga_groups[VEHICLE_DETAIL]=[];ga_groups[TERMS_CONDITIONS]=[];ga_groups[REGISTRATION]=[];ga_groups[VEHICLE_ALERT_REG]=[];ga_groups[MEMBERS_LOGIN]=[];ga_groups[MEMBERS_HOME]=[];ga_groups[MEMBERS_ALERTS]=[];ga_groups[MEMBERS_WATCHLIST]=[];ga_groups[MEMBERS_DETAILS]=[];ga_groups[MEMBERS_NEWALERT]=[];ga_groups[HOME_PAGE][0]={group:"TUVP",subgroup:"Home"};ga_groups[MATCHING_RESULTS][0]={group:"TUVP",subgroup:"Matching Results"};ga_groups[COMPARE_VEHICLES][0]={group:"TUVP",subgroup:"Compare Vehicles"};ga_groups[VEHICLE_DETAIL][0]={group:"TUVP",subgroup:"Vehicle Detail"};ga_groups[VEHICLE_DETAIL][1]={group:"TUVP",subgroup:"Dealer Enquiry Form"};ga_groups[TERMS_CONDITIONS][0]={group:"TUVP",subgroup:"Terms and Condition"};ga_groups[REGISTRATION][0]={group:"TUVP",subgroup:"Registration Form"};ga_groups[VEHICLE_ALERT_REG][0]={group:"TUVP",subgroup:"Vehicle Alert Form"};ga_groups[MEMBERS_LOGIN][0]={group:"TUVP",subgroup:"Members Login"};ga_groups[MEMBERS_HOME][0]={group:"TUVP",subgroup:"Member Home"};ga_groups[MEMBERS_ALERTS][0]={group:"TUVP",subgroup:"Member Vehicle Alerts and Saved Search"};ga_groups[MEMBERS_WATCHLIST][0]={group:"TUVP",subgroup:"Member Watchlist"};ga_groups[MEMBERS_DETAILS][0]={group:"TUVP",subgroup:"Member My Details"};ga_groups[MEMBERS_NEWALERT][0]={group:"TUVP",subgroup:"Member - Create a New Alert form"};var groupInfoObjs;var _fState=[];$(document).ready(function(){trackerInit();loadWT()})
