function loadBanner()
{
	var i = Math.floor(Math.random((new Date()).getTime()) * 4);
	//alert(document.getElementById("splash-bar").style.backgroundImage);
	document.getElementById("splash-bar").style.backgroundImage = "url(imgs/banners/banner" + i + ".jpg)";
	//alert(document.getElementById("splash-bar").style.background);
	
	//document.getElementById("splash-bar").style.backgroundImage = "url(imgs/banners/banner0.jpg)";
}

function loadColumns()
{
	var organizers = [];
	organizers[0] = {img:"imgs/organizers/dias.jpg", alt:"M. Bernardine Dias", title:"Organizers", text:"Conference Chair<br/><a href='http://www.cs.cmu.edu/~mbdias'>M. Bernardine Dias, Ph.D.</a>, Founder and Director, TechBridgeWorld; Assistant Research Professor, Carnegie Mellon University"}; 
	organizers[1] = {img:"imgs/organizers/heeks.jpg", alt:"Richard Heeks", title:"Organizers", text:"Program Committee Co-Chair<br/><a href='http://www.sed.manchester.ac.uk/idpm/staff/heeks_richard.htm'>Richard Heeks, Ph.D.</a>, Professor of Development Informatics, The University of Manchester"};
	organizers[2] = {img:"imgs/organizers/tongia.jpg", alt:"Rahul Tongia", title:"Organizers", text:"Program Committee Co-Chair<br/><a href='http://www.epp.cmu.edu/httpdocs/people/bios/tongia.html'>Rahul Tongia, Ph.D.</a>, Associate Director, TechBridgeWorld, Senior Systems Scientist, Carnegie Mellon University"};
	organizers[3] = {img:"imgs/organizers/mertz.jpg", alt:"Joseph Mertz", title:"Organizers", text:"Workshops and Panels Co-Chair<br/>Joseph Mertz, Ph.D., Associate Director, TechBridgeWorld, Associate Teaching Professor, Carnegie Mellon University"};
	
	var venue = []
	venue[0] = {img:"imgs/venue/venue1_small.jpg", alt:"Venue", title:"Venue", text:"Carnegie Mellon Qatar offers students in the Gulf access to one of the most highly regarded universities in the United States. Annually ranked one of the country's top-performing institutions, Carnegie Mellon's programs in computer science and business are among its leading assets."};
	venue[1] = {img:"imgs/venue/venue2_small.jpg", alt:"Venue", title:"Venue", text:"Carnegie Mellon Qatar offers students in the Gulf access to one of the most highly regarded universities in the United States. Annually ranked one of the country's top-performing institutions, Carnegie Mellon's programs in computer science and business are among its leading assets."};
	venue[2] = {img:"imgs/venue/venue3_small.jpg", alt:"Venue", title:"Venue", text:"Carnegie Mellon Qatar offers students in the Gulf access to one of the most highly regarded universities in the United States. Annually ranked one of the country's top-performing institutions, Carnegie Mellon's programs in computer science and business are among its leading assets."};
	
	var sponsors = [];
	sponsors[0] = {img:"imgs/sponsors/cmuq_panel_small.jpg", alt:"CMU Qatar", title:"Sponsors", text:"<a href='http://www.qatar.cmu.edu'>Carnegie Mellon University Qatar</a><br/>Carnegie Mellon University in Qatar is committed to bringing the best in interdisciplinary education and research to Qatar and the surrounding region."};
	sponsors[1] = {img:"imgs/sponsors/tbw_panel_small.jpg", alt:"TechBridgeWorld", title:"Sponsors", text:"<a href='http://www.techbridgeworld.org'>TechBridgeWorld, Carnegie Mellon University</a><br/>TechBridgeWorld innovates and implements technology solutions to meet sustainable development needs around the world."};
	
	load(2, venue);
	load(3, organizers);
	load(4, sponsors);
}

function load(id, list)
{
	var content = list[Math.floor(Math.random((new Date()).getTime()) * list.length)];

	var img = document.getElementById("img" + id);
	img.src = content.img;
	img.alt = content.alt;
	
	document.getElementById("title" + id).innerHTML = content.title;
	
	document.getElementById("content" + id).innerHTML = content.text;
}