<!--
var numSpots = 2; // Number of promo spots you want
var howMany = 10; // max number of items listed below
var feature = new Array(howMany+1);
var used = new Array(); // an array of used numbers
// these are the features.
// if you add or subtract a feature, update howMany above
feature[0]="<div style=margin-top:9px><img src=\"/style/working/graphics/profile.gif\" width=110 height=76 alt=\"\"><p>Is the grass greener in a different field? Find out by reading a <a href=\"http://www.startribune.com/stories/175/5269125.html\">career profiles<\/a><\/p><\/span></div>";
feature[1]="<div style=margin-top:9px><img src=\"/style/working/graphics/tools.gif\" width=110 height=83 alt=\"\"><p>Write a resume that produces results. <a href=\"http://www.startribune.com/stories/175/5271783.html\">Here's how.<\/a><\/p></span></div>";
feature[2]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news38/investigate07.l.gif\" width=110 height=107 alt=\"\"><p>Don’t get caught under-prepared at your big interview. Quickly find <a href=\"http://www.startribune.com/stories/175/5269736.html\">company background information, financial statistics, and driving directions.<\/a>.<\/p></div>";
feature[3]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news96/interview10.l.gif\" width=110 height=82 alt=\"\"><p>Find in-depth advice on how to interview like a pro.  Learn how to handle <a href=\"http://www.startribune.com/stories/175/5271870.html\">behavioral interviews, interview preparation and how to answer the toughest questions.<\/a><\/p></div>";
feature[4]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news36/twincities10.l.gif\" width=110 height=89 alt=\"\"><p><b>Minneapolis/St. Paul Profile:<\/b><\/p><p>Hot. Cold. Mosquitos. Why do so many people work in the Twin Cities? <a href=\"http://www.wetfeet.com/cb/StarTribune/cityprofiles_intro.asp?citypk=36&pxID=4977\">Here's why<\/a>.<\/p></div>";
feature[5]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news21/jockey10.l.gif\" width=110 height=86 alt=\"\"><p><b>Real People Profiles by Career:<\/b><\/p><p>Straight from the horse's mouth. <a href=\"http://www.wetfeet.com/cb/StarTribune/RPPlistByCareer.asp\">Real People Profiles<\/a>.<\/p></span></div>";
feature[6]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news92/resume10.l.gif\" width=110 height=92 alt=\"\"><p>Did you know that eighty-five percent of jobs seekers’ success comes from networking and direct company contact?  Get <a href=\"http://www.startribune.com/stories/175/5271757.html\">step-by-step instructions on how to network with ease<\/a>.<\/p></div>";
feature[7]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news64/intern10.l.gif\" width=110 height=101 alt=\"\"><p>Performing your job function can be stressful.  Don’t let workplace issues sidetrack you.  Learn the best way to <a href=\"http://www.startribune.com/stories/175/5273514.html\">navigate through the career jungle.<\/a><\/p></div>";
feature[8]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news70/weeb_resource_begincareer2.l.gif\" width=110 height=110 alt=\"\"><p>If you are considering a career change, <a href=\"http://www.startribune.com/stories/175/5269125.html\">find advice on career direction and transition<\/a> to help you take the next big step with confidence.<\/p></div>";
feature[9]="<div style=margin-top:9px><img src=\"http://www.startribune.com/stonline/images/news46/weeb_resource_admin1.e.gif\" width=115 height=115 alt=\"\"><p><a href=\"http://www.startribune.com/static/33days\">33 Days to Your Dream Job!<\/a> Job expert Kevin Donlin has created 33 exercises with tips to target, network, interview and get hired for the job of your dreams.<\/p></div>";

var s = String();
var i = numSpots;
var j = 0;
used[0] = 0;
// this function generates a random number
function makeRandom() {


var randPromo = parseInt(Math.random()*(howMany+1));

		return randPromo 
				   		}
// a sanity check to avoid trying to fill
// fewer spots than there are unique features available
if (numSpots < feature.length ) {
// this is the outer loop. it is 
// executed numSpots times
for (d = numSpots; d > 0; d--) {
// generate a random number

// this is the inner loop. It is
// executed for the length of the array
	while (i > 0) 
	{
// cat the random number to a string
	var randPromo = makeRandom() ;
	if (s.indexOf(randPromo) == -1) 	{
		if ( feature[randPromo] != null) 	{
			s = s + randPromo + ' , ' ;
			document.write(feature[randPromo] , '');
			j++
			i--;
										}
	          	}
// end the inner loop					
	}


// end the outer loop
							}
	}
//-->