﻿
	function toggleLayer(whichLayer)
	{
	if (document.getElementById)
	{
	// this is the way the standards work
	var style2 = document.getElementById(whichLayer).style;
	style2.display = style2.display? "":"block";

	}
	else if (document.all)
	{
	// this is the way old msie versions work
	var style2 = document.all[whichLayer].style;
	style2.display = style2.display? "":"block";

	}
	else if (document.layers)
	{
	// this is the way nn4 works
	var style2 = document.layers[whichLayer].style;
	style2.display = style2.display? "":"block";
	}
	}


	function hide(object) {
	    if (document.getElementById && document.getElementById(object) != null)
	         node = document.getElementById(object).style.display='none';
	    else if (document.layers && document.layers[object] != null)
	        document.layers[object].display = 'none';
	    else if (document.all)
	         document.all[object].style.display = 'none';}

function RunFoo()
{
   document.write('<object type="application/x-shockwave-flash" data="../homepage.swf" width="280" height="280">\n');
   document.write(' <param name="movie" value="../homepage.swf" />\n');
   document.write('</object>\n');
}
