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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/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://<!--#echo var="SERVER_NAME" -->/graphics/shop/spring2004/sp_l_cooks_117x90.gif";
rB[6][2] = "'NPR Cooks!'";



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] + '" hspace="11"></a><br />';

document.write(rBout);
