var Menu1 = new Array ()
var subMenu1 = new Array ()
var submenu2=new Array();
//title='Goto the Starfish Mobile home page...'
   Menu1[0] = new Array("home", "Default.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home")
 
     subMenu1[0] = new Array()
//title='More about Starfish Mobile...'
    Menu1[1] = new Array("about", "aboutUS.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About Us")
        subMenu1[1] = new Array()
         subMenu1[1][0] = new Array ("The Company", "aboutUS.aspx?view=company","_top")
        subMenu1[1][1] = new Array ("History", "aboutUS.aspx?view=hist","_top")
        subMenu1[1][2] = new Array ("Vision & Mission", "aboutUS.aspx?view=vmission","_top")
        subMenu1[1][3] = new Array ("Management", "aboutUS.aspx?view=mteam","_top")
         subMenu1[1][4] = new Array ("Territory Facts", "aboutUS.aspx?view=tfacts","_top")
        
   //title='Some of our products and services on offer...'
     Menu1[2] = new Array("ps", "prodserv.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;Products & Services")
        subMenu1[2] = new Array()
        subMenu1[2][0] = new Array ("Content Services", "prodserv.aspx","_top")
        subMenu1[2][1] = new Array ("Interactive Marketing Services", "prodserv.aspx?view=inter","_top")
//title='Some of our clients...'
     Menu1[3] = new Array("clients", "clients.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clients")
        subMenu1[3] = new Array()
        subMenu1[3][0] = new Array ("Mobile Operators", "clients.aspx?view=operat","_top")
        subMenu1[3][1] = new Array ("Media Owners", "clients.aspx?view=owner","_top")
        subMenu1[3][2] = new Array ("Enterprise Clients", "clients.aspx?view=client","_top")
        subMenu1[3][3] = new Array ("Content Partners", "clients.aspx?view=cpart","_top")               //

     
   
     
    //title='Visit our content portfolio...'
     Menu1[4] = new Array("content", "ContentDisplay.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content Portfolio")
     //  Menu1[4] = new Array("<img src='images/conbutt.jpg' border='0' onmouseover=\"document.conbutt.src='images/conbutto.jpg'\" onmouseout=\"document.conbutt.src='images/conbutt.jpg'\" name='conbutt' >", "ContentDisplay.aspx","_top", "left","Home")
     subMenu1[4] = new Array()
     
//title='The buzz about Starfish...'
    Menu1[5] = new Array("news", "newsMaster.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;News & Press Office")
     //  Menu1[5] = new Array("<img src='images/nbutt.jpg' border='0' onmouseover=\"document.nbutt.src='images/nbutto.jpg'\" onmouseout=\"document.nbutt.src='images/nbutt.jpg'\" name='nbutt' >", "newsMaster.aspx","_top", "left","Home")
    subMenu1[5] = new Array()
//title='Get in touch with us...' 
    Menu1[6] = new Array("contact", "ContactUs.aspx","_top", "left","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contact Us")
     //  Menu1[6] = new Array("<img src='images/contactbutt.jpg' border='0' onmouseover=\"document.cbutt.src='images/contactbutto.jpg'\" onmouseout=\"document.cbutt.src='images/contactbutt.jpg'\" name='cbutt' >", "ContactUs.aspx","_top", "left","Home")
     subMenu1[6] = new Array()

/// FORMAT MENU  ///
menuStyle = "flat"                                  // Menu Style (flat, 3d)
cellPadding = "0"                                   // Cell Padding
cellBorder = 0                                      // Border width (for no border, enter 0)  THIS VALUE APPLIES TO ALL MENUS
verticalOffset = "-19"                                // Vertical offset of Sub Menu. 
horizontalOffset = "0"                              // Horizontal offset of Sub Menu. 
subMenuDelay = 1                                    // Time sub menu stays visible for (in seconds). THIS VALUE APPLIES TO ALL MENUS
subIndicate = 0                                     // Show if a sub menu is present (use 0 for "no")  THIS VALUE APPLIES TO ALL MENUS
indicator = "" // Symbol to show if a sub menu is present (subIndicate must be to set to 1)
                                                    // Use standard HTML <img> tag. You can use a character instead of an image. 
                                                    // e.g.      indicator = ">"
// Main Menu Items
menuWidth = "0"                  // Width of menu item.  Use 0 for default
borderColor = "Black"            // Border Colour (flat mode only)
borderHighlight = "#97BBD3"      // Border Highlight Colour (3d mode only)
borderShadow = "#31556D"         // Border Shadow Colour (3d mode only)
menuBackground = "#ffffff"       // Cell Background Colour
menuHoverBackground = "#ffffff"    // Cell Background Colour on mouse rollover
fontFace = "arial"               // Font Face
fontColour = "#FFFFFF"           // Font Colour
fontHoverColour = "#2b83c4"      // Font Colour on mouse rollover
fontSize = "8pt"                 // Font Size
fontDecoration = "none"          // Style of the link text (none, underline, overline, line-through)
fontWeight = "normal"            // Font Weight (normal, bold)

// Sub Menu Items
smenuWidth = "190"                 // Width of sub menu item.  Use 0 for default
sborderColor = "#ffffff"           // Border Colour (flat mode only)
sborderHighlight = "#E9E9E2"     // Border Highlight Colour (3d mode only)
sborderShadow = "#83837C"        // Border Shadow Colour (3d mode only)
//smenuBackground = "#aad7b8"        // Cell Background Colour
smenuBackground = ""
//smenuHoverBackground = "#B6F3C9" // Cell Background Colour on mouse rolloverr
smenuHoverBackground = ""
sfontFace = "arial"              // Font Face
sfontColour = "#ffffff"          // Font Colour
//sfontHoverColour = "#FF0000"     // Font Colour on mouse rollover
sfontHoverColour = "#000000"//"#fefed9"
sfontSize = "8pt"                // Font Size
sfontDecoration = "none"         // Style of the link text (none, underline, overline, line-through)
sfontWeight = "bold"           // Font Weight (normal, bold)
slineheight = "15"				 // The height if the space between lines in pt
sleft = "3"						// the amount of padding from the left
osleft = "5"					// the amount when being hovered over for text to move to the left	 

quantity = 1
/// END FORMAT MENU  ////

/// DO NOT EDIT BELOW THIS LINE  ///
// Browser Sniffer
var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;
var timer;
var obj = (isIE)?"document.all":"document.getElementById"
// Menu Styles
function createStyles(quant){
styleBorder=(menuStyle.split(",")[quant-1].toLowerCase() == "flat")?cellBorder:0 
  document.writeln ('<style>');
  document.writeln ('.rcMenuStatic'+quant+' {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');
  document.writeln ('.rcMenuHover'+quant+'  {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontHoverColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuHoverBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');
  
  //when mouse is over other links
  //document.writeln ('.rcSubMenuStatic'+quant+' {BORDER-RIGHT: white thin ridge; BORDER-TOP: white thin ridge; BORDER-LEFT: white thin ridge; BORDER-BOTTOM: white thin ridge;padding-left:'+ sleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuBackground.split(",")[quant-1]+'; cursor:hand}');
  document.writeln ('.rcSubMenuStatic'+quant+' {BACKGROUND-POSITION: left top;BACKGROUND-COLOR: transparent;  BACKGROUND-IMAGE: url(images/mitem.gif); BACKGROUND-REPEAT: no-repeat;padding-left:'+ sleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+'; cursor:hand}');
  //when mouse is over link
  //document.writeln ('.rcSubMenuHover'+quant+'  {BORDER-RIGHT: white thin ridge; BORDER-TOP: white thin ridge; BORDER-LEFT: white thin ridge; BORDER-BOTTOM: white thin ridge;padding-left:'+ osleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontHoverColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuHoverBackground.split(",")[quant-1]+'; cursor:hand}');
  document.writeln ('.rcSubMenuHover'+quant+'  {BACKGROUND-POSITION: left top;BACKGROUND-COLOR: transparent; BACKGROUND-IMAGE: url(images/mitem.gif); BACKGROUND-REPEAT: no-repeat;padding-left:'+ osleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontHoverColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+'; cursor:hand}');
  
  //for the links when the mouse is over
  document.writeln ('.rcSubMenuHover2'+quant+'  {padding-left:'+ osleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontHoverColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuHoverBackground.split(",")[quant-1]+'; cursor:hand}');
  document.writeln ('.rcSubMenuStatic2'+quant+' {padding-left:'+ sleft.split(",")[quant-1]+'pt;line-height:' + slineheight.split(",")[quant-1]+'pt;font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuBackground.split(",")[quant-1]+'; cursor:hand}');

document.writeln ('#menu td#home{		text-align: center;}');
document.writeln ('#menu td a{font-size: 9pt; text-decoration: none;	font-weight: bold; color: white;	font-family: Arial;	display: block;		background-position: center top;	padding-bottom: 4px;padding-top: 8px;}');
document.writeln ('#menu td#home a{	height: 38px;	width: 88px;background-image: url(\'images/hbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#home a:hover{height: 38px;	width: 88px;	background-image: url( \'images/hbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#about a{height: 38px;	width: 86px;	background-image: url(\'images/abutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#about a:hover{height: 38px;	width: 86px;	background-image: url( \'images/abutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#ps a{height: 38px;	width: 144px;	background-image: url(\'images/pbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#ps a:hover{	height: 38px;	width: 144px;background-image: url( \'images/pbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#content a{height: 38px;	width: 124px;	background-image: url(\'images/conbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#content a:hover{height: 38px;	width: 124px;	background-image: url( \'images/conbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#clients a{	height: 38px;	width: 81px;background-image: url(\'images/cbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#clients a:hover{height: 38px;	width: 81px;	background-image: url( \'images/cbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#news a{	height: 38px;	width: 139px;background-image: url(\'images/nbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#news a:hover{height: 38px;	width: 139px;	background-image: url( \'images/nbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');

document.writeln ('#menu td#contact a{height: 38px;	width: 108px;	background-image: url(\'images/contactbutt.jpg\');	background-position: left top;	background-attachment: scroll;background-repeat: no-repeat;}');
document.writeln ('#menu td#contact a:hover{	height: 38px;	width:108px;background-image: url( \'images/contactbutto.jpg\' );	background-position: left top;background-attachment: scroll;background-repeat: no-repeat;}');


  document.writeln ('</style>');
}
// Build and show the main menu items bgColor="'+borderColor.split(",")[quant-1]+'"  bgColor="'+borderColor.split(",")[quant-1]+'"
function showMenus(quant,definedOrientation)
{
  createStyles(quant);
  if(definedOrientation!=""){orientation=definedOrientation}
  if (orientation.toLowerCase() == "vertical"){document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" >')}
  else{document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" ><tr>')}  
  for (x=0; x<eval("Menu"+quant).length; x++)
  {
    if (orientation.toLowerCase()=="vertical") document.writeln('<tr>')
    document.writeln ('<td width="'+menuWidth+'" onclick="tdMouseClick(\''+quant+'mainLink'+x+'\')" onMouseOver="hoverMenu(); popDown(\''+quant+'\','+x+', \''+quant+'button'+x+'\',\''+orientation+'\'); " onMouseOut="clearMenu('+quant+','+x+')" ')
    if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';"');}        
    document.writeln ('><div id="'+quant+'button'+x+'"><table border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="0" width="100%" id="menu"><tr><td  id="'+eval("Menu"+quant)[x][0]+'" nowrap>');
    document.writeln ('<a id="'+quant+'mainLink'+x+'" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'"  >'+eval("Menu"+quant)[x][4]+'</a></td>');
    if (subIndicate == 1&&eval("subMenu"+quant)[x].length>=1){
      document.writeln('<td class="rcMenuStatic'+quant+'" id="'+quant+'cell'+x+'a" align="right">');
      document.writeln ('<a id="'+quant+'mainLink'+x+'a" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'" class="rcMenuStatic'+quant+'">'+indicator+'</a></td>');}
    document.writeln ('</tr></table></div></td>');    
    if (orientation.toLowerCase()=="vertical") document.writeln('</tr>')
  }
  if (orientation.toLowerCase() == "vertical"){document.writeln ('</table>');}
  else{document.writeln ('</tr></table>');}   
// Build the sub menu items
  for (x=0; x<eval("Menu"+quant).length; x++)
  { 
    if (eval("subMenu"+quant)[x].length > 0)
    {     
      document.writeln ('<div id="'+quant+'MENU'+x+'" style="visibility:hidden; position:absolute; z-index:2" >');
      //bgColor="'+sborderColor.split(",")[quant-1]+'"
      document.writeln ('<table width="'+smenuWidth.split(",")[quant-1]+'" border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="'+styleBorder+'" >');
      for (y=0; y<eval("subMenu"+quant)[x].length; y++)
      {
        document.writeln ('<tr>');
        if (eval("subMenu"+quant)[x][y][1].indexOf("#") != -1)
        {
        //bgColor="'+eval("subMenu"+quant)[x][y][2]+'"
          document.writeln ('<td  id="'+quant+'subMenu'+x+y+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" nowrap')
          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}
          document.writeln ('><p style="font-family:'+sfontFace.split(",")[quant-1]+'; font-size:'+sfontSize.split(",")[quant-1]+'; color:'+eval("subMenu"+quant)[x][y][1]+'"id="'+quant+'subLink'+x+y+'">'+eval("subMenu"+quant)[x][y][0]+'</p></td></tr>');
        }
        else
        {
          document.writeln ('<td id="'+quant+'subMenu'+x+y+'" class="rcSubMenuStatic2'+quant+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" onMouseOut="clearMenu('+quant+','+x+');" onclick="tdMouseClick(\''+quant+'subLink'+x+y+'\')" nowrap')
          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}
          document.writeln ('><a id="'+quant+'subLink'+x+y+'" href="'+eval("subMenu"+quant)[x][y][1]+'" target="'+eval("subMenu"+quant)[x][y][2]+'" class="rcSubMenuStatic2'+quant+'">'+eval("subMenu"+quant)[x][y][0]+'</a></td></tr>');
        }
      }
      document.writeln ('</table></div>');
    }
  }
} 
// Change colour or menu and submenu items when the mouse hovers over.  
function highlightMenu(element,mainMenu,dropMenu,state,quant)
{
  hoverMenu();
  state=(state == "hover")?"rcMenuHover"+quant:"rcMenuStatic"+quant
  if (element == "sub")
  {
    for (x=0; x < eval("subMenu"+quant)[mainMenu].length; x++)
    {
      if (eval("subMenu"+quant)[mainMenu][x][1].indexOf("#") == -1){
        eval(obj+'("'+quant+'subMenu'+mainMenu+x+'").className = "rcSubMenuStatic'+quant+'"')
        eval(obj+'("'+quant+'subLink'+mainMenu+x+'").className = "rcSubMenuStatic2'+quant+'"')
      }
    } 
    if (eval("subMenu"+quant)[mainMenu][dropMenu][1].indexOf("#") == -1)  {
      eval(obj+'("'+quant+'subMenu'+mainMenu+dropMenu+'").className="rcSubMenuHover'+quant+'"')
      eval(obj+'("'+quant+'subLink'+mainMenu+dropMenu+'").className="rcSubMenuHover2'+quant+'"')
    }
  }
  else
  {
    //eval(obj+'("'+quant+'cell'+mainMenu+'").className = "'+state+'"')
    //eval(obj+'("'+quant+'mainLink'+mainMenu+'").className = "'+state+'"')
    if (subIndicate == 1&&eval("subMenu"+quant)[mainMenu].length>=1)
    {
      eval(obj+'("'+quant+'cell'+mainMenu+'a").className = "'+state+'"')
      eval(obj+'("'+quant+'mainLink'+mainMenu+'a").className = "'+state+'"')
    }
  }
}
// Find positioning for sub menus
function getOffset(obj, dim) 
{
  if(dim=="left") 
  {     
    oLeft = obj.offsetLeft;    
    while(obj.offsetParent!=null) 
    {    
      oParent = obj.offsetParent     
      oLeft += oParent.offsetLeft 
      obj = oParent 	
    }
    return oLeft
  }
  else if(dim=="top")
  {
    oTop = obj.offsetTop;
    while(obj.offsetParent!=null) 
    {
      oParent = obj.offsetParent
      oTop += oParent.offsetTop
      obj = oParent 	
    }
    return oTop
  }
  else if(dim=="width")
  {
    oWidth = obj.offsetWidth
    return oWidth
  }  
  else if(dim=="height")
  {
    oHeight = obj.offsetHeight
    return oHeight
  }    
  else
  {
    alert("Error: invalid offset dimension '" + dim + "' in getOffset()")
    return false;
  }
}
// Show sub menus
function popDown(quant, param, id, orientation)
{
  var cellBorderOffset = (isNS6)?cellBorder:eval(cellBorder*2)
  
  var browserAdjustment = (isNS6)?cellBorder:0
  
  var menu;
  var button;

  if (id)
  {    
    getOffset(eval(obj+'(id)'),'left');
    getOffset(eval(obj+'(id)'),'top');    
    getOffset(eval(obj+'(id)'),'width');  
    getOffset(eval(obj+'(id)'),'height');
   
    if (eval("Menu"+quant+"["+param+"][3]")=="right" && eval("subMenu"+quant+"["+param+"].length")>0) 
    { 
      oLeft=oLeft 
     
      oLeft=oLeft+oWidth; 
      getOffset(eval(obj+'("'+quant+'MENU'+param+'")'),'width');
      oLeft=oLeft-oWidth ;
      alignAdjustment = cellBorder*2 + 1
    }
    else 
    {
  
      alignAdjustment = 0
      oLeft=oLeft
    }    
  }  

  
  n = 0;    
  while (n < eval("Menu"+quant).length)
  {          
    menu = quant+"MENU"+n
    if (param == n)
    {

      theObj = eval(obj+'(menu)');
      if (theObj)
      {
         theObj.style.visibility = "visible";
          if (orientation.toLowerCase()=="vertical"){
        
            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft+oWidth+cellBorder+parseInt(horizontalOffset.split(",")[quant-1]):oLeft+oWidth+cellBorderOffset+parseInt(horizontalOffset.split(",")[quant-1]);
            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop-cellBorder+parseInt(verticalOffset.split(",")[quant-1]):oTop+parseInt(verticalOffset.split(",")[quant-1])-browserAdjustment}
          else{
            
            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft-cellBorder+parseInt(horizontalOffset.split(",")[quant-1])+alignAdjustment + "px":oLeft+parseInt(horizontalOffset.split(",")[quant-1])-browserAdjustment+alignAdjustment + "px";
            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop+oHeight+cellBorder+parseInt(verticalOffset.split(",")[quant-1]) + "px":oTop+oHeight+cellBorderOffset+parseInt(verticalOffset.split(",")[quant-1]) + "px";}
            
        }
      
       highlightMenu('main',n,'','hover',quant)
       if (eval("subMenu"+quant)[param].length > 0)
       {
         for (x=0; x<eval("subMenu"+quant)[param].length; x++)
         {
           if(eval("subMenu"+quant)[param][x][1].indexOf("#") == -1){
             eval (obj+'("'+quant+'subMenu'+param+x+'").className = "rcSubMenuStatic'+quant+'"')
             eval (obj+'("'+quant+'subLink'+param+x+'").className = "rcSubMenuStatic2'+quant+'"')  
           }       
         }
       }
    }
    else 
    {  
      for (x=1; x<quantity+1; x++)
      {       
        menu = x+"MENU"+n   
        //alert(menu)     
        if (eval(obj+'(menu)'))
        {
          eval(obj+'(menu).style.visibility = "hidden"')            
        }
        highlightMenu ('main',n,'','static',quant)
      }
    }

    n++
  }  
}
// Re-set timer for sub menus
function hoverMenu()
{
  if(timer)
  clearTimeout(timer)
}
// Set timer for sub menus
function clearMenu(quant,menu)
{
  setDelay = subMenuDelay*1000
  delay = (eval("subMenu"+quant)[menu].length > 0)?setDelay:1
  
  timer = setTimeout("popDown("+quant+","+(eval("Menu"+quant).length + 1)+")",delay)
}
// when you click the box, perform the same function as if the user had clicked the hyperlink
function tdMouseClick(theElement)
{
  eval(obj+'(theElement).click()')
}
//-->
