// JavaScript Document


//function to get cookie name
function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		
	}
	return null;
}

//checks to see if cookie exists

var anylinkmenu1={} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
	//["Schedule At-A-Glance", "http://www.cnn.com/"],
	//["Searchable Program", "http://www.msnbc.com/"],
	//["Full Schedule", "http://www.google.com/"] //no comma following last entry!
]//Is set to empty

var anylinkmenu2={/*divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:'_new'*/} //Second menu variable. Same precaution.
anylinkmenu2.items=[
	//["Schedule At-A-Glance", "/conference/conf09/schedule_at_a_glance_08_19_2009.pdf"],
	//["Searchable Program", "/conference/search.taf"],
	//["Full Schedule", "/conference/conf09/ConfSchedule.pdf"] //no comma following last entry!
]

var anylinkmenu3={} //Third menu variable. Same precaution.
anylinkmenu3.cols={} //menu.cols if defined creates columns of menu links segmented by keyword "efc"
anylinkmenu3.items=[
	//["Dynamic Drive", "http://www.dynamicdrive.com/"],
	//["CSS Drive", "http://www.cssdrive.com/"],
	//["JavaScript Kit", "http://www.javascriptkit.com/"],
	//["Coding Forums", "http://www.codingforums.com/"],
	//["JavaScript Reference", "http://www.javascriptkit.com/jsref/", "efc"],
	//["CNN", "http://www.cnn.com/"],
	//["MSNBC", "http://www.msnbc.com/"],
	//["Google", "http://www.google.com/"],
	//["BBC News", "http://news.bbc.co.uk", "efc"],
	//["News.com", "http://www.news.com/"],
	//["SlashDot", "http://www.slashdot.com/"],
	//["Digg", "http://www.digg.com/"],
	//["Tech Crunch", "http://techcrunch.com"] //no comma following last entry!
]

