img1off = new Image()
img1off.src = "/images/nav_home_off.gif"
img1on = new Image()
img1on.src = "/images/nav_home_on.gif"
img2off = new Image()
img2off.src = "/images/nav_publications_off.gif"
img2on = new Image()
img2on.src = "/images/nav_publications_on.gif"
img3off = new Image()
img3off.src = "/images/nav_why_advertise_off.gif"
img3on = new Image()
img3on.src = "/images/nav_why_advertise_on.gif"
img4off = new Image()
img4off.src = "/images/nav_contact_info_off.gif"
img4on = new Image()
img4on.src = "/images/nav_contact_info_on.gif"
img5off = new Image()
img5off.src = "/images/nav_company_profile_off.gif"
img5on = new Image()
img5on.src = "/images/nav_company_profile_on.gif"

img11off = new Image()
img11off.src = "/publications/images/nav_alliance_theatre_off.gif"
img11on = new Image()
img11on.src = "/publications/images/nav_alliance_theatre_on.gif"
img12off = new Image()
img12off.src = "/publications/images/nav_antiques_atlanta_off.gif"
img12on = new Image()
img12on.src = "/publications/images/nav_antiques_atlanta_on.gif"
img13off = new Image()
img13off.src = "/publications/images/nav_atlanta_go_off.gif"
img13on = new Image()
img13on.src = "/publications/images/nav_atlanta_go_on.gif"
img14off = new Image()
img14off.src = "/publications/images/nav_fest_of_trees_off.gif"
img14on = new Image()
img14on.src = "/publications/images/nav_fest_of_trees_on.gif"
img15off = new Image()
img15off.src = "/publications/images/nav_miami_circle_off.gif"
img15on = new Image()
img15on.src = "/publications/images/nav_miami_circle_on.gif"
img16off = new Image()
img16off.src = "/publications/images/nav_museums_galleries_off.gif"
img16on = new Image()
img16on.src = "/publications/images/nav_museums_galleries_on.gif"
img17off = new Image()
img17off.src = "/publications/images/nav_peachtree_papers_off.gif"
img17on = new Image()
img17on.src = "/publications/images/nav_peachtree_papers_on.gif"

function imageOn(imgName) {
	if (document.images) {
	imgOn = eval(imgName + "on.src")
	document[imgName].src = imgOn
	}
}

function imageOff(imgName) {
	imgOff = eval(imgName + "off.src")
	document[imgName].src = imgOff
}

function doPop(thePage) {
var pageWin = null;
	if (pageWin == null) {
		pageWin = window.open(thePage,winName,"resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,copyhistory=0,width=250,height=360");
	pageWin.focus()
	pageWin.document.close()
	}
}
function windowPop(url) {
var pageWin = null;
	if (pageWin == null) {
		pageWin = window.open(url,"thePopup","resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,copyhistory=0,width=250,height=360");
	}
	pageWin.focus();
	pageWin.document.close();
}

var timer = "";
var openMenu = null;
var canMenuBeClosed = true;

function showColor(obj) {
	document.getElementById(obj).style.backgroundColor = "#cccccc";
}
function hideColor(obj) {
	document.getElementById(obj).style.backgroundColor = "#ffffff";
}
function showSubmenu(id,canMenuBeClosed) {
	if (document.getElementById) {
	clearTimer();
	document.getElementById(id).style.visibility = "visible";
	openMenu = id;
	}
}
function hideSubmenu(id) {
	if (canMenuBeClosed = true) {
		document.getElementById(id).style.visibility = "hidden";
		openMenu = null;
	}
}
function clearTimer() {
	window.clearTimeout(timer);
}

function tryToClose(id,canMenuBeClosed) {
	clearTimer();
	if (canMenuBeClosed == "true") {
		timer = window.setTimeout("hideSubmenu('menu')", 400);
	}
}
