if(typeof showStitial == 'undefined' || !showStitial){
if(typeof adString == 'undefined') var adString = "";
var tileDate = new Date();
var tile = tileDate.getTime();
var isLinkedAdGroup1 = false;
var isForSiteNeedingTheSameTile = false;
if(typeof fixedTile1 == 'undefined' || fixedTile1 == ''){
var fixedTileDate1 = new Date();
var fixedTile1 = fixedTileDate1.getTime() + Math.round(Math.random() * 1000);
}
if(isLinkedAdGroup1) { tile = fixedTile1; }
isForSiteNeedingTheSameTile = true;
if(isForSiteNeedingTheSameTile) { tile = fixedTile1; }
var isDupAd = false;
if(!isDupAd){
if(true){
document.write("<"+"script type='text/javascript' src='http://web.archive.org/web/20090416223537/http://de.ign.com/js.ng/size=skyscraper&property=gamespy&site=archivegamespy&dechannel=gamespy&subdomain=archive.gamespy.com&hosted_id=6520&pagetype=gspy_archive&PageId=1239921337407&random=1239921337407®speed=-1®age=0®gender=3&network=fim&server=linapp34.in.snowball.com&tile="+tile+"'>");
document.write("<"+"/script>");
}
}else if(isDupAd){
}
}
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 ataxscript = "<"+"script src='http://web.archive.org/web/20090416223537/http://atax.gamespy.com/size=1x1&property=gamespy&site=archivegamespy&dechannel=gamespy&subdomain=archive.gamespy.com&hosted_id=6520&pagetype=gspy_archive&PageId=1239921337407&random=1239921337407®speed=-1®age=0®gender=3&network=fim&server=linapp34.in.snowball.com&src=wrapper&name=ATAtracker&ct=js&'" + ">"+"<" + "/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] );
}
}
}