function addSurfaidVarToLink(linkToUse)
{	charToAdd = "?";
	if(linkToUse.indexOf("?") != -1)
		{
			charToAdd = "&";
		}
	return charToAdd;
}


var rB = new Array();

// Posted MYoch 3-30-04 and updated by MKokoszka 3-30-04
rB[0] = new Array();
rB[0][0] = "http://shop.npr.org/catalog/Category.jhtml;?CATID=cat100001";
rB[0][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_radios_117x90.gif";
//alt text in the next spot
rB[0][2] = "Cool & Classic Radios";

// NPR Shop Spring 2004 banners posted 30-Mar-04
rB[1] = new Array();
rB[1][0] = "http://shop.npr.org/catalog/Product.jhtml;?CATID=&PRODID=prod360004";
rB[1][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_iheardit_117x90.gif";
rB[1][2] = "'I Heard it on NPR' CDs";

rB[2] = new Array();
rB[2][0] = "http://shop.npr.org/catalog/Category.jhtml;?CATID=9&TOPCATID=7";
rB[2][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_ascseries_117x90.gif";
rB[2][2] = "'All Songs Considered' CDs";

rB[3] = new Array();
rB[3][0] = "http://shop.npr.org/catalog/Category.jhtml;?CATID=cat100006";
rB[3][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_geek_117x90_2.gif";
rB[3][2] = "Gadgets for NPR Junkies";

rB[4] = new Array();
rB[4][0] = "http://shop.npr.org/catalog/Product.jhtml?PRODID=prod310001";
rB[4][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_giftcert_117x90_2.gif";
rB[4][2] = "NPR Shop Gift Certificates";

rB[5] = new Array();
rB[5][0] = "http://shop.npr.org/catalog/Product.jhtml?PRODID=prod430002&CATID=8";
rB[5][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_cooks_117x90.gif";
rB[5][2] = "'NPR Cooks!'";

rB[6] = new Array();
rB[6][0] = "http://shop.npr.org/catalog/Product.jhtml?PRODID=prod430002&CATID=8";
rB[6][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_cooks_117x90.gif";
rB[6][2] = "'NPR Cooks!'";

rB[7] = new Array();
rB[7][0] = "http://shop.npr.org/catalog/Category.jhtml;?CATID=12";
rB[7][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_audio_117x90.gif";
rB[7][2] = "Audio Treasures";

rB[8] = new Array();
rB[8][0] = "http://shop.npr.org/catalog/Category.jhtml;?CATID=cat101108";
rB[8][1] = "http://www.npr.org/graphics/shop/spring2004/sp_l_games_117x90.gif";
rB[8][2] = "Puzzles & Games";




var rb_num = Math.floor(Math.random()*rB.length);
var rBout = '<a href="' + rB[rb_num][0] + addSurfaidVarToLink(rB[rb_num][0]) + 'npr_ll_inc" target="_blank"><img src="' + rB[rb_num][1] + '" width="117" height="90" border="0" alt="' + rB[rb_num][2] + '" style="margin-left:11px;"></a><br />';

document.write(rBout);
