// JavaScript Document
function prodOpen(){
	document.getElementById("nav1").style.display = "block";
	document.getElementById("nav2").style.display = "block";
	document.getElementById("nav3").style.display = "block";
	document.getElementById("nav4").style.display = "block";
	document.getElementById("nav5").style.display = "block";
	document.getElementById("nav6").style.display = "block";
} 
function prodClose(){
	document.getElementById("nav1").style.display = "none";
	document.getElementById("nav2").style.display = "none";
	document.getElementById("nav3").style.display = "none";
	document.getElementById("nav4").style.display = "none";
	document.getElementById("nav5").style.display = "none";
	document.getElementById("nav6").style.display = "none";
}
function confOpen(){
	document.getElementById("conf1").style.display = "block";
	document.getElementById("conf2").style.display = "block";
	document.getElementById("conf3").style.display = "block";
	document.getElementById("conf4").style.display = "block";
} 
function confClose(){
	document.getElementById("conf1").style.display = "none";
	document.getElementById("conf2").style.display = "none";
	document.getElementById("conf3").style.display = "none";
	document.getElementById("conf4").style.display = "none";
}


function writeNav(page){
	document.writeln('<DIV ID="navbox" style="position:absolute; top:162px; left:136px; z-index:6;">');
	document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="136">');
    document.writeln('<tr><td><a href="index.html" onMouseUp="prodClose();confClose();" class="nav">Home</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="mission.html" onMouseUp="prodClose();confClose();" class="nav">Mission Statement</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="javascript:prodOpen();confClose();" class="nav">Productions</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr id="nav1" style="display:none;"><td>&nbsp;&nbsp;&nbsp; <a href="current.html" class="subnav">Current Productions</a></td></tr>');
    document.writeln('<tr id="nav2" style="display:none;"><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr id="nav3" style="display:none;"><td>&nbsp;&nbsp;&nbsp; <a href="future.html" class="subnav">Future Productions</a></td></tr>');
    document.writeln('<tr id="nav4" style="display:none;"><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr id="nav5" style="display:none;"><td>&nbsp;&nbsp;&nbsp; <a href="past.html" class="subnav">Past Productions</a></td></tr>');
    document.writeln('<tr id="nav6" style="display:none;"><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="javascript:confOpen();prodClose();" class="nav">Conferences</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr id="conf1" style="display:none;"><td>&nbsp;&nbsp;&nbsp; <a href="conf_future.html" class="subnav">* Future Conferences</a></td></tr>');
    document.writeln('<tr id="conf2" style="display:none;"><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr id="conf3" style="display:none;"><td>&nbsp;&nbsp;&nbsp; <a href="conf_past.html" class="subnav">Past Conferences</a></td></tr>');
    document.writeln('<tr id="conf4" style="display:none;"><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="guests.html" onMouseUp="prodClose();confClose();" class="nav">Guests</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="contact.html" onMouseUp="prodClose();confClose();" class="nav">Contact Info</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="links.html" onMouseUp="prodClose();confClose();" class="nav">Links</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="tickets.html" onMouseUp="prodClose();confClose();" class="nav">Tickets</a></td></tr>');
    document.writeln('<tr><td><img src="images/spacer.gif" alt="blank space" width="1" height="12" border="0" /></td></tr>');
    document.writeln('<tr><td><a href="auditions.html" onMouseUp="prodClose();confClose();" class="nav">Upcoming Auditions</a></td></tr>');
    document.writeln('</table>');
	document.writeln('</DIV>');
}

