document.write('<div id="banner"><h1>Goldfields Performing Arts Festival 2005</h1>');document.writeln('</div><ul id="menu">');document.writeln('<li><a href="index.html">Welcome</a></li>');document.writeln('<li><a href="event.html">Festival Time &amp; Venue</a></li>');document.writeln('<li><a href="javascript:toggleLayer(1);">How can I enter?</a>');document.writeln('<ul id="layer1">');	document.writeln('<li><a href="registration.html">How to register</a></li>');	document.writeln('<li><a href="sections.html">Entry Sections</a></li>');	document.writeln('<li><a href="entry_guidelines.html">Entry guidelines</a></li>');	document.writeln('<li><a href="performance_guidelines.html">Performance guidelines</a></li>');document.writeln('</ul></li><li><a href="javascript:toggleLayer(2);">Want to know more?</a>');document.writeln('<ul id="layer2">');	document.writeln('<li><a href="enquiries.html">Enquiries</a></li>');	document.writeln('<li><a href="acknowledgments.html">Acknowledgments</a></li>');	document.writeln('<li><a href="howto.html">Running an Eisteddfod</a></li>');document.writeln('</ul></li></ul>');// Original JavaScript code by Duncan Crombie: dcrombie at chirp.com.auvar bikky = document.cookie;var today = new Date();var expiry = new Date(today.getTime() + 24 * 60 * 60 * 1000); // plus 1 dayfunction readCookie(name) {  var index = bikky.indexOf(name + "=");  if (index == -1) return null;  index = bikky.indexOf("=", index) + 1;   var endstr = bikky.indexOf(";", index);  if (endstr == -1) endstr = bikky.length;  return unescape(bikky.substring(index, endstr));}function makeCookie(name, value) {  if (value != null && value != "")    document.cookie = name + "=" + escape(value) + "; expires=" + expiry.toGMTString();  bikky = document.cookie;}// my Javascript menu functions:function toggleLayer(n) {  var obj = document.getElementById("layer" + n).style;  if (obj.display == "block") {    obj.display = "none";    makeCookie("menu" + n, "hide");  } else {    obj.display = "block";    makeCookie("menu" + n, "show");  }}// set the bar height to equal the page heightvar y;var test1 = document.body.scrollHeight;var test2 = document.body.offsetHeightif (test1 > test2) y = document.body.scrollHeight;  // all but Explorer Macelse y = document.body.offsetHeight;                // Explorer Macdocument.getElementById("menu").style.height = y - 270;// use a cookie to expand the correct menu itemsif (document.cookie.indexOf('menu1=') != -1)  if (readCookie('menu1') == "show") toggleLayer(1);if (document.cookie.indexOf('menu2=') != -2)  if (readCookie('menu2') == "show") toggleLayer(2);// statcounter codevar sc_project=654404; var sc_partition=5; var sc_security="be545f8e"; var sc_invisible=1; //document.write('<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c6.statcounter.com/counter.php?sc_project=654404&amp;java=0&amp;security=be545f8e&amp;invisible=1" alt="statistics" border="0"></a></noscript>');