function RunSmallMenu()
{
   document.write('<object id="iehackobjsm" class=".menu" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="232" height="212" style="z-index: 2;">\n');
   document.write('<param name="movie" value="Flash/menu_small.swf">\n');
   document.write('<param name="quality" value="high">\n');
   document.write('<embed src="Flash/menu_small.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="232" height="212" style="z-index: 2;"></embed>\n');
   document.write('</object>\n');
}

function RunMenu()
{
   document.write('<object id="iehackobjm" class=".menu" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="278" height="212" style="z-index: 2;">\n');
   document.write('<param name="movie" value="Flash/menu.swf">\n');
   document.write('<param name="quality" value="high">\n');
   document.write('<embed src="Flash/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="278" height="212" style="z-index: 2;"></embed>\n');
   document.write('</object>\n');
}

function RunAd()
{
   document.write('<object id="iehackobjad" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" style="margin-top: 11px; z-index: 2;" width="460" height="195">\n');
   document.write('<param name="movie" value="Flash/imagerotator.swf">\n');
   document.write('<param name="quality" value="high">\n');
   document.write('<embed src="Flash/imagerotator.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="460" height="195" style="margin-top: 11px; z-index: 2;"></embed>\n');
   document.write('</object>\n');
}

function hideObj(name)
{
  if (document.getElementById)
  {
  	document.getElementById(name).style.visibility = "hidden";
  }
  else if (document.all)
  {
	document.all[name].style.visibility = "hidden";
  }
  else if (document.layers)
  {
   	document.layers[name].visibility = "hidden";
  }
}

function showObj(name)
{
  if (document.getElementById)
  {
  	document.getElementById(name).style.visibility = "visible";
  }
  else if (document.all)
  {
	document.all[name].style.visibility = "visible";
  }
  else if (document.layers)
  {
   	document.layers[name].visibility = "visible";
  }
}

function ShowWindow(CSS_class, html) {
	var browserName=navigator.appName; 
	document.getElementById('window').className = CSS_class;
	document.getElementById('window').innerHTML = html;
	hideObj('banner');
	return false;
}

function DistroyWindow() {
	var browserName=navigator.appName; 
	document.getElementById('window').className = 'hidden';
	document.getElementById('window').innerHTML = '';
	showObj('banner');
	return false;
}
