function CRCV_netscapeCssFix() {
  if (document.CRCV.CRCV_netscapeCssFix.initWindowWidth != window.innerWidth || document.CRCV.CRCV_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function CRCV_netscapeCssFixCheckIn() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.CRCV == 'undefined'){
      document.CRCV = new Object;
    }
    if (typeof document.CRCV.CRCV_scaleFont == 'undefined') {
      document.CRCV.CRCV_netscapeCssFix = new Object;
      document.CRCV.CRCV_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.CRCV.CRCV_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = CRCV_netscapeCssFix;
  }
}

function hAll() {
	if (document.getElementById) {
	document.getElementById("aboutmenubar").style.visibility='hidden';
	document.getElementById("publicationsmenubar").style.visibility='hidden';
	document.getElementById("edutrainmenubar").style.visibility='hidden';
	document.getElementById("viticaremenubar").style.visibility='hidden';
	document.getElementById("project1menubar").style.visibility='hidden';
	document.getElementById("project2menubar").style.visibility='hidden';
	document.getElementById("project3menubar").style.visibility='hidden';
	document.getElementById("linksmenubar").style.visibility='hidden';
	document.getElementById("calendarmenubar").style.visibility='hidden';
	document.getElementById("contactmenubar").style.visibility='hidden';	document.getElementById("transtrig").style.visibility='hidden';
	}
	if (document.layers) {
	document.layers["aboutmenubar"].visibility = 'hide';
	document.layers["publicationsmenubar"].visibility = 'hide';
	document.layers["edutrainmenubar"].visibility = 'hide';
	document.layers["viticaremenubar"].visibility = 'hide'; 
 document.layers["project1menubar"].visibility = 'hide';
 document.layers["project2menubar"].visibility = 'hide';
 document.layers["project3menubar"].visibility = 'hide';
 document.layers["calendarmenubar"].visibility = 'hide';
 document.layers["contactmenubar"].visibility = 'hide';
  document.layers["linksmenubar"].visibility = 'hide';	document.layers["transtrig"].visibility = 'hide';
	}
}

function go(item) {
	if (document.getElementById) {
	document.getElementById(item).style.visibility='visible';
	document.getElementById("transtrig").style.visibility='visible';
	}
	if (document.layers) {
	document.layers[item].visibility = 'show';
	document.layers["transtrig"].visibility = 'show';
	}
}

function handleError() {
	return true;
}

function DomCheck() {
  if (!document.getElementById) {
    document.write('<code><br>Standards compliant browsers are recommended. You are using a superceded browser, and even though we take great care to provide cross browser compatibility, we strongly suggest you <a href="http://www.webstandards.org/upgrade/">upgrade</a> so you can get the most out of your Web experience. Standards compliant versions of Web browsers are available for all common operating systems. <a href="http://www.webstandards.org/edu_faq.html">Find out</a> what Web standards are and why we should use them.</code>');
    }
  }

window.onerror = handleError;

CRCV_netscapeCssFixCheckIn();

