/*

**	Sections and Post Id's should be placed in qoutes seperated by commas
**	You must add at least 1 section OR 1 post ID.
**	Post ID's override section ID's
**	If there are 2 active campaigns with the same post ID/section ID it will launch the first campaign found.
**	Use the callback function to place any additional JS. This is called after the campaign is launched.


"ROS" 	(USE THIS FOR RUN OF SITE)
"homepage"
"news"
"bangers"
"bloggers"
"video"
"features"
"eye-candy"
"magazine"
"lifestyle"



-------------------------------------------------------------------------------------------------------------*/	

var	SiteContainer = "site-container"; // Define the id of the site container or the clickThrough won't work.

//////////  CAN'T TOUCH THIS  //////////
////////////////////////////////////////
////////////////////////////////////////
var campaignArray =[ ///////////////////
////////////////////////////////////////	
////////////////////////////////////////	
////////////////////////////////////////	

	
	{ // Yelawolf
		id : 'Yelawolf',
		startDate : 'November 22, 2010 12:00:00 am',
		endDate : 'November 23, 2010 12:00:00 am', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.22.yelawolf.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/ad/xxl.harris/;adid=232904325;sz=',
		clickURL : 'http://ad.doubleclick.net/jump/xxl.harris/;adid=232904325;sz=1x1;ord=',
		sections : ["homepage"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	
	
	{ // Yelawolf
		id : 'Yelawolf',
		startDate : 'November 22, 2010 12:00:00 am',
		endDate : 'November 24, 2010 12:00:00 am', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.22.yelawolf.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/ad/xxl.harris/;adid=232904333;sz=1x1;ord=',
		clickURL : 'http://ad.doubleclick.net/jump/xxl.harris/;adid=232904333;sz=1x1;ord=',
		sections : ["bloggers"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	
	{ // Soulja Boy
		id : 'Soulja Boy',
		startDate : 'November 30, 2010 12:00:00 am',
		endDate : 'November 30, 2010 11:59:00 pm', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.29.souljaboy.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/imp;v1;f;233193599;0-0;0;56945441;1|1;39136412|39154169|1;;cs=j;pc=[TPAS_ID];%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]',
		clickURL : 'http://ad.doubleclick.net/click;h=v2|3D3B|0|0|%2a|e;233193599;0-0;0;56945441;31-1|1;39136412|39154169|1;;;pc=[TPAS_ID]%3fhttp://t.mookie1.com/t/v1/clk?migAgencyId=14&migSource=adsrv2&migTrackDataExt=%eadv!;%epid!;%eaid!;%ecid!&migRandom=%n&migTrackFmtExt=client;io;ad;crtv&migUnencodedDest=http://www.smarturl.it/souljaboy?u1=souljaboy.deandreway.XXLmag.skin',
		sections : ["homepage"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	{ // Soulja Boy
		id : 'Soulja Boy',
		startDate : 'December 5, 2010 12:00:00 am',
		endDate : 'December 7, 2010 12:00:00 am', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.29.souljaboy.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/imp;v1;f;233193599;0-0;0;56945441;1|1;39136412|39154169|1;;cs=j;pc=[TPAS_ID];%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]',
		clickURL : 'http://ad.doubleclick.net/click;h=v2|3D3B|0|0|%2a|e;233193599;0-0;0;56945441;31-1|1;39136412|39154169|1;;;pc=[TPAS_ID]%3fhttp://t.mookie1.com/t/v1/clk?migAgencyId=14&migSource=adsrv2&migTrackDataExt=%eadv!;%epid!;%eaid!;%ecid!&migRandom=%n&migTrackFmtExt=client;io;ad;crtv&migUnencodedDest=http://www.smarturl.it/souljaboy?u1=souljaboy.deandreway.XXLmag.skin',
		sections : ["homepage"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	{ // Soulja Boy
		id : 'Soulja Boy',
		startDate : 'December 5, 2010 12:00:00 am',
		endDate : 'December 9, 2010 12:00:00 pm', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.29.souljaboy.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/imp;v1;f;233193599;0-0;0;56945441;1|1;39136412|39154169|1;;cs=j;pc=[TPAS_ID];%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]',
		clickURL : 'http://ad.doubleclick.net/click;h=v2|3D3B|0|0|%2a|e;233193599;0-0;0;56945441;31-1|1;39136412|39154169|1;;;pc=[TPAS_ID]%3fhttp://t.mookie1.com/t/v1/clk?migAgencyId=14&migSource=adsrv2&migTrackDataExt=%eadv!;%epid!;%eaid!;%ecid!&migRandom=%n&migTrackFmtExt=client;io;ad;crtv&migUnencodedDest=http://www.smarturl.it/souljaboy?u1=souljaboy.deandreway.XXLmag.skin',
		sections : ["bangers"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	
	{ // Soulja Boy
		id : 'Soulja Boy',
		startDate : 'December 6, 2010 12:00:00 am',
		endDate : 'December 9, 2010 12:00:00 pm', 
		bg_img : 'http://www.xxlmag.com/images/ads/wallpapers/2010.11.29.souljaboy.jpg',
		bg_color : '#000',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/imp;v1;f;233193599;0-0;0;56945441;1|1;39136412|39154169|1;;cs=j;pc=[TPAS_ID];%3fhttp://ad.doubleclick.net/dot.gif?[timestamp]',
		clickURL : 'http://ad.doubleclick.net/click;h=v2|3D3B|0|0|%2a|e;233193599;0-0;0;56945441;31-1|1;39136412|39154169|1;;;pc=[TPAS_ID]%3fhttp://t.mookie1.com/t/v1/clk?migAgencyId=14&migSource=adsrv2&migTrackDataExt=%eadv!;%epid!;%eaid!;%ecid!&migRandom=%n&migTrackFmtExt=client;io;ad;crtv&migUnencodedDest=http://www.smarturl.it/souljaboy?u1=souljaboy.deandreway.XXLmag.skin',
		sections : ["bloggers","features","news"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN
	
	{ // techn9ne mixtape bug
		id : 'techn9ne',
		startDate : '',
		endDate : '', 
		bg_img : '',
		bg_color : '#000',
		bg_attachment : '',
		bg_position : '',
		bg_repeat : '',
		pixelURL : '',
		clickURL : '',
		sections : ["homepage"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
			var newImg  = $("<img />");
			var newLink = $("<a />");
			newLink.attr("href","http://www.xxlmag.com/?test");
			newLink.attr("alt","XXL Presents Tech N9ne's Bad Season Mixtape");
			newImg.attr("src","http://www.xxlmag.com/uploads/mixtapes/2010.12-techn9ne_bad_season.gif"); 
			newImg.attr("style","position:relative;float:left;left:-5px;top:-5px;width:300px;height:85px;");
			newLink.append(newImg);
			$("#bangers .post-list").prepend(newLink);
			$("#bangers .post-list li:last").hide();
		}
	}, // END CAMPAIGN
	
	{ // techn9ne mixtape bug
		id : 'lilBtape',
		startDate : '',
		endDate : '', 
		bg_img : '',
		bg_color : '#bbb',
		bg_attachment : '',
		bg_position : '',
		bg_repeat : '',
		pixelURL : '',
		clickURL : '',
		sections : ["homepage"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
			var newImg  = $("<img />");
			var newLink = $("<a />");
			newLink.attr("href","http://www.xxlmag.com/news/2011/03/lil-b-illusions-of-grandeur/");
			newLink.attr("alt","XXL Presents Lil B's Illusoins Of Grandeur");
			newImg.attr("src","http://www.xxlmag.com/uploads/mixtapes/2011.3.illusions_of_grandeur.jpg"); 
			newImg.attr("style","position:relative;float:left;left:-5px;top:-5px;width:300px;height:100px;");
			newLink.append(newImg);
			$("#bangers .post-list").prepend(newLink);
			$("#bangers .post-list li:last").hide();
		}
	}, // END CAMPAIGN
	
	
/*	
	{// BEGIN BLANK CAMPAIGN
		id : 'testB',
		startDate : 'April 27, 2010 12:00:00 am',
		endDate : 'May 28, 2010 11:59:59 pm', 
		bg_img : '',
		bg_color : '#fff',
		bg_attachment : '',
		bg_position : '',
		bg_repeat : '',
		pixelURL : '',
		clickURL : '',
		sections : ["features"],
		postIds : [38523],
		callback : function(){
			//This is where you would put any additional JS 	
		}
	}, // END CAMPAIGN

/*	
	{// BEGIN BLANK CAMPAIGN
		id : 'testc',
		startDate : 'April 27, 2010 12:00:00 am',
		endDate : 'May 28, 2010 11:59:59 pm', 
		bg_img : '',
		bg_color : '#ccc',
		bg_attachment : '',
		bg_position : '',
		bg_repeat : '',
		pixelURL : '',
		clickURL : '',
		sections : ["ROS"],
		postIds : [],
		callback : function(){
			//This is where you would put any additional JS 	
		}
	}, // END CAMPAIGN
*/	
	{ // Freshman Wallpaper
		id : 'freshman-2010',
		startDate : 'March 1, 2011 12:00:00 am',
		endDate : 'March 1, 2100 12:00:00 am', 
		bg_img : 'http://www.xxlmag.com/images/custom-pages/2011-freshmen/XXLfrosh11-wallpaper.jpg',
		bg_color : '#fff',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : 'http://ad.doubleclick.net/ad/xxl.harris/;adid=237474467;sz=1x1;ord=',
		clickURL : 'http://ad.doubleclick.net/jump/xxl.harris/;adid=237474467;sz=1x1;ord=',
		sections : ["2011-freshman-class"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN

	
	{ // Freshman Wallpaper
		id : 'freshman-concert',
		startDate : 'March 7, 2011 3:00:00 pm',
		endDate : 'March 12, 2011 12:00:00 am', 
		bg_img : 'http://www.xxlmag.com/images/custom-pages/2011-freshmen/XXLfrosh11-wallpaper-concert.jpg',
		bg_color : '#fff',
		bg_attachment : 'fixed',
		bg_position : 'center top',
		bg_repeat : 'no-repeat',
		pixelURL : '',
		clickURL : 'http://www.ticketmaster.com/The-Official-XXL-Freshman-Live-Concert-tickets/artist/1566321?ord=',
		sections : ["ROS"],
		postIds : [""], // leave blank if this is not post specific.
		callback : function(){
		}
	}, // END CAMPAIGN


	
/////////////////////	
/////////////////////
/////////////////////
] // CAN'T TOUCH THIS
/////////////////////
/////////////////////
/////////////////////