function addSurfaidVarToLink(linkToUse)
{	charToAdd = "?";
	if(linkToUse.indexOf("?") != -1)
		{
			charToAdd = "&";
		}
	return charToAdd;
}


var rB = new Array();

// NPR transcripts posted 12/22/03 by jherb
rB[0] = new Array();
rB[0][0] = "http://www.npr.org/transcripts/";
rB[0][1] = "http://www.npr.org/graphics/transcripts/winter2004/n_r_miss.gif";
rB[0][2] = "NPR tapes and transcripts";

rB[1] = new Array();
rB[1][0] = "http://www.npr.org/transcripts/";
rB[1][1] = "http://www.npr.org/graphics/transcripts/winter2004/n_r_read.gif";
rB[1][2] = "NPR tapes and transcripts";

rB[2] = new Array();
rB[2][0] = "http://www.npr.org/transcripts/";
rB[2][1] = "http://www.npr.org/graphics/transcripts/winter2004/n_r_word.gif";
rB[2][2] = "NPR tapes and transcripts";

// NPR series CDs posted 12/29/03 by jherb
rB[3] = new Array();
rB[3][0] = "http://www.npr.org/transcripts/seriesedit.html";
rB[3][1] = "http://www.npr.org/graphics/transcripts/winter2004/n_r_cd_own.gif";
rB[3][2] = "NPR tapes and transcripts";

rB[4] = new Array();
rB[4][0] = "http://www.npr.org/transcripts/seriesedit.html";
rB[4][1] = "http://www.npr.org/graphics/transcripts/winter2004/n_r_cd_feed.gif";
rB[4][2] = "NPR tapes and transcripts";

// ASC commented out on 3/3/04 by jherb
/* 
rB[5] = new Array();
rB[5][0] = "http://www.npr.org/programs/asc/archives/beatles40/";
rB[5][1] = "http://www.npr.org/graphics/asc/banner_beatles.jpg";
rB[5][2] = "All Songs Considered";

rB[6] = new Array();
rB[6][0] = "http://www.npr.org/programs/asc/archives/beatles40/";
rB[6][1] = "http://www.npr.org/graphics/asc/banner_beatles.jpg";
rB[6][2] = "All Songs Considered";

rB[7] = new Array();
rB[7][0] = "http://www.npr.org/programs/asc/archives/beatles40/";
rB[7][1] = "http://www.npr.org/graphics/asc/banner_beatles.jpg";
rB[7][2] = "All Songs Considered";
*/
var rb_num = Math.floor(Math.random()*rB.length);
var rBout = '<a href="' + rB[rb_num][0] + addSurfaidVarToLink(rB[rb_num][0]) + 'npr_lr_inc"><img src="' + rB[rb_num][1] + '" width="158" height="88" border="0" alt="' + rB[rb_num][2] + '" vspace="10"></a>';

document.write(rBout);
