function mmLoadMenus() {
  if (window.mm_menu_0311194319_0) return;
    window.mm_menu_0311194319_0 = new Menu("root",140,25,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#CCCCCC","#255FA9","#255FA9","left","middle",2,0,50,-5,7,true,true,true,0,true,true);
  mm_menu_0311194319_0.addMenuItem("Introduction","location='/English/AboutUs/index.html'");
  mm_menu_0311194319_0.addMenuItem("Mission&nbsp;&&nbsp;Vision","location='/English/Mission/index.html'");
  //mm_menu_0311194319_0.addMenuItem("Letter&nbsp;To&nbsp;Shareholders","location='/English/LetterToShareholders/index.html'");
   mm_menu_0311194319_0.hideOnMouseOut=true;
   mm_menu_0311194319_0.bgColor='#FFFFFF';
   mm_menu_0311194319_0.menuBorder=0;
   mm_menu_0311194319_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0311194319_0.menuBorderBgColor='#E7E7E7';

mm_menu_0311194319_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


//function moveover()
//{
//document.getElementById('image').src="/English/images/Arabic-icon_mouseover.gif"
//}
//function moveback()
//{
//document.getElementById('image').src="/English/images/Arabic-icon.gif"
//}


var topheader;
topheader= "";
topheader += "<table border='0' align='center' cellpadding='0' cellspacing='0' width='1000'>";
topheader += "<tr><td  width='100%' background='/English/images/well/head_.gif' >";
topheader += "<a href='http://www.nakilat.com.qa/English/index.aspx'><img src='/English/images/Logo11-10.gif'  alt='' border='0'></a></td>";
topheader += "<td  width='100%'>";
topheader += "<img src='/English/images/center-n.gif'  alt='' border='0'></td>";


if(slink == "welcometonakilat")
{
topheader += "<td  width='10%'><a href='/Arabic/index.aspx'><img src='/English/images/arabic-left.gif'  alt='' border='0'></a></td>"


//<img onmouseover='moveover()' onmouseout='moveback()' id='image' style='margin-top: 29px;' border=0 src=/English/images/Arabic-icon.gif>
}
else
{topheader += "<td ><img src='/English/images/well/left-n.png'  alt='' border='0'></td>"}


topheader += "</tr></table>";
topheader += "<table border='0' align='center' cellpadding='0' cellspacing='0' width='1000'>";
topheader += "<tr>";
topheader += "<td width='692'>";
topheader += "</td><td class=nak_toplink>";
topheader+="<table border='0' width='1000' id='table1' cellspacing='0' cellpadding='0'>";
topheader+="<tr>";
if(slink == "welcometonakilat")
{ 
topheader+="<td width=62 class=nak_toplinkover>Home</td>";
}
else
{
topheader+="<td width=62 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/index.aspx'>Home</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "aboutus")
{
topheader+="<td width=83 class=nak_toplinkover>About Us</td>";
}
else
{
topheader+="<td width=83 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/AboutUs/index.html'>About Us</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "ourventures")
{
topheader+="<td width=110 class=nak_toplinkover>Our Ventures</td>";
}
else
{
topheader+="<td width=110 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/OurVentures/index.html'>Our Ventures</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "ourfleet")
{
topheader+="<td width=80 class=nak_toplinkover>Our Fleet</td>";
}
else
{
topheader+="<td width=80 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/OurFleet/index.html'>Our Fleet</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "ShipYard")
{
topheader+="<td width=160 class=nak_toplinkover>Ship Repair Yard</td>";
}
else
{
topheader+="<td width=160 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/Ship-Yard/index.html'>Ship Repair Yard</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";

if(slink == "mediacenter")
{
topheader+="<td width=112 class=nak_toplinkover>Media Center</td>";
}
else
{
topheader+="<td width=112 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/MediaCenter/news/index.aspx'>Media Center</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "financialresults")
{
topheader+="<td width=132 class=nak_toplinkover>Financial Results</td>";
}
else
{
topheader+="<td width=132 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/FinancialResults/2010/index.html'>Financial Results</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "job")
{
topheader+="<td width=80 class=nak_toplinkover>Careers</td>";
}
else
{
topheader+="<td width=80 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/JobOpportunities/catlistings.aspx'>Careers</td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "relatedlinks")  
{
topheader+="<td width=113 class=nak_toplinkover>Related Links</td>";
}
else
{
topheader+="<td width=113 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/Links/index.html'>Related Links</a></td>";
}
topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
if(slink == "contactus")
{
topheader+="<td width=96 class=nak_toplinkover>Contact Us</td>";
}
else
{
topheader+="<td width=96 class=nak_toplink onMouseOver=this.className='nak_toplinkover' onMouseOut=this.className='nak_toplink'><a class=top2 href='/English/ContactUs/index.html'>Contact Us</a></td>";
}

//topheader+="<td width=2><img border=0 src=/English/images/line1.gif></td>";
//topheader+="<td width=48></td>";
topheader+="</tr>";
topheader+="</table>";
topheader += "</td></tr>";
topheader += "</table>";
/*topheader += "</tr>";
topheader += "<tr>";
topheader += "<td height='5' bgcolor='#255FA8' colspan='2'>";
topheader += "</td>";
topheader += "</tr>";
topheader += "</table>";*/
document.write(topheader);
