<!--Begin Hiding Javascript from older browsers

var today;

today = new Date();

var isnMonths=new isnArray ( "January", "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" );

var isnDays= new isnArray ( "Monday" , "Tuesday" , "Wednesday" , "Thursday" , "Friday" , "Saturday" , "Sunday" );

isnDays[0]="Sunday";

function isnArray() {

	argnr=isnArray.arguments.length

	for (var i=0;i<argnr;i++) {

		this[i+1] = isnArray.arguments[i];

	}

}

function MM_displayStatusMsg(msgStr) { //v2.0 - modified to work in IE as well as Navigator

	window.status=msgStr;

}

function plainWindow(image)
{

	plain_window = window.open("showcase.php3?image=" + image,"plain","width=450,height=400");

}

function WM_netscapeCssFix() {
  /*
    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Taylor
    Author Email: taylor@wired.com
    Author URL: http://www.taylor.org/
    */

  // This part was inspired by Matthew_Baird@wayfarer.com
  // It gets around another unfortunate bug whereby Netscape 
  // fires a resize event when the scrollbars pop up. This 
  // checks to make sure that the window's available size 
  // has actually changed.
  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function WM_netscapeCssFixCheckIn() {
  // This function checks to make sure the version of Netscape 
  // in use contains the bug; if so, it records the window's 
  // width and height and sets all resize events to be handled 
  // by the WM_netscapeCssFix() function.
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
      document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
      document.WM.WM_netscapeCssFix = new Object;
      document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
  }
}

function
gotoPage(page)	{

var browserName = navigator.appName;

var version = parseFloat(navigator.appVersion);

//document.write(browserName);
//document.write(version);


if(browserName == "Netscape" && version >= 4 && version < 5)	{

	window.location = "ocmet.php3?browser=ns&destination=" + page;

	}

else if(browserName == "Microsoft Internet Explorer" && version >= 4)	{

	window.location = "ocmet.php3?browser=ie&destination=" + page;

	}

else if (browserName == "Netscape" && version >= 5)	{

	window.location="ocmet.php3?browser=ie&destination=" + page;

	}

else	{

	document.write("Invalid Browser");

	}

}

WM_netscapeCssFixCheckIn();

function barTog (menu)	{

var hidden;
var visible;

	if(document.layers)	{

		hidden = 'hide';
		visible = 'show';
		daMenu = document.layers[menu];

	}

	else if (document.all)	{

		hidden = 'hidden';
		visible = 'visible';
		daMenu = document.all(menu).style;

	}

	if (daMenu.visibility == visible)
		{
		daMenu.visibility = hidden;
		}
	else
		{
		daMenu.visibility = visible;
		}
		lastMenu = daMenu;
}

//Stop Hiding from older browsers -->

