// Configuration Script

// Menu Configuration
// see Main1.css in the css folder to manipluate menu colours, menu box sizes etc

// 1st Menu Variables --------------------------------------------------------------------------------------------------
  // MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]
  // MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString1 = "[heading],../index.html,HOME,_self,[sub1],monthlyspecials.htm,Kiora Specials,_self,[sub1],cosmetic_medicine_melbourne.htm,Overview,_self,[sub2],cosmetic_medicine_melbourne.htm,Medical,_self,[sub2],day_spa_melbourne.htm,Day Spa,_self,[sub1],philosophy.htm,Philosophy,_self,[sub1],seminars.htm,Seminars,_self,[sub1],tour_day_spa_melbourne.htm,Virtual Tour,_self,[end]";

// 2nd Menu Variables --------------------------------------------------------------------------------------------------
  // Width and Height variables for menu container
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString2 = "[heading],cosmetic_doctor_melbourne.htm,MEET THE DOCTORS,_self,[sub1],cosmetic_doctor_melbourne.htm,Doctors,_self,[sub1],gallery_melbourne.htm,Photo Portfolio,_self,[sub1],testimonials_melbourne.htm,Testimonials,_self,[end]";

// 3rd Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString3 = "[heading],cosmetic_medicine_melbourne.htm,COSMETIC PROCEDURES,_self,[sub1],anti-wrinkle_injection_melbourne.htm,Cosmetic Injections,_self,[sub2],advanced_cosmetic_injection_melbourne.htm,Advanced Cosmetic Injections,_self,[sub2],anti-wrinkle_injection_melbourne.htm,Anti-Wrinkle Injections,_self,[sub2],dermal_fillers_melbourne.htm,Dermal Fillers,_self,[sub2],lip_enhancement_melbourne.htm,Lip Enhancement,_self,[sub2],rhinoplasty_melbourne.htm,Nose & Chin Correction,_self,[sub2],lipodissolve_melbourne.htm,Lipodissolve,_self,[sub1],laser_hair_removal_melbourne.htm, Laser Hair Reduction,_self,[sub1],laser_hair_removal_melbourne.htm,Laser Treatments,_self,[sub2],acne_melbourne.htm,Acne Treatment,_self,[sub2],laser_resurfacing_melbourne.htm,Fractional Laser Resurfacing,_self,[sub2],laser_hair_removal_melbourne.htm,Laser Hair Removal,_self,[sub2],photorejuvenation_melbourne.htm,Skin Rejuvenation,_self,[sub1],hyperhidrosis_melbourne.htm,Excessive Sweating (Hyperhidrosis),_self,[sub1],face_lift_melbourne.htm, Non-Surgical Facelift,_self,[sub1],teeth_whitening_melbourne.htm,Teeth Whitening,_self,[sub1],thermage_melbourne.htm,Thermage Skin Tightening,_self,[end]";

// 4th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString4 = "[heading],day_spa_melbourne.htm,DAY SPA,_self,[sub1],spa_packages_melbourne.htm,Spa Packages,_self,[sub2],spa_packages_melbourne.htm, Kiora Packages,_self,[sub2],monthlyspecials.htm,Kiora Specials,_self,[sub2],bridal_journey_melbourne.htm,Bridal Packages,_self,[sub2],school_formal_melbourne.htm,School Formal Packages,_self,[sub1],couples_rooms_melbourne.htm,Couples Rooms,_self,[sub1],body_treatment_melbourne.htm,Body Treatments,_self,[sub1],facial_melbourne.htm,Facials,_self,[sub1],hydrotherapy_melbourne.htm,Hydrotherapy,_self,[sub1],massage_melbourne.htm,Massage,_self,[sub1],remedial_massage_melbourne.htm, Remedial Massage,_self,[sub1],microdermabrasion_melbourne.htm,Microdermabrasion,_self,[sub1],pedicure_manicure_melbourne.htm,Pedicure/Manicure,_self,[sub1],spray_tan_melbourne.htm,Spray Tan,_self,[sub1],waxing_melbourne.htm,Waxing,_self,[end]";

// 5th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString5 = "[heading],for_men_melbourne.htm,FOR MEN,_self,[sub1],for_men_melbourne.htm,Spa Treatments,_self,[sub2],remedial_massage_melbourne.htm,Remedial Massage,_self,[sub2],facial_male_day_spa_melbourne.htm,Male Facials,_self,[sub1],for_men_melbourne.htm,Medical Treatments,_self,[sub2],male_laser_hair_removal_melbourne.htm, Laser Hair Removal,_self,[sub2],male_anti-wrinkle_injection_melbourne.htm,Male Anti-Wrinkle Injections,_self,[sub2],male_hyperhidrosis_melbourne.htm,Male Hyperhidrosis,_self,[sub2],male_lipodissolve_melbourne.htm,Male Lipodissolve,_self,[sub2],pilonidal_sinus_melbourne.htm,Pilonidal Sinus,_self,[sub1],for_men_melbourne.htm,Male Overview,_self,[end]";

// 6th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString6 = "[heading],online_evaluator.htm,ONLINE EVALUATOR,_self,[sub1],online_evaluator.htm,Female Evaluator,_self,[sub1],online_evaluator.htm,Male Evaluator,_self,[end]";

// 7th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString7 = "[heading],#,PRODUCTS,_self,[sub1],gift_card_melbourne.htm,Gift Cards,_self,[sub1],products.htm,Kiora Products,_self,[sub1],jane_iredale_melbourne.htm,Mineral Makeup,_self,[sub1],payot_melbourne.htm,Payot Paris,_self,[end]";

// 8th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]  
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString8 = "[heading],http://www.cosmeticmedicineforum.com/discussion,FORUMS,_blank,[sub1],http://www.kiora.com.au/forums/forumdisplay.php?f=4,Anti-Wrinkle Forums,_self,[sub1],http://www.kiora.com.au/forums/forumdisplay.php?f=2,General Forums,_self,[sub1],http://www.kiora.com.au/forums/forumdisplay.php?f=3,Laser Forums,_self,[sub1],http://www.kiora.com.au/forums/forumdisplay.php?f=5,Lipodissolve Forums,_self,[sub1].http://www.kiora.com.au/forums/forumdisplay.php?f=6,Male Forums,_self,[end]";

// 9th Menu Variables --------------------------------------------------------------------------------------------------
// MenuString format: [Menu Posotion (eg Heading, Sub1 or Sub2)],Menu Link (# has no link),Menu Text,Window to open in (_self(open link in the same window) or _blank (open link in a new window)),[end - only listed at the end of the menu]
// MenuString items are listed in the order they appear from top to bottom, as if all menus were expanded
  var MenuString9 = "[heading],contact_melbourne.htm,CONTACT US,_self,[sub1],contact_melbourne.htm,Contact Details,_self,[sub1],gift_card_melbourne.htm,Gift Cards,_self,[sub1],online_store_spa_packages.htm,Online Store,_self,[sub1],priceguidespa.htm,Price Guide,_self,[sub1],tour_day_spa_melbourne.htm,Virtual Tour,_self,[sub1],booking_policy.htm,Spa Etiquette,_self,[end]";

// End of Menu Variables ------------------------------------------------------------------------------------------------

// If set to Yes, specials image is shown on relevant pages
var ShowSpecials = "Yes";

// If you would like the specials image to link to a page, place link here, reletive to the 07 web folder 
// (eg laser_teeth_whitening.htm)
// Otherwise leave it as var SpecialsLink = "";
var SpecialsLink = "";

// End of Menu Variables ------------------------------------------------------------------------------------------------

// If set to Yes, specials image is shown on relevant pages
var ShowSpecials = "Yes";

// If you would like the specials image to link to a page, place link here, reletive to the 07 web folder 
// (eg laser_teeth_whitening.htm)
// Otherwise leave it as var SpecialsLink = "";
var SpecialsLink = "";

// End of Variables -----------------------------------------------------------------------------------------------------

// Functions
// function to show monthly specials
function ShowMonthlySpecial(IsInRootDir){
   var TableText = "";
   var filepath = "";

   if (IsInRootDir == "Yes"){filepath = "";}

   if(SpecialsLink == "http://www.kiora.com.au/monthlyspecials.htm"){
      TableText = "<table width='293'  border='0' cellspacing='0' cellpadding='0'><tr>\r\n<td align='right' valign='top'><div align='right'><img src='"+filepath+"07web/images/mainbody/monthlySpecial.jpg' alt='Monthly Special' width='328' height='111' border='0'></div></td>\r\n</tr></table>"
   }else{
	  TableText = "<table width='293'  border='0' cellspacing='0' cellpadding='0'><tr>\r\n<td align='right' valign='top'><div align='right'><a href='"+filepath+SpecialsLink+"'><img src='"+filepath+"07web/images/mainbody/monthlySpecial.jpg' alt='Monthly Special' width='328' height='111' border='0'></a></div></td>\r\n</tr></table>"
   }

   return TableText;
}