/*

 * rotate.js

 *

 * Updated:  12:00pm 7/25/2006 <j-serafin at northwestern . edu>

 * 

 *

 */

 

 

// global vars...



var values = new Array() ;



// rotating images 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_image(img, url, caption) {

	add_random("image", "<a href='" + url + "' target='_blank'><img src='" + img + "' alt='" + caption + "' /><div id='caption'><p>" + caption + "</p></div></a>") ;

}



// rotating images definitions...


add_image(

	"images/rotating/brockmann1.jpg", 

	"http://www.northwestern.edu/newscenter/stories/2009/04/brockmann.html", 

        "Dirk Brockmann projects the spread of swine flu in the U.S."

);

add_image(

	"images/rotating/brockmann2.jpg", 

	"http://www.nytimes.com/2009/05/04/health/04model.html", 

	"A NY Times article discusses Dirk Brockmann's computer models of swine flu."

);
add_image(

	"images/rotating/amaral2.jpg", 

	"http://www.northwestern.edu/newscenter/stories/2009/03/amaral.html", 

	"Luis Amaral receives major appointment by the Howard Hughes Medical Institute."

);


add_image(

	"images/rotating/nsfreport.jpg", 

	"in_the_news/nsf_complex_systems.pdf", 

	"NSF issues report on complex systems in science and engineering."

);


add_image(

	"images/rotating/conf0063.jpg", 

	"http://amaral.northwestern.edu", 

	"Mesoscopic model for DNA and RNA folding dynamics (Luis A. N. Amaral and Marta Sales-Pardo)."

);



add_image(

	"images/rotating/fig-transition1.jpg", 

	"http://amaral.northwestern.edu", 

	"The efficiency with which the agents in a complex system can achieve system-wide coordination is improved remarkably when the communication channels are noisy and there are non-local connections (Luis A. N. Amaral, Daniel Diermeier, Abhishek A. Mathur, and Andre A. Moreira)."

);



add_image(

	"images/rotating/globe-new1.jpg", 

	"http://amaral.northwestern.edu", 

	"The worldwide air transportation network. Each circle represents a city and colors represent different communities (Luis A. N. Amaral and Roger Guimera)."

);



add_image(

	"images/rotating/graph.gif", 

	"http://amaral.northwestern.edu", 

	"Network of scientific collaborations between members of a department at Northwestern University. Colors represent communities within the department."

);



add_image(

	"images/rotating/int98-mod-15_.gif", 

	"http://amaral.northwestern.edu", 

	"A module of the Internet. Each node represents an internet provider, and different symbols indicate providers with distinct roles (Luis A. N. Amaral, Roger Guimera, and Marta Sales-Pardo)."

);



add_image(

	"images/rotating/NICO7A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);



add_image(

	"images/rotating/NICO15A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);

/*

add_image(

	"images/rotating/NICO19A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);



add_image(

	"images/rotating/NICO20A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);



add_image(

	"images/rotating/NICO21A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);



add_image(

	"images/rotating/NICO24A.jpg", 

	"http://amaral.northwestern.edu", 

	"Courtesy of Professor Luis Amaral's Research Group"

);

*/

add_image(

	"images/rotating/orbs01_sm.jpg", 

	"images/rotating/orbs01.jpg", 

	"...linking and synergizing existing and embryonic activities and have the maximum impact on the research and educational landscape of the institution.<br />(Click to enlarge the image.)"

);



add_image(

	"images/rotating/amaral_rot.jpg", 

	"http://www.mccormick.northwestern.edu/news/article.php?id=223", 

	"Luis Amaral Named Keck Foundation Distinguished Young Scholar"

);



add_image(

	"images/rotating/net.png", 

	"http://amaral.northwestern.edu/",

	"A model network of team-centered collaboration as generated according to Guimera et al. (Science, 2004).  The red and blue signifies two opposing opinions and the distribution of the colors represent the effect of the network structure on the ability of the individuals to agree on a single opinion. Luis A. N. Amaral, Daniel Diermeier, Marta Sales-Pardo, Andre A. Moreira and Sam Seaver"

);



add_image(

	"images/rotating/daisyworld.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Daisyworld model. An agent-based model of self-regulating temperature emerging from an ecosystem of black and white flowers. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/diffusion.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo DLA model. An agent-based model of diffusion limited aggregation. Uri Wilensky.  From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/ethnocentric.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Ethnocentrism model. An agent-based model of the evolution of ethnocentric behaviors in solidification of metals. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/fire.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Fire model. An agent-based model of the spread of a forest fire.,Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);





add_image(

	"images/rotating/flocking.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Flocking model.  An agent-based model of flocking in birds.,Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/materialsim.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo MaterialSim Grain Growth model. An agent-based model of microscopic crystal and grain formation. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/mandelbrot.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Mandelbrot model. An agent-based model of fractal formation of the Mandelbrot set. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/honeycomb.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Honeycomb model. An agent-based model of honeycomb formation by bees. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/crystallization.gif", 

	"http://ccl.northwestern.edu/netlogo/",

	"NetLogo Crystallization Basic model. An agent-based model of atom orientation in solidification of metals. Uri Wilensky. From the Center for Connected Learning and Computer-Based Modeling (CCL)"

);



add_image(

	"images/rotating/modules-roles.png", 

	"http://amaral.northwestern.edu/",

	"Cartographic representation of the metabolic network of E. coli (Luis A. N. Amaral and Roger Guimera)."

);



add_image(

	"images/rotating/speech-cellphone.jpg", 

	"http://www.tizmedia.org/speechandthecellphone.html",

	"NICO Language, Music and Communication Research Group join TizMedia for &quot;Speech and the Cell Phone&quot; project."

);



add_image(

	"images/rotating/diermeier-aspen-award.jpg", 

	"http://www.kellogg.northwestern.edu/news/whatsnew/diermeier-aspenaward.htm",

	"Prof. Daniel Diermeier receives the Aspen Institute's &quot;Faculty Pioneer&quot; Award"

);



add_image(

	"images/rotating/PhonaticsMainPage.jpg", 

	"http://ling.northwestern.edu/~phonatics/index.html",

	"Collaboration network for the Phonatics discussion group of NICO Language Music and Communication."

);



add_image(

	"images/rotating/NICO_FrenchReception.jpg", 

	"http://www.northwestern.edu/nico/centers/lmc/downloads/flyer_new.pdf",

	"Downtown Chicago viewed from the French Consulate at the reception for the NICO-French workshop on Dynamics and Complexity in People and Society."

);
