﻿//javascript for nextexitcomics.com homepagevar autovanish = true;var ztoday = new Date();var zyear = ztoday.getFullYear();var zcopyrighttext = "All content copyright &copy; " + zyear + " <a href=\"http://www.nextexitcomics.com/contact/contact-emailform.php\" target=\"_blank\">Andrew Robinson</a> | Site designed by <a href=\"http://www.12gaugechicken.com/contact/\" target=\"_blank\">Greg DiGenti</a>";var allpops = ["dropdown6"];//This makes the dropdown menu appear when a main button is moused over//It also hides all other dropdownsfunction dropdown(divId){autovanish = false;document.getElementById(divId).style.visibility = "visible";	for(i=0;i<allpops.length;i++){		if(divId != allpops[i]){			document.getElementById(allpops[i]).style.visibility = "hidden";		}	}}//Hides all dropdowns if none of the links are moused over//for a specified amount of timefunction dropdowngone(){autovanish = true;	for(i=0;i<=1;i++){		setTimeout('checkautovanish()',2000);	}}//This is the function that runs in the dropdowngone timer abovefunction checkautovanish(){	if(autovanish == true){		for(i=0;i<allpops.length;i++){			document.getElementById(allpops[i]).style.visibility = "hidden";		}	}}//Sets the autovanish variable to false when a link is moused overfunction dontgo(){	autovanish = false;}function hide6(){	document.getElementById('dropdown6').style.visibility = "hidden";}function hiliteField(){	document.forms[0].Name.focus();}
