function getHostName() {
var strReturn = window.location.hostname;
  if (strReturn=='wip.wizwerx.com')
  {
    return('http://wip.wizwerx.com/TMX/BoatAsia/www');
  }
  if (strReturn.indexOf('picosearch') > -1)
  {
    return('http://wip.wizwerx.com/TMX/BoatAsia/www');
  }
  if (strReturn.indexOf(''))
  {
    return('');
  }
  strReturn = 'http://'+strReturn;
  return(strReturn);
}

  var HostName = getHostName();

  // var NoOffFirstLineMenus=5;      // Number of first level items
  var LowBgColor='';     // Background color when mouse is not over
  var LowSubBgColor='#c8c1b9';      // Background color when mouse is not over on subs
  var HighBgColor='';      // Background color when mouse is over
  var HighSubBgColor='#c8c1b9';     // Background color when mouse is over on subs
  var FontLowColor='#625d57';     // Font color when mouse is not over
  var FontSubLowColor='#6a6762';      // Font color subs when mouse is not over
  var FontHighColor='#000000';      // Font color when mouse is over
  var FontSubHighColor='#000000';     // Font color subs when mouse is over
  var BorderColor='';      // Border color
  var BorderSubColor='#d3ccc4';     // Border color for subs
  var BorderWidth=1;        // Border width
  var BorderBtwnElmnts=1;     // Border between elements 1 or 0
  var FontFamily= "Arial, Helvetica, sans-serif"  // Font family menu items
  var FontSize=8;       // Font size menu items
  var FontBold=0;       // Bold menu items 1 or 0
  var FontItalic=0;       // Italic menu items 1 or 0
  var MenuTextCentered='left';      // Item text position 'left', 'center' or 'right'
  var MenuCentered='left';      // Menu horizontal position 'left', 'center' or 'right'
  var MenuVerticalCentered='top';   // Menu vertical position 'top', 'middle','bottom' or static
  var ChildOverlap=.19;        // horizontal overlap child/ parent
  var ChildVerticalOverlap=0;      // vertical overlap child/ parent
  var StartTop=12;       // Menu offset x coordinate
  var StartLeft=13;        // Menu offset y coordinate
  var VerCorrect=0;       // Multiple frames y correction
  var HorCorrect=0;       // Multiple frames x correction
  var LeftPaddng=10;       // Left padding
  var TopPaddng=2;        // Top padding
  var FirstLineHorizontal=1;      // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
  var MenuFramesVertical=1;     // Frames in cols or rows 1 or 0
  var DissapearDelay=800;      // delay before menu folds in
  var TakeOverBgColor=1;      // Menu frame takes over background color subitem frame
  var FirstLineFrame='';     // Frame where first level appears
  var SecLineFrame='';     // Frame where sub levels appear
  var DocTargetFrame='';     // Frame where target documents appear
  var TargetLoc='MenuPos';        // span id for relative positioning
  var HideTop=0;        // Hide first level when loading new document 1 or 0
  var MenuWrap=1;       // enables/ disables menu wrap 1 or 0
  var RightToLeft=0;        // enables/ disables right to left unfold 1 or 0
  var UnfoldsOnClick=0;     // Level 1 unfolds onclick/ onmouseover
  var WebMasterCheck=0;     // menu tree checking on or off 1 or 0
  var ShowArrow=0;        // Uses arrow gifs when 1
  var KeepHilite=1;       // Keep selected path highligthed
  var tt_inputs = new Array();

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

// alert('TargetLoc: ' + TargetLoc);

// Menu tree
//  MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//  For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

  // Menu tree
  //  MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
  //  For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"
  
 
  var NoOffFirstLineMenus=7;     // Number of first level items

  Menu1=new Array("ABOUT THE SHOW","" + HostName + "/aboutus/show_information.asp","",7,31,130);
    Menu1_1=new Array("SHOW INFORMATION","" + HostName + "/aboutus/show_information.asp","",0,21,142);
    Menu1_2=new Array("SHOW ACTIVITIES ","" + HostName + "/aboutus/show_activities.asp","",0,21,150);
    Menu1_3=new Array("CHARITY GALA","" + HostName + "/aboutus/charity_gala.asp","",0,21,150);
    Menu1_4=new Array("PRODUCT LAUNCH","" + HostName + "/aboutus/product_boat_launch_listing.asp","",0,21,150);
    Menu1_5=new Array("PHOTO GALLERY","" + HostName + "/aboutus/showcase_gallery.asp","",0,21,150);
    Menu1_6=new Array("EXHIBITOR LISTING","" + HostName + "/aboutus/exhibitor_listing.asp","",0,21,150);
    Menu1_7=new Array("SPONSORS & PARTNERS","" + HostName + "/aboutus/sponsors.asp","",0,21,150);

  Menu2=new Array("VISITORS","" + HostName + "/visitors/ticketing.asp","",2,46,95);
    Menu2_1=new Array("TICKETING","" + HostName + "/visitors/ticketing.asp","",0,21,150);
    Menu2_2=new Array("TRADE PRE-REGISTRATION","" + HostName + "/visitors/trade_registration.asp","",0,21,150);
  
  Menu3=new Array("EXHIBITORS","" + HostName + "/exhibitors/exhibitor_information.asp","",5,46,105);
    Menu3_1=new Array("EXHIBITOR INFORMATION","" + HostName + "/exhibitors/exhibitor_information.asp","",0,21,160);
    Menu3_2=new Array("OFFICIAL VENDORS","" + HostName + "/exhibitors/official_contractor.asp","",0,21,160);
    Menu3_3=new Array("ADVERTISING & BRANDING OPPORTUNITIES","" + HostName + "/exhibitors/branding_opportunities.asp","",0,32,200);
    Menu3_4=new Array("EXHIBITOR ENQUIRY","" + HostName + "/exhibitors/exhibitor_enquiry.asp","",0,21,150);
    Menu3_5=new Array("EXHIBITOR MANUAL","" + HostName + "/exhibitors/exhibitor_registration.asp","",0,21,150);

  
  Menu4=new Array("VENUE & ACCOMMODATION","" + HostName + "/travel_accomodations/venue.asp","",2,46,185);
    Menu4_1=new Array("VENUE","" + HostName + "/travel_accomodations/venue.asp","",0,21,120);
    Menu4_2=new Array("ACCOMMODATION","" + HostName + "/travel_accomodations/accomodations.asp","",0,21,120);
  
  Menu5=new Array("MEDIA","" + HostName + "/media/media_registration.asp","",4,25,92);
    Menu5_1=new Array("NEWS","" + HostName + "/media/news.asp","",2,21,150);
    Menu5_1_1=new Array("NEWS COVERAGE","" + HostName + "/media/news_coverage.asp","",0,21,200);
    Menu5_1_2=new Array("PRESS RELEASES","" + HostName + "/media/press_releases.asp","",0,21,200);
    Menu5_2=new Array("MEDIA PARTNERS","" + HostName + "/media/media_partners.asp","",0,21,150);
    Menu5_3=new Array("MEDIA REGISTRATION","" + HostName + "/media/media_registration.asp","",0,21,150);
    Menu5_4=new Array("COLLATERALS","" + HostName + "/media/collaterals.asp","",0,21,150);

  Menu6=new Array("OPPORTUNITIES","" + HostName + "/opportunities/volunteer.asp","",3,46,127);
    Menu6_1=new Array("F&B VENDOR","" + HostName + "/opportunities/fnb_vendor.asp","",0,21,150);
    Menu6_2=new Array("VOLUNTEER","" + HostName + "/opportunities/volunteer.asp","",0,21,100);
    Menu6_3=new Array("CAREER","" + HostName + "/opportunities/career.asp","",0,21,100);

  Menu7=new Array("CONTACT US","" + HostName + "/contactus/contactus.asp","",2,46,120);
    Menu7_1=new Array("ENQUIRY ","" + HostName + "/contactus/enquiry.asp","",0,21,150);
    Menu7_2=new Array("MAILING LIST","" + HostName + "/contactus/mailinglist.asp","",0,21,100);

  
