function srvLogClick() { img = new Image(); sourceloc = ""; if (window.location.protocol.indexOf('https:')>-1) sourceloc = "https://ww2.aaa.com"; else sourceloc = "http://ww2.aaa.com"; sourceloc += "/scripts/WebObjects.dll/AdServer.woa/wa/ad?js=N&association=aaa&club=240&type=GEN&chance=clicked"; img.src = sourceloc; } var cpnEXT=""; var dcs_imgarray = new Array; var dcs_ptr = 0; function cpnLog(dcs_URI,dcs_QRY,dcs_EXT,dcs_Ref) { function cpn_createImage(dcs_src) { dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; dcs_ptr++; } var P=""; var dcsLoc = ""; var dCurrent = new Date(); P+="dcsuri="+escape(dcs_URI); P+="&dcsqry="+escape(dcs_QRY); if ((dcs_Ref != "") && (dcs_Ref != "-")) { if (!(navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) < 4) ) { P+="&dcsref="+escape(dcs_Ref); } } P+="&dcssip=AdServer"; P+="&dcsdat="+escape(dCurrent.getTime()); P+=dcs_EXT; dcsLoc = "http" +(window.location.protocol.indexOf('https:')==0?'s':'')+"://dcs.aaa.com/DCS001002_6G4Q/dcs.gif?"+P; cpn_createImage(dcsLoc); } function cpnLogPage(action) { var type = "GEN"; if (type == "SRV" && action == "Click") srvLogClick(); cpnEXT = ""; cpnExtend("Club","240"); cpnExtend("WT.cg_n","No Campaign Found"); cpnExtend("WT.cg_s","MEMBERSHIPSIDE"); cpnExtend("Type","GEN"); cpnExtend("Match","N"); cpnExtend("PageType",action); cpnExtend("Host","SmartCampaign"); cpnExtend("ClubCreated","0"); cpnExtend("OfficeCreated","0"); cpnLog("/No Campaign Found","",cpnEXT,window.location.pathname); } function cpnLogClick(){cpnLogPage("Click");} function cpnExtend(N,V){cpnEXT+="&"+N+"="+escape(V);} cpnLogPage("View"); document.write('')