function RunFoo()

{

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,0,0" width="800" height="20">\n');

document.write('<PARAM name="MOVIE" value="images/top[2].swf">\n');

document.write('<PARAM name="menu" value="false">\n');

document.write('<PARAM name="LOOP" value="false">\n');

document.write('<PARAM name="QUALITY" value="High">\n');

document.write('<EMBED src="images/top[2].swf" width="800" height="20" type="a">\n');

document.write('</object>\n');

}

function _HpbImgSwap(imgName, imgSrc)
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var img = document.images[imgName];
      if (!img) img = _HpbImgFind(document, imgName);
      if (img) img.src = imgSrc;
    }
  }
}

function _HpbImgFind(doc, imgName)
{
  for (var i=0; i < doc.layers.length; i++)
  {
    var img = doc.layers[i].document.images[imgName];
    if (!img) img = _HpbImgFind(doc.layers[i], imgName);
    if (img) return img;
  }
  return null;
}

function disp(url){

	window.open(url, "airmap", "width=500px,height=600px,scrollbars=no");

}
function disp(url){

	window.open(url, "divamap", "width=500px,height=600px,scrollbars=no");

}