var PageLoaded = 0;

if (document.images) {
	agendaOff = new Image(); agendaOff.src="/conferences/2006symposium/images/nav/agenda.gif";
	agendaOn = new Image(); agendaOn.src="/conferences/2006symposium/images/nav/agendaOn.gif";
	registrationOff = new Image(); registrationOff.src="/conferences/2006symposium/images/nav/registration.gif";
	registrationOn = new Image(); registrationOn.src="/conferences/2006symposium/images/nav/registrationOn.gif";
	travelOff = new Image(); travelOff.src="/conferences/2006symposium/images/nav/travel.gif";
	travelOn = new Image(); travelOn.src="/conferences/2006symposium/images/nav/travelOn.gif";
	exhibitsOff = new Image(); exhibitsOff.src="/conferences/2006symposium/images/nav/exhibits.gif";
	exhibitsOn = new Image(); exhibitsOn.src="/conferences/2006symposium/images/nav/exhibitsOn.gif";
	
	plannerOff = new Image(); plannerOff.src="/conferences/2006symposium/images/nav/planner.gif";
	plannerOn = new Image(); plannerOn.src="/conferences/2006symposium/images/nav/plannerOn.gif";
	speakersOff = new Image(); speakersOff.src="/conferences/2006symposium/images/nav/speakers.gif";
	speakersOn = new Image(); speakersOn.src="/conferences/2006symposium/images/nav/speakersOn.gif";
	teamsOff = new Image(); teamsOff.src="/conferences/2006symposium/images/nav/teams.gif";
	teamsOn = new Image(); teamsOn.src="/conferences/2006symposium/images/nav/teamsOn.gif";
	faqsOff = new Image(); faqsOff.src="/conferences/2006symposium/images/nav/faqs.gif";
	faqsOn = new Image(); faqsOn.src="/conferences/2006symposium/images/nav/faqsOn.gif";
	newcomersOff = new Image(); newcomersOff.src="/conferences/2006symposium/images/nav/newcomers.gif";
	newcomersOn = new Image(); newcomersOn.src="/conferences/2006symposium/images/nav/newcomersOn.gif";
	newsroomOff = new Image();newsroomOff.src="/conferences/2006symposium/images/nav/newsroom.gif";
	newsroomOn = new Image(); newsroomOn.src="/conferences/2006symposium/images/nav/newsroomOn.gif";
	presentationsOff = new Image();presentationsOff.src="/conferences/2006symposium/images/nav/presentations.gif";
	presentationsOn = new Image(); presentationsOn.src="/conferences/2006symposium/images/nav/presentationsOn.gif";
}


function img_act(img) {
	if (document.images) {
	imgOn = eval(img + "On.src");
	document [img].src = imgOn;
	}
}

function img_inact(img) {
	if (document.images) {
	imgOff = eval(img + "Off.src");
	document [img].src = imgOff;
	}
}

var popupWindow = null;

function popup(url, features, width, height, x, y)
{
	if(popupWindow != null && !popupWindow.closed)
		popupWindow.close();
	
	popupWindow = window.open(url, "popupWindow", features+",width="+width+",height="+height+",screenX="+x+",screenY="+y+",left="+x+",top="+y);
	
	return popupWindow;
}
