// JavaScript Document
var values = new Array() ;

// rotating story functions
function add_random(key, value) {
	if(values[key] == null) {
		var newArray = new Array() ;
		values[key] = newArray ;
	}	
	values[key][values[key].length] = value ;
}

function write_random(key) {
	var random = Math.floor(Math.random()*values[key].length) ;
	document.write(values[key][random]) ;
}

function add_story(content, location) {
	add_random("story", "<p style=\"line-height:1.2em;\">" + content + " <a href=\"/ord/about/success-stories.html#" + location + "\">Learn More</a></p>") ;
}


// rotating story definitions...
add_story(
	"The <strong>Chicago Consortium for Art History</strong> was formed to bring together the collaborative efforts of Northwestern University, The University of Chicago, the University of Illinois at Chicago, the Art Institute, and the Newberry Library.", 
	"art-history"
);

add_story(
	"The $20M NCI-funded Nanomaterials for Cancer Diagnostics and Therapeutics&rsquo; <a href=\"http://www.ccne.northwestern.edu/\" target=\"_blank\"><strong>Center of Cancer Nanotechnology Excellence</strong></a> (CCNE) advances nanotechnology as a critical driver of advances in oncology and cancer research leading to near-term benefits for patients.",
	"cancer-nano"
);

add_story(
	"The $21M <a href=\"http://oncofertility.northwestern.edu/\" target=\"new\"><strong>Oncofertility Consortium: Fertility Preservation for Women</strong></a>, led by Professor Teresa Woodruff, PhD, within the <a href=\"http://www.womenshealth.northwestern.edu/\" target=\"_blank\">Institute for Women's Health Research</a>, was established through the NIH Roadmap Interdisciplinary Research Consortia. program.",
	"oncofertility"
);

add_story(
	"With a $31M <acronym title=\"National Institute of Allergy and Infectious Diseases\">NIAID</acronym> contract award to <strong>Professor Wayne Anderson, PhD</strong>, and an inter-institutional, international team, for a <strong>Structural Genomics Center of Infectious Diseases</strong>, Northwestern established a large-scale structural genomics center for infectious diseases.",
	"genomics-center"
);

add_story(
	"In January 2008, Northwestern signed an MOU with Argonne National Laboratory to establish the joint <strong>Institute for Sustainable Practices</strong> (ISP), led by Professor Kimberly Gray at Northwestern.",
	"sustainable"
);
