/*-------------------------------------------
Security Settings
--------------------------------------------*/

//   Notice = "DHTML Slide Tree Menu, Copyright (c) - 2001, OpenCube Inc. - www.opencube.com"
//   code0 = 538
//   code1 = 697
//   sequence = "oc94127"



/*-------------------------------------------
Required menu Settings
--------------------------------------------*/

   menu_width = 130
   menu_height = 425

   scrolldelay = 1
   scrolljump = 1

   scrolldelay_nt = 1
   scrolljump_nt = 4;

   scrolldelay_ns4 = 1;
   scrolljump_ns4 = 1;

   urltarget = "_self"
   start_open_index = "none"
   display_urls_in_statusbar = false

   onload_statement = "none"
   codebase = "script/"



/*-------------------------------------------
Required menu indenting and margins
--------------------------------------------*/

   main_itemheight = "auto"
   main_extend_height = 500
	
   sub_itemheight = "auto"
   sub1_indentwidth = 6
   sub2_indentwidth = 9
   sub3_indentwidth = 12

   main_marginleft = 2
   main_margin_topbottom = 0
   sub_marginleft = 0
   sub_margin_topbottom = 1



/*-------------------------------------------
Required font Settings
--------------------------------------------*/

   main_textcolor = "#ffffff"
   main_fontfamily = "Arial"
   main_fontsize = 11
   main_textdecoration = "normal"
   main_fontweight = "normal"
   main_fontstyle = "normal"
   main_hl_textcolor = "#ffffff"
   main_hl_textdecoration = "none"

   sub_textcolor = "#99ccff"
   sub_fontfamily = "Arial"
   sub_fontsize = 11
   sub_textdecoration = "normal"
   sub_fontweight = "normal"
   sub_fontstyle = "normal"
   sub_hl_textcolor = "#ffffff"
   sub_hl_textdecoration = "none"


/*---------------------------------------------
Required and optional background Settings
-----------------------------------------------*/

  
   /*---Required Settings---------*/ 

      background_color = "#000099"      

      main_item_bgcolor = "transparent"
      main_hl_item_bgcolor = "transparent"
  
      sub_item_bgcolor = "transparent"
      sub_hl_item_bgcolor = "#000099"


   /*---Optional Settings---------*/

      main_background_color = "#000000"
      sub_background_color = "#000000"

      main_background_image = "images.menu.left/mainbg.gif"
      
      /*-----non tiled background image fix for ie5&up
      -------image should match menu dimensions-------*/ 	
      ie5fix_main_background_image = "images.menu.left/mainbg.gif"	      

      sub_level1_background_image = "images.menu.left/subbg.jpg"
      sub_level2_background_image = "images.menu.left/subbg.jpg"
      sub_level3_background_image = "images.menu.left/subbg.jpg"

      /*-----non tiled background image fix for ie5&up
      -------images should match menu width and be
      -------equal to or greater than the longest sub menu*/
      ie5fix_sub_level1_background_image = "images.menu.left/ie5fix_subbg.jpg"
      ie5fix_sub_level1_background_image1 = "images.menu.left/ie5fix_subbg.jpg"
      ie5fix_sub_level1_bg_image_height = 138
      ie5fix_sub_level2_background_image = "images.menu.left/ie5fix_subbg.jpg"	      	
      ie5fix_sub_level2_bg_image_height = 138
      ie5fix_sub_level3_background_image = "images.menu.left/ie5fix_subbg.jpg"	      	
      ie5fix_sub_level3_bg_image_height = 138

      main_hl_background_image0 = "images.menu.left/m_corp_about_r.jpg"
      main_hl_background_wh0 = "130,18";	
      main_hl_background_image1 = "images.menu.left/m_corp_mission_r.jpg"
      main_hl_background_wh1 = "130,18";
      main_hl_background_image2 = "images.menu.left/m_corp_organization_r.jpg"
      main_hl_background_wh2 = "130,30";
      main_hl_background_image3 = "images.menu.left/m_corp_history_r.jpg"
      main_hl_background_wh3 = "130,18";
      main_hl_background_image4 = "images.menu.left/m_corp_contri_r.jpg"
      main_hl_background_wh4 = "130,28";
      main_hl_background_image5 = "images.menu.left/m_corp_operation_r.jpg"
      main_hl_background_wh5 = "130,29";
      main_hl_background_image6 = "images.menu.left/m_corp_annual_r.jpg"
      main_hl_background_wh6 = "130,18";
      main_hl_background_image7 = "images.menu.left/m_corp_awards_r.jpg"
      main_hl_background_wh7 = "130,30";
      main_hl_background_image8 = "images.menu.left/m_corp_news_r.jpg"
      main_hl_background_wh8 = "130,18";
      main_hl_background_image9 = "images.menu.left/m_corp_rdb_r.jpg"
      main_hl_background_wh9 = "130,18";
      main_hl_background_image10 = "images.menu.left/m_corp_museum_r.jpg"
      main_hl_background_wh10 = "130,18";
      main_hl_background_image11 = "images.menu.left/m_corp_school_r.jpg"
      main_hl_background_wh11 = "130,18";
	  main_hl_background_image12 = "images.menu.left/m_corp_rgp_r.jpg"
      main_hl_background_wh12 = "130,29";
      main_hl_background_image13 = "images.menu.left/m_corp_career_r.jpg"
      main_hl_background_wh13 = "130,18";
      main_hl_background_image14 = "images.menu.left/m_corp_contact_r.jpg"
      main_hl_background_wh14 = "130,18";
      

      main_clipbg_after_items = false



/*-------------------------------------------
Required border settings -- set 'main_use_border'
and 'sub_use_border' to false for no borders
--------------------------------------------*/


   /*---All browsers Border settings-------------------*/
   
      main_use_border = false
      main_border_color = "transparent"
      main_hl_border_color = "#ffffff"

      sub_use_border = false;
      sub_border_color = "#ffffff"
      sub_hl_border_color = "#ff0000"


   /*---border offset distance (netscape 4.x bug workaround) 
        adjust untill right border is visible at edge----*/
      
      main_ns4fix_rightborder_offset = 0
      sub_ns4fix_rightborder_offset = -1


   /*---IE 5-up Only additional border settings---------*/
  
      main_use_2pixel_topbottom_border = false
      main_leftright_border_width = 1
      sub_leftright_border_width = 1



/*---------------------------------------------
Optional Icon Images
-----------------------------------------------*/
   icon_image0 = "images.menu.left/spacer.gif"
   icon_image_wh0 = "1,18"
   icon_rollover0 = "images.menu.left/spacer.gif"
   icon_rollover_wh0 = "1,18"

   icon_image1 = "images.menu.left/spacer.gif"
   icon_image_wh1 = "1,18"
   icon_rollover1 = "images.menu.left/spacer.gif"
   icon_rollover_wh1 = "1,18"

   icon_image2 = "images.menu.left/spacer.gif"
   icon_image_wh2 = "1,30"
   icon_rollover2 = "images.menu.left/spacer.gif"
   icon_rollover_wh2 = "1,30"

   icon_image3 = "images.menu.left/spacer.gif"
   icon_image_wh3 = "1,18"
   icon_rollover3 = "images.menu.left/spacer.gif"
   icon_rollover_wh3 = "1,18"

   icon_image4 = "images.menu.left/spacer.gif"
   icon_image_wh4 = "1,28"
   icon_rollover4 = "images.menu.left/spacer.gif"
   icon_rollover_wh4 = "1,28"

   icon_image5 = "images.menu.left/spacer.gif"
   icon_image_wh5 = "1,29"
   icon_rollover5 = "images.menu.left/spacer.gif"
   icon_rollover_wh5 = "1,29"

   icon_image6 = "images.menu.left/spacer.gif"
   icon_image_wh6 = "1,18"
   icon_rollover6 = "images.menu.left/spacer.gif"
   icon_rollover_wh6 = "1,18"

   icon_image7 = "images.menu.left/spacer.gif"
   icon_image_wh7 = "1,30"
   icon_rollover7 = "images.menu.left/spacer.gif"
   icon_rollover_wh7 = "1,30"

   icon_image8 = "images.menu.left/spacer.gif"
   icon_image_wh8 = "1,18"
   icon_rollover8 = "images.menu.left/spacer.gif"
   icon_rollover_wh8 = "1,18"

   icon_image9 = "images.menu.left/spacer.gif"
   icon_image_wh9 = "1,18"
   icon_rollover9 = "images.menu.left/spacer.gif"
   icon_rollover_wh9 = "1,18"

   icon_image10 = "images.menu.left/spacer.gif"
   icon_image_wh10 = "1,18"
   icon_rollover10 = "images.menu.left/spacer.gif"
   icon_rollover_wh10 = "1,18"
   
   icon_image11 = "images.menu.left/spacer.gif"
   icon_image_wh11 = "1,18"
   icon_rollover11 = "images.menu.left/spacer.gif"
   icon_rollover_wh11 = "1,18"

   icon_image12 = "images.menu.left/spacer.gif"
   icon_image_wh12 = "1,29"
   icon_rollover12 = "images.menu.left/spacer.gif"
   icon_rollover_wh12 = "1,29"

   icon_image13 = "images.menu.left/spacer.gif"
   icon_image_wh13 = "1,18"
   icon_rollover13 = "images.menu.left/spacer.gif"
   icon_rollover_wh13 = "1,18"

   icon_image14 = "images.menu.left/spacer.gif"
   icon_image_wh14 = "1,18"
   icon_rollover14 = "images.menu.left/spacer.gif"
   icon_rollover_wh14 = "1,18"

   // bullet & arrow icons
   icon_image15 = "images.menu.left/sub_arrow.gif"
   icon_image_wh15 = "6,5"
   icon_rollover15 = "images.menu.left/sub_arrow.gif"
   icon_rollover_wh15 = "6,5"

   icon_image16 = "images.menu.left/sub_down_arrow.gif"
   icon_image_wh16 = "5,6"
   icon_rollover16 = "images.menu.left/sub_down_arrow.gif"
   icon_rollover_wh16 = "5,6"

   icon_image17 = "images.menu.left/sub_spot.gif"
   icon_image_wh17 = "8,5"
   icon_rollover17 = "images.menu.left/sub_spot_r.gif"
   icon_rollover_wh17 = "8,5"


/*----------------------------------------------
Applet Overide Settings and additional applet
specific parameters - prefix any available parameter
name with 'applet_' to overide the setting when
running in applet mode
------------------------------------------------*/


   /*------for design purposes only---------*/

      //set the following param to true for 
      //testing the script in applet form.    
      ie5up_run_as_applet = false;
    

   /*------overriden script parameters---------*/
  
      applet_icon_rollover2 = "images.menu.left/app_mfix_da.gif"	
      applet_icon_image3 = "images.menu.left/app_mfix.gif"
      applet_icon_rollover3 = "images.menu.left/app_mfix_hl0.gif"
      applet_icon_image4 = "images.menu.left/app_mfix.gif"
      applet_icon_rollover4 = "images.menu.left/app_mfix_hl1.gif"	
      applet_icon_image5 = "images.menu.left/app_mfix.gif"
      applet_icon_rollover5 = "images.menu.left/app_mfix_hl2.gif"	
	
      applet_icon_index0 = 3
      applet_icon_index1 = 4
      applet_icon_index2 = 5


   /*------Additional Applet Specific Parameters--*/

      //applet_main_icon_indent = 0
      //applet_sub_icon_indent = 0

      applet_load_message_color = "#ffffff"
      applet_load_message = "Loading Images..."

      applet_main_font = "Helvetica, plain, 12" 
      applet_sub_font = "Helvetica, plain, 12"

   

/********************************************
THE FOLLOWING SECTIONS DEFINE THE ACTUAL
STRUCTURE AS WELL AS TEXT, URLS, AND ICONS 
THAT MAKE THE TREE MENU. - FOR HELP WITH 
INDEXING YOUR ITEMS REFER TO THE DOCUMENTATION.
*********************************************/

/*-------------------------------------------
Main Menu Item Settings
--------------------------------------------*/

main_text0 = ""
icon_index0 = 0

main_text1 = ""
icon_index1 = 1

main_text2 = ""
icon_index2 = 2

main_text3 = ""
icon_index3 = 3

main_text4 = ""
icon_index4 = 4

main_text5 = ""
icon_index5 = 5

main_text6 = ""
icon_index6 = 6

main_text7 = ""
icon_index7 = 7

main_text8 = ""
icon_index8 = 8

main_text9 = ""
icon_index9 = 9

main_text10 = ""
icon_index10 = 10

main_text11 = ""
icon_index11 = 11

main_text12 = ""
icon_index12 = 12

main_text13 = ""
icon_index13 = 13

main_text14 = ""
icon_index13 = 14

/*---------------------------------------------
Sub Menu Item Settings
-----------------------------------------------*/
url0 = "corp_about.asp"
url1 = "corp_mission.asp"

url2 = "corp_organization.asp"
subdesc2_0 = "Structure" 
subdesc2_1 = "Board of Stewards"
subdesc2_2 = "Board of Management"
//subdesc2_3 = "Operating Structure<br><img src='images.menu.left/spacer.gif' width='8'>Chart"
icon_index2_0 = 17
icon_index2_1 = 17
icon_index2_2 = 17
//icon_index2_3 = 17
url2_0 = "corp_organization.asp"
function menu_OpenStewards() {
var tempwin2=window.open('corp_stewards.asp','','scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,left=0,top=0,width=790,height=550');
}
url2_1 = "corp_stewards.asp"
url2_2 = "corp_management.asp"
url2_3 = "corp_board_management.asp"

url3 = "corp_history.asp"
subdesc3_0 = "Timeline"
icon_index3_0 = 17
url3_0 = "corp_history.asp#timeline"

function menu_OpenSichuan() {
	var tempwin2=window.open('http://hkjcdev02:8881/eng/mainland/sichuan_rebuild.asp','','scrollbars=yes,toolbar=yes,resizable=yes,menubar=yes,location=yes,left=0,top=0,width=816,height=640');
}

url4 = "corp_contributing_comm.asp"
subdesc4_0 = "TSW Wholesome Development Programme" 
icon_index4_0 = 17
url4_0 = "corp_tswtraining.asp"
//subdesc4_1 = "Sichuan Reconstruction Projects" 
//icon_index4_1 = 17
//url4_1 =  "javascript:menu_OpenSichuan()"

url5 = "corp_operation.asp"
subdesc5_0 = "Racing" 
subdesc5_1 = "Betting & Entertainment"
subdesc5_2 = "Membership"
subdesc5_3 = "Charities"
subdesc5_4 = "2008/09 Season End<br><img src='images.menu.left/spacer.gif' width='8'>Results"
icon_index5_0 = 17
icon_index5_1 = 17
icon_index5_2 = 17
icon_index5_3 = 17
icon_index5_4 = 17
url5_0 = "corp_operation_racing.asp"
url5_1 = "corp_operation_betting.asp"
url5_2 = "corp_operation_membership.asp"
url5_3 = "corp_operation_charity.asp"
url5_4 = "corp_operation_08-09_results.asp"

url6 = "corp_annual.asp"

url7 = "corp_awards.asp"

url8 = "corp_news.asp"
subdesc8_0 = "Corporate News"
subdesc8_1 = "News Archive"
subdesc8_2 = "Racing News"
subdesc8_3 = "Racing News Archive"
icon_index8_0 = 17
icon_index8_1 = 17
icon_index8_2 = 17
icon_index8_3 = 17
url8_0 = "corp_news.asp"
url8_1 = "corp_news_archive.asp"
url8_2 = "racing_news.asp"
url8_3 = "racing_news_archive.asp"

function menu_OpenRdb() {
	var tempwin2=window.open('http://special.hkjc.com/promo/en/2009_rdb/2009_rdb_index.asp','','scrollbars=yes,toolbar=yes,resizable=yes,menubar=yes,location=no,left=0,top=0,width=816,height=640');
}

url9 = "javascript:menu_OpenRdb()"

function menu_OpenMusuem() {
	var tempwin2=window.open('http://www.hkjc.com/english/special/2004_archives_museum/am04_index_mu.asp','','scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,left=0,top=0,width=802,height=562');
}

url10 = "javascript:menu_OpenMusuem()"


function menu_RidingSchool() {
	var tempwin2=window.open('http://www.hkjcridingschools.com/english/riding_schools_index.asp','','scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,left=0,top=0,width=802,height=562');
}

url11 = "javascript:menu_RidingSchool()"

url12 = "corp_rgp.asp"
subdesc12_0 = "Latest Developments" 
subdesc12_1 = "Counselling Services"
icon_index12_0 = 17
icon_index12_1 = 17
url12_0 = "corp_rgp_latest_dev.asp"
url12_1 = "corp_rgp_counselling.asp"


function menu_OpenCareer() {
	var tempwin2=window.open('../jobs/index.asp','','scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,left=0,top=0,width=790,height=550');
}

url13 = "../jobs/jobs.asp"
subdesc13_0 = "TSW Wholesome Development Programme" 
icon_index13_0 = 17
url13_0 = "corp_tswtraining.asp"

function menu_OpenContactUs() {
	var tempwin2=window.open('http://special.hkjc.com/info/en/contactus.asp','','scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,left=0,top=0,width=696,height=550');
}
url14 = "javascript:menu_OpenContactUs()"
