	var src = new Array();
	var href = new Array();
	var img = new Array();
	var extlink = new Array();
	var i_caption = new Array();
		
	var imagepath = "/images/presentation/total_rewards/";
	
	/*
	src[0] = imagepath + "ads/wsopcard120x140.gif";
	img[0] = new Image;
	img[0].src = src[1];
	href[0] = "https://www.applyonlinenow.com/USapp/Ctl/redirect?CV_sourceCode=C3PG&CV_MC=A000001T3R";
	extlink[0] = "_ad";
	i_caption[0] = "The Official World Series of Poker Credit Card";	
	*/
	
	src[0] = imagepath + "ads/TR_giftcard_120x140.gif";
	img[0] = new Image;
	img[0].src = src[1];
	href[0] = "/e-totalrewards/giftcard/";
	extlink[0] = "parent";
	i_caption[0] = "Total Rewards Gift Card";	

	var dt = new Date();
	var cycle = Math.floor(Math.random() * 1);

	if( extlink[cycle] != "parent" ) {
		document.write( "<A HREF=\"" + href[cycle] + "\" target= + extlink[cycle] + ><IMG SRC=\"" + src[cycle] + "\"alt=\"" + i_caption[cycle] + "\" WIDTH=120 BORDER=0></a>" );
	}
	else
	{
		document.write( "<A HREF=\"" + href[cycle] + "\"><IMG SRC=\"" + src[cycle] + "\"alt=\"" + i_caption[cycle] + "\" WIDTH=120 BORDER=0></a>" );
	}
