var defaultMenuWidth="200px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="#">CURRENT</a>'
linkset[0]+='<a href="likely.html">LIKELY (Future)</a>'
linkset[1]='<a href="">Textiles</a>'
linkset[1]+='<a href="">Food Products</a>'
linkset[1]+='<a href="">Metal Products</a>'
linkset[1]+='<a href="">Chemical Products</a>'
linkset[1]+='<a href="">Pharmaceuticals</a>'
linkset[1]+='<a href="">Plastic Products</a>'	
linkset[1]+='<a href="">Electronics / Electrical</a>'
linkset[1]+='<a href="">Engineering</a>'
linkset[1]+='<a href="">Auto & Auto Ancillary</a>'
linkset[1]+='<a href="">Cement / Ceramics</a>'
linkset[1]+='<a href="">Paper</a>'
linkset[1]+='<a href="">Rubber</a>'
linkset[1]+='<a href="">Granite</a>'
linkset[1]+='<a href="">Glass</a>'
linkset[1]+='<a href="">Power</a>'
linkset[1]+='<a href="">Hotels</a>'
linkset[1]+='<a href="">Other Industries</a>'

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu


document.write ('<table border=0 align=center cellpadding=0 cellspacing=0 width=778>');
  document.write ('<tr valign=top> ');
    document.write ('<td width=780> <table border=0 cellspacing=0 cellpadding=0>');
        document.write ('<tr valign=top> ');
          document.write ('<td><img src=images/sasfb_01.gif width=101 height=82></td>');
          document.write ('<td><img src=images/sasfb_02.gif width=110 height=82></td>');
          document.write ('<td><img src=images/sasfb_03.gif width=118 height=82></td>');
          document.write ('<td><img src=images/sasfb_04.gif width=102 height=82></td>');
          document.write ('<td><img src=images/sasfb_05.gif width=132 height=82></td>');
         document.write (' <td><img src=images/sasfb_06.gif width=215 height=82></td>');
        document.write ('</tr>');
        document.write ('<tr valign=top>'); 
         document.write (' <td colspan=6 bgcolor=#048CDD> <table width=100% height=21 border=0 cellpadding=0 cellspacing=0>');
             document.write (' <tr>'); 
                document.write ('<td width=30% height=21 bgcolor=#A8DFFD class=tenver><strong><font color=#000066>&nbsp;&nbsp;Thought for the week:</font></strong> </td>');
                document.write ('<td width=70% class=tenver><marquee behavior=scroll scrolldelay=200>');
                  document.write ('<font color=#FFFFFF>Stitch in time saves nine</font></marquee></td>');
              document.write ('</tr>');
            document.write ('</table></td>');
        document.write ('</tr>');
     document.write (' </table></td>');
  document.write ('</tr>');
  document.write ('<tr> ');
    document.write ('<td bgcolor=#F4F4F4></td>');
  document.write ('</tr>');
  document.write ('<tr valign=top> ');
    document.write ('<td class=menu> <table border=0 cellpadding=0 cellspacing=0>');
        document.write ('<tr> ');
          document.write ('<td><a href=sasf.html><img src=images/menu_01.gif width=92 height=35 border=0></a></td>');
          document.write ('<td valign=top><img src=images/35hb.gif width=2 height=35></td>');
          document.write ('<td><a href=about1.html><img src=images/menu_02.gif width=133 height=35 border=0></a></td>');
          document.write ('<td><img src=images/35hb.gif width=2 height=35></td>');
          document.write ('<td><a href="#" onMouseover="showmenu(event,linkset[1])" onMouseout="delayhidemenu()"><img src="images/menu_03.gif" width="113" height="35" border="0"></a></td>');
          document.write ('<td><img src=images/35hb.gif width=2 height=35></td>');
          document.write ('<td><a href="#" onMouseover="showmenu(event,linkset[0])" onMouseout="delayhidemenu()"><font style="FONT-WEIGHT: bold; FONT-SIZE: 8.5pt; COLOR: #FFFFFF; FONT-FAMILY: Verdana"><img src="images/menu_04.gif" width="143" height="35" border="0"></font></a></td>');
          document.write ('<td><img src=images/35hb.gif width=2 height=35></td>');
          document.write ('<td><img src=images/menu_05.gif width=118 height=35></td>');
          document.write ('<td><img src=images/35hb.gif width=2 height=35></td>');
          document.write ('<td><a href=contact.html><img src=images/menu_06.gif width=147 height=35 border=0></a></td>');
          document.write ('<td>&nbsp;</td>');
        document.write ('</tr>');
      document.write ('</table></td>');
  document.write ('</tr>');
document.write ('</table>');