if((typeof ataxscript == 'undefined' || ataxscript.length == 0) && (typeof ataximg == 'undefined' || ataximg.length == 0) && (typeof showStitial == 'undefined' || !showStitial) && (typeof forwardedByStitial == 'undefined' || !forwardedByStitial)) { var now = new Date(); var random = now.getTime(); var ref = (document.referrer)?'&r='+escape(document.referrer):''; ref = ref.split('/').join('%2F'); ref = ref.split('.').join('.'); ref = ref.split('%').join('$'); var ataxscript = "<"+"script src='http://atax.ign.com/platform_id=20114&hosted_id=49&network=fim&src=wrapper&channel_id=255®insider=a&subdomain=l2vault.ign.com&object1_id=479719&pagetype=vn_content&site=lineage2vault&dechannel=vaultmmo&rsi_segs=&size=1x1&server=linapp40.in.snowball.com&genre=rpg&name=ATAtracker&random=1222778356679&PageId=1222778356679&ct=js" + ref + "&property=ign&'" + ">"+"<" + "/script" + ">"; document.write(ataxscript); // ubt pixel as transparent GIF. if (ataxscript.indexOf("atax.ign.com") >= 0 && true) { // change to GIF form var ubtscript = ataxscript.split('atax').join('ubt'); var tokens = ubtscript.split("'"); tokens = tokens[1].split('/'); tokens[3] = tokens[3].split('?').join('&'); ubtscript = ''; ubtscript = ubtscript.split('ct=js').join('ct=gif'); document.write(ubtscript); } // pixel for Akamai tracking var akamai = ''; document.write(akamai); // nuconomy stuff // gamespy only if (false && ataxscript.indexOf("atax.gamespy.com") >= 0) { // setup stuff document.writeln(""); // make sure the ign read user stuff is in if (typeof(getUsernameFromIgnLogin) == 'undefined') { document.writeln(""); } // save old onload var ___oldWinOnload = window.onload; // wait for the document.writeln to load window.onload = function() { // execute old one first if (typeof(___oldWinOnload) == 'function') {___oldWinOnload();} // tell them it's gamespy NUCONOMY.ProjectToken = "3e17decd-54"; // log the PV; 1 = PV; 0 = value NUCONOMY.Logger.LogActivity( getUsernameFromIgnLogin(), '', document.location , 1, 0); // the metadata will be the ATA name/value pairs var tokens = ataxscript.split("'"); tokens = tokens[1].split('/'); tokens[3] = tokens[3].split('?').join('&'); // add in query string tokens[3] = tokens[3].split('&').join(';'); // convert to semi-colon delimited // we need to use pagetype expressly var tokens2 = tokens[3].split(';'); var pagetype = ''; try { for (token in tokens2) { if (tokens2[token].indexOf("pagetype") == 0) { pagetype = tokens2[token].substring(9); // remove pagetype= break; } } } catch (err) {} // set metadata--- NUCONOMY.Logger.SetContentMetadata (document.location, '' , pagetype, tokens[3] ); } } }