var currentTime = new Date()
var date1 = new Date(2011,10,30,05,25,00);  // Nov 30th
var date2 = new Date(2011,11,23,23,59,59);  // Dec 23rd 
var date3 = new Date(2011,10,7,04,30,00);  // Nov 7th
var date4 = new Date(2012,00,2,05,25,00);  // Jan 2nd, 2012


/* start left image */
if ( ( date1 < currentTime ) && ( currentTime < date2 ) ) {
	document.write("<div class=\"ad ad-2\"><a rel=\"nofollow\" href=\"http://www.facebook.com/TASSIMOCanada/?sk=app_237343796320366&app_data={'utm_source':'BTV push asset','utm_medium':'Push asset Banner','utm_content':'120x90','utm_campaign':'TASSIMOfestiveENG'}\" target=\"_blank\"><img src=\"http://site.bttoronto.ca/global/images/tassimo_festive_btv_120x90.jpg\" border=\"0\"></a></div>") 
} else {
	//document.write("<div class=\"ad ad-2\"><a rel=\"nofollow\" href=\"http://www.tassimo.ca/tassimo/page?siteid=tassimo-prd&locale=caen1&PagecRef=545&utm_source=BTV&utm_medium=Banner_120X90&utm_content=120X90&utm_campaign=september_BT_Promo_2012&utm_nooverride=1\" target=\"_blank\"><img src=\"http://site.bttoronto.ca/global/images/Tassimo_homePageSponsorship_120x90.jpg\" border=\"0\"></a></div>")
	document.write("<div class=\"ad ad-2\"><a rel=\"nofollow\" href=\"http://www.nabob.ca\" target=\"_blank\"><img src=\"http://site.bttoronto.ca/global/images/nabob_button_120x90.jpg\" border=\"0\"></a></div>")
}
/* end left image */

/* start right image */
if ( ( currentTime > date4 ) ) {
	document.write("<div class=\"ad ad-2\"><a rel=\"nofollow\" href=\"http://ads.networldmedia.net/servlet/ajrotator/1160844/0/cc?z=networld&c=1160775&b=1160841\" target=\"_blank\"><img src=\"http://site.bttoronto.ca/global/images/brighter_morning_120x90.jpg\" border=\"0\"></a></div>") 
} else {
	document.write("<div class=\"ad ad-2\"><a rel=\"nofollow\" href=\"http://ad.doubleclick.net/clk;240592052;38803866;k?http://contests.citytv.com/pepsico2011/quaker_home.html\" target=\"_blank\"><img src=\"http://site.bttoronto.ca/global/images/Quaker120x90_white.jpg\" border=\"0\"></a></div>") 
}
/* end right image */


