// JavaScript Document
function home_dynamic()
{
	<!-- BEGIN NUMBER OF EVENTS/NEWS EDITABLE AREA -->
	var num_events = 3;
	var num_news = 3;
	<!-- END NUMBER OF EVENTS/NEWS EDITABLE EDITABLE AREA -->
	
	var events = new Array(
						   <!-- BEGIN EVENTS ARRAY EDITABLE AREA -->
						   
						   '<strong><a> Tuesday, February 3 at 3:00 pm </a></span><a href="http://www.uic.edu/cuppa/gci/events/archive/0902Gutstein.htm"><br> </a></strong> <a href="http://www.uic.edu/cuppa/gci/events/archive/0902harris.htm"><strong>Kirk Harris</strong> <br><strong>School for Urban Planning and Architecture:<br> </strong></a><a href="http://www.uic.edu/cuppa/gci/events/archive/0902harris.htm"><strong><em>Challenges and Innovation in Urban High School Education </em></strong></a>'
						   ,
						   '<strong> <span class="style5"><a>Tuesday, February 17 at 3:00 pm </a></span><a href="http://www.uic.edu/cuppa/gci/events/archive/0902Gutstein.htm"><br> </a></strong> <a href="http://www.uic.edu/cuppa/gci/events/archive/0902Gutstein.htm"><strong>Eric Gutstein</strong> Faculty Scholar Presentation <br><strong><em> Learning Mathematics through Investigating Urban Social Reality</em></strong></a><strong><em> </em> <strong> <a>'
						   ,
						   '<strong><span class="style5"><a href="http://www.uic.edu/cuppa/gci/events/archive/0903gaffikin.htm">Tuesday, March 3 at 3:00 pm</a></span><a href="http://www.uic.edu/cuppa/gci/events/archive/0903gaffikin.htm"><br>        Frank Gaffikin</a></strong> <a href="http://www.uic.edu/cuppa/gci/events/archive/0903gaffikin.htm"><em> Director &ndash Institute of Spactial and Environmental Planning &ndash; <strong>Collaborative Planning In the Contested City</strong></em> </a><strong>&nbsp;</strong>'
						   ,
						   '<strong><span class="style5"><a href="http://www.uic.edu/cuppa/gci/events/archive/0901Weber.htm">Tuesday, January 27 at 3:00 pm</a></span><a href="http://www.uic.edu/cuppa/gci/events/archive/0901Weber.htm"><br>          Rachel Weber</a></strong><a href="http://www.uic.edu/cuppa/gci/events/archive/0901Weber.htm">, UIC, Urban Planning and Policy<br>  <em><strong> The timing of TIF: Why did the city of Chicago subsidize the last construction boom?<strong></em></a><em></em>'
						   ,
						   '<strong><a>Tuesday, February 10 at 3:00 pm </a></span><a href="http://www.uic.edu/cuppa/gci/events/archive/0902martire.htm"><br> </a></strong> <a href="http://www.uic.edu/cuppa/gci/events/archive/0902martire.htm"><strong Ralph Martire </strong> Executive Director, Center for Tax and Budget Accountability <br><strong><em> The Role of Race in Illinois Economy and Education System' 
						   <!-- END EVENTS ARRAY EDITABLE AREA -->
						   );

	var news = new Array(
						 <!-- BEGIN EVENTS ARRAY EDITABLE AREA -->
						 '<a href="http://tigger.uic.edu/cuppa/gci/whatwedo/competitions/facscholar.pdf">The 2009-2010 Great Cities Institute Faculty Scholar competition is now open.&nbsp; Click here for the guidelines and application.</a>'
						 ,
						 '<a href="http://tigger.uic.edu/cuppa/gci/whatwedo/competitions/seedfund.pdf">The 2009-2010   Great Cities Institute Faculty <SPAN id="lw_1222393518_0">Seed   Fund Award</SPAN> competition is now open.&nbsp; Click here for the guidelines   and application.</a>'
						 ,
						 '<font size="2"><a href="news/compton_news.htm">GCI welcomes James W. Compton as the new Vernon D. Jarrett Senior			    Fellow for 2008...</a></font>'
						 <!-- END EVENTS ARRAY EDITABLE AREA -->
						 );
	
	/*********************************\
	 ** DO NOT EDIT BELOW THIS LINE **
	\*********************************/
	var r;
	for( i=0; i<num_events; i++ )
	{
		r = Math.floor(Math.random()*events.length);
		document.getElementById( 'home_dynamic_events' ).innerHTML += "<p>" + events[r] + "<br><br></p>";
		events.splice( r, 1 );
	}
	for( i=0; i<num_news; i++ )
	{
		r = Math.floor(Math.random()*news.length);
		document.getElementById( 'home_dynamic_news' ).innerHTML += "<p>" + news[r] + "<br><br></p>";
		news.splice( r, 1 );
	}
}
