
function erase() {
window.status="";
}
function statbar(txt) {
window.status = txt;
setTimeout("erase()",6000);
}
function xnewin( wind, picture, anch, alt )	{
aventana=
window.open( picture,
wind,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+anch+',height='+alt);
} 


if ( screen.availwidth < 800 ) {
      document.write("<table width=50% border=0 CELLPADDING=0 CELLSPACING=0 align=left><tr><td>");
      document.write("<Font size=+1 color=#ff0000>Minimum screen resolution for viewing this site is 800x600" )
      document.write(" and you are currently using " + screen.availwidth + "x" + screen.height + "</font>");
      document.write("</td></tr></table><br><br><br><br><br><br><br><br><br>");
      // availwidth
}


Xoffset=-60;    // modify these values to ...
Yoffset= 20;    // change the popup position.

var old,skn,iex=(document.all),yyy=-1000;

var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4=document.all

if (ns4)
skn=document.dek
else if (ns6)
skn=document.getElementById("dek").style
else if (ie4)
skn=document.all.dek.style
if(ns4)document.captureEvents(Event.MOUSEMOVE);
else{
skn.visibility="visible"
skn.display="none"
}
document.onmousemove=get_mouse;

function popup(msg,bak){
var content="<TABLE  WIDTH=150 BORDER=1 BORDERCOLOR=#FFFFCC CELLPADDING=2  CELLSPACING=0 "+
"BGCOLOR="+bak+"><TD ALIGN=center><FONT COLOR=black SIZE=2>"+msg+"</FONT></TD></TABLE>";
yyy=Yoffset;
  if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(ns6){document.getElementById("dek").innerHTML=content;skn.display=''}
 if(ie4){document.all("dek").innerHTML=content;skn.display=''}
}

function get_mouse(e){
var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft;
skn.left=x+Xoffset;
var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop;
skn.top=y+yyy;
}

function kill(){
yyy=-1000;
if(ns4){skn.visibility="hidden";}
else if (ns6||ie4)
skn.display="none"
}


var menucode=new Array(5);
menucode[0]="<a class=menu  href=/database/>Database</a> | <a class=menu  href=/news/>Helicopter News</a> | <a class=menu  href=/stories/>Stories</a> | <a class=menu  href=/programs/>Programs</a> | <a class=menu  href=/movies/>Video clips</a> | <a class=menu  href=/sounds/>Sounds</a>";
menucode[1]="<a class=menu  href=/howflies/><b>All articles</b></a></b> | <a class=menu  href=/howflies/prflight.php>Principles</a> | <a class=menu  href=/howflies/ontheair.php>Flying</a> | <a class=menu  href=/howflies/rotconf.php>Configuration</a> | <a class=menu  href=/howflies/servo.php>Servo flap</a>  | <a class=menu  href=/howflies/igeoge.php>IGE/OGE</a> | <a class=menu  href=/howflies/autorot.php>Autorotation</a> ";
menucode[2]="<a class=menu  href=/using/>Index</a> </b> | <a class=menu  href=/using/benefit.php>Benefits</a> | <a class=menu  href=/using/kind.php>What kind?</a> | <a class=menu  href=/types/comultra.php>Ultralights</a> | <a class=menu  href=/featured/pplh.php>Flight Training</a>";
menucode[3]="<a class=menu  href=/featured/>Index</a>  | </b> <a class=menu  href=/types/tiltrotor.php>Tiltrotors</a> | <a class=menu  href=/types/gunship.php>Gunships</a> | <a class=menu  href=/featured/katrina.php>Katrina</a> | <a class=menu  href=/featured/eagle_claw.php>Op. Eagle Claw</a>  |   <a class=menu  href=/featured/uscg.php>US Coast Guard</a> ";
menucode[4]="<a class=menu  href=/timeline/aerospatiale.php>Aerospatiale</a> | <a class=menu  href=/timeline/agusta.php>Agusta</a> | <a class=menu  href=/timeline/bell.php>Bell</a> | <a class=menu  href=/timeline/boeing.php>Boeing</a> | <a class=menu  href=/timeline/eurocopter.php>Eurocopter</a> | <a class=menu  href=/timeline/kamov.php>Kamov</a>  | <a class=menu  href=/timeline/mil.php>Mil</a> | <a class=menu  href=/timeline/robinson.php>Robinson</a> | <a class=menu  href=/timeline/sikorsky.php>Sikorsky</a> | <a class=menu  href=/timeline/westland.php>Westland</a> | <a class=menu  href=/default/>more</a> ";

function showmenu (menu) {
	var o=document.getElementById('menudiv');
      if(o){
           o.innerHTML="&nbsp;&nbsp;&nbsp;" + menucode[menu] + "&nbsp;&nbsp;&nbsp;";        
	     o.style.visibility="visible";
      }
}

/*
function sendfriend(){
	var o=document.getElementById('sfdiv');
      if(o){
            if (o.style.visibility=="visible") o.style.visibility="hidden";
            else                               o.style.visibility="visible";
      }
}
function sendfriendm(){
      var o=document.getElementById('fsf');
      if(o){
            o.submit();
            o=document.getElementById('sfdiv');
            o.style.visibility="hidden"; 
            alert("Thank you!");
      }
}
*/
