/*
=====================================================
DESIGNED+DEVELOPED BY:
VUEONE DESIGN LLC
BRAND|PRING|WEB|DESIGN
WWW.VUEONE.COM
1-800-616-3816
=====================================================
*/
window.onload = initAll;
//GLOBAL variable declarations
var currLeft;
var currRight;
var leftBioImg = new Image();
var leftTrainingImg = new Image();
var leftExperienceImg = new Image();
var currLeftTest = 1;
var currRightTest = 1;
var currLeftStaff = 1;
var currRightStaff = 1;
var rightTestimonials = [];
var rightAuthor = [];
var leftTestimonials = [];
var leftAuthor = [];
var link;
var address;
var phone;
var maplink;

//GLOBAL variable assignments
	//--School Address Values
var address = "55 Lumber Rd.  Roslyn, NY 11576";
var maplink = "http://maps.google.com/maps?hl=en&q=55%20Lumber%20Rd.%20Roslyn,%20NY%2011576%20|%20516-359-6464&um=1&ie=UTF-8&sa=N&tab=wl";
var phone = "516-359-6464";
	//--School values
var leftFacility = "<img src='images/facilitypic.jpg' class='floatRight2'/>Tokey Hill Martial Arts Training Center is home to Garcia Muay Thai.  This 3,000 square foot State-of-the-Art Training Center is equipped with a full size Boxing Ring, dedicated Muay Thai and Boxing heavy bags, top grade mats, and an assortment of physical training gear is available to ensure you won't have to go anywhere else to get the workout every true professional will need to stay competitive.<br/><br/>Tokey Hill was built to the standards needed to train professional fighters.  They'll be no need for extra commutes or additional memberships.  We clean and disinfect our mats and equipment regularly to ensure a healthy facility for all.<br/>";
var rightFacility = "At this state of the art facility there's no shortage of great equipment for your convenience.  Everything you need to have a fun and safe experience is available for our students to use.  Pads, mittens, guards, and full body protection can be worn during any contact training to ensure everyone leaves our school in the same condition they came in.<br/><br/>It would be an understatement to say that we keep all our equipment in the best condition possible to keep our students safe.  Every mat is cleaned at least twice a day with hospital grade disinfectants for a healthy workout.";
var leftEnvironment = "<img src='images/tonyJaa.jpg' width='150px' height='188px' class='floatRight2'/>It's well known that at this school you'll be in great company when training.  Train alongside military personnel, law enforcement personnel, and professional athletes that are as dedicated as you are to taking the mental and physical abilities of the body to the next level.<p>You won't have to waste your time and money waiting for other students to reach your level of commitment and skill, or submit yourself to training with people you can't learn from.  Our Pro level training is centralized in maximizing every minute of training.<br/>";
var rightEnviroment = "Every student has the ability of choosing how far they want to take their training.  You decide what level you feel the most comfortable training up to.  We understand not everyone is here to become a professional fighter, or has to deal with violence on a daily basis.  Our recreational program is built to keep you in shape and conditioned, not worrying about showing up to work with a black eye.<p>Learn the art of Muay Thai in a fun and active no ego environment where you can pace your learning at your convenience.";
	//--Program values

var muayThaiKickboxing = "<div class='progTitle'>MUAY THAI KICKBOXING</div><br/><img src='images/muaythaipic.jpg' class='floatRight2'/><b>Muay Thai</b> is a style of Kickboxing that originated out of Thailand. It is a Striking Martial Art that is known for its use of punches, kicks, elbows, knees, and use of the head. Hence the name, The Art of Nine Limbs. During the last 50 years, Muay Thai has received high recognition as a sport and has created one of the most popular and exciting forms of exercise and entertainment. It is the fastest growing Martial Art and definitely one of the most entertaining to watch. It is the preferred Striking Martial Art in the <b>UFC</b> and all reality fighting events because of its effectiveness. Learn how to defend yourself, Burn a ton of Calories, while having lots of fun!";
var muayBoran = "<br/><br/><div class='progTitle'>MUAY BORAN</div><br/><img src='images/tonyJaaJump.jpg' width='186px' height='231px' class='floatRight2'/>The history of Muay Thai is interwoven with the history of the Thai people. A gentle, peace-loving people, for centuries Thais had to defend themselves and their land from aggressive powers. They developed a form of close, hand-to-hand combat best suited for the kind of rough-terrain battle they were fighting. Over time it became a rite of passage for Thai men to take up training in this martial art. King Naresuan the Great (1555-1605), one of the country's most celebrated warrior-heroes, is believed to have been an excellent boxer himself, and it was he who made Muay Thai a required part of military training. Another milestone in the history of Muay Thai was the triumph of Nai Khanom Tom over 10 Burmese boxers in 1774. Taken captive after the Thai capital fell in 1767, Nai Khanom Tom was picked to fight before the Burmese king. After defeating ten of them in a row, he was freed and returned home a hero.  This is why Muay Thai is referred to as \"The King of the Martial Arts and the Martial Art of King\".<br/><br/>In the old days, Muay Thai was a dangerous sport, with no safety gear of any kind for the fighters, and only lengths of cords to wrap around the fists in place of gloves. Over the years rules have been written along the line of international boxing regulations. In recent years the sport has attracted a wide following outside of the country, and training facilities have been set up in countries as far as the U.S. and the former Soviet states. In 1995 the World Muay Thai Council was set up by cabinet resolution in 1995 to promote this national heritage at national and international levels. At a conference held that same year, 78 member countries voted for the establishment of a training school where all elements of Muay Thai would be taught. The Muay Thai Institute was founded in 1997."; 
var tuffGirlz = "<br/><br/><div class='progTitle'>TUFF GIRLZ MUAY THAI KICKBOXING</div><br/><img src='images/tuffgirlzpic.jpg' class='floatRight2'/>\"Its Ok For Girlz to Hit on Boys\"<br/><br/><b>Muay Thai can help you get into great shape, relieve stress and help develop superb hand -eye coordination. The Tuff Girlz</b> Training regimen includes many staples of Combat Sport Conditioning such as: running, rope jumping, body weight resistance exercises, plyometrics, core exercises, and weight training to increase - speed, agility, power, strength, endurance, and stamina. <u><b>You will burn a ton of calories in this class</b></u> while getting into fantastic shape. <b>Muay Thai</b> also utilizes the tools of Pad work, heavy bags, speed bags, uppercut bags, and many other unique tools not found in other combat arts. These tools help to sharpen the blade of the fighter or fitness enthusiast. Regardless of fitness level and or training experience, <b>Muay Thai is a fun and effective way to get in great fighter shape as well as learn one of the Essential Martial Arts in Combat Sports. Beginners Welcome!</b>";
var mmaFit = "<br/><br/><div class='progTitle'>MMA FIT</div><br/><img src='images/mmapic.jpg' class='floatRight2'/>Not Everyone Wants To Be A Fighter but You Can Look Like One!</br></br>Start the New Year with a 1, 2, Knock Out!  Get that Six-Pack you always wanted.  Join our MMA FIT PROGRAM.  With over 25+ Years Experience in the Martial Arts and Strength and Conditioning, Our MMA FIT PROGRAM utilizes Cutting-Edge Methods to help you Achieve All Your Fitness Goals.  Increase Lean Muscle Mass, Incinerate Stubborn Fat Deposits, Improve Hand-Eye Coordination.  Increase: Strength, Speed, and Stamina.  Elevate your Confidence Levels.  Learn Self Defense in a fun and exciting way!  No experience necessary.<br/><br/>You Will Burn a Ton of Calories in This Class!  Let the Professionals at Tokey Hill Martial Arts show you the Basics of MMA as it pertains to Fitness.  During this class, you will train like a fighter without the worries of getting beat up.  Learn how to deliver devastating – Kicks and Punches.   Learn the basics of Grappling.  Perform Throws.  Learn how to break a fall and how to \"Ground and Pound\".<br/><br/>Our MMA FIT PROGRAM combines the use of specialized equipment, pads, heavy bags, speed bags, MMA Drills, resisted exercises, body weight exercises, running, jump rope, and other exercises that will help sharpen your skills as an MMA FIT Enthusiast.  Training never has to be boring again.   You will lose fat while tightening and toning your entire body!";
var aboutPrograms = muayThaiKickboxing + muayBoran + tuffGirlz + mmaFit;
//var leftWhatItIs = "<u>MUAY THAI FOR THE PROS</u><br/><br/>Muay Thai originated and began its long journey from Thailand or Siam over 2000 years ago.  No one knows for sure the exact time or period this occurred. It has grown in popularity over the last few years and is taught and practiced all over the world.  Muay Thai or Thai Boxing as it is sometimes termed is an art that does not use any weapons; it can be differentiated from western boxing as it also includes the use of the elbows, knees and feet. Muay Thai isn't just known as a fighting art, it is also a form of science that encompasses discipline, knowledge and respect.<br/><br/><u>COMBAT SPORTS CONDITIONING</u><br/><br/>Combat sports are one of the hottest and fastest growing sports in the world. Boxing, Martial Arts, and Mixed Martial Arts Contests have taken the world by storm. Just turn to any combat related pay-per-view event and notice all the stars and celebrities present. It is Incredible! Combat related reality shows have let us into the lives of fighters and their families. These shows give us insight to their training programs, mental preparation techniques, nutrition, recreation, and rest strategies. Although there have been numerous articles describing mental preparation drills to increase athletic performance (none of which have any scientific backing), it is not surprising to see that the most physically prepared individuals are the ones who win on reality shows like - \"The Contender,\" and \"The Ultimate Fighter,\" shows where athletes are forced to compete and win with only a few days rest in between bouts or go home. Physical preparedness is always a # 1 priority. Psychology comes into play later and should be no more than a # 4 or # 5 priority. The FITNESS PROS at GARCIA MUAY THAI TRAINING ACADEMY combine Strength and Conditioning, Nutrition, Sport-Specific Training, and Regeneration techniques to maximize the potential of Combat Sport Athletes. Our training programs improve speed/power, strength, confidence, speed-endurance, stamina, decrease fatigue, agility, quickness, improve hand-eye coordination, increase lean muscle mass, lose fat, lose inches, tighten and tone your entire body. These individualized programs are not the watered down programs that are popular in most chain-owned gyms, but are simply the nuts and bolts of programs used by the WORLD CLASS INSTRUCTORS at GARCIA MUAY THAI TRAINING ACADEMY for its COMBAT SPORT TEAM ATHLETES. The same athletes who hold National, International, and World Titles respectively in their sport.  Are you an athlete? Elementary, Junior High, High School, College, Professional or a Weekend Warrior? Let our Expert panel of Coaches and Fitness Trainers instruct you with over 25+ years of experience and utilizing cutting-edge methods to show you the way to a new body. Learn self defense! Discover a new way to fitness! Get that six-pack you always wanted. Become socially and physically confident. Increase self-esteem. Learn a fun skill that will get you into the best shape of your life.";
var rightWhatItIs ="<u>MUAY THAI FOR RECREATION</u><br/><br/>Not everyone wishes to compete in the ring but Muay Thai classes are probably one of the best ways to get and maintain fitness. Predominantly in the United States, 95% of those who practice Muay Thai do so for the sole purpose of keeping fit and learning a self defense system at the same time. The other 5% wishes to fight and train competitively. Muay Thai is not only about getting physically fit, it also teaches us moral values and disciplines in life. It teaches humility, modesty and confidence as well as to always speak the truth and to avoid committing sins in life.<br/><br/><u>COMBAT SPORTS CONDITIONING</u><br/><br/>Combat sports are one of the hottest and fastest growing sports in the world. Boxing, Martial Arts, and Mixed Martial Arts Contests have taken the world by storm. Just turn to any combat related pay-per-view event and notice all the stars and celebrities present. It is Incredible! Combat related reality shows have let us into the lives of fighters and their families. These shows give us insight to their training programs, mental preparation techniques, nutrition, recreation, and rest strategies. Although there have been numerous articles describing mental preparation drills to increase athletic performance (none of which have any scientific backing), it is not surprising to see that the most physically prepared individuals are the ones who win on reality shows like - \"The Contender,\" and \"The Ultimate Fighter,\" shows where athletes are forced to compete and win with only a few days rest in between bouts or go home. Physical preparedness is always a # 1 priority. Psychology comes into play later and should be no more than a # 4 or # 5 priority. The FITNESS PROS at GARCIA MUAY THAI TRAINING ACADEMY combine Strength and Conditioning, Nutrition, Sport-Specific Training, and Regeneration techniques to maximize the potential of Combat Sport Athletes. Our training programs improve speed/power, strength, confidence, speed-endurance, stamina, decrease fatigue, agility, quickness, improve hand-eye coordination, increase lean muscle mass, lose fat, lose inches, tighten and tone your entire body. These individualized programs are not the watered down programs that are popular in most chain-owned gyms, but are simply the nuts and bolts of programs used by the WORLD CLASS INSTRUCTORS at GARCIA MUAY THAI TRAINING ACADEMY for its COMBAT SPORT TEAM ATHLETES. The same athletes who hold National, International, and World Titles respectively in their sport.  Are you an athlete? Elementary, Junior High, High School, College, Professional or a Weekend Warrior? Let our Expert panel of Coaches and Fitness Trainers instruct you with over 25+ years of experience and utilizing cutting-edge methods to show you the way to a new body. Learn self defense! Discover a new way to fitness! Get that six-pack you always wanted. Become socially and physically confident. Increase self-esteem. Learn a fun skill that will get you into the best shape of your life.";
var leftHowWeDoIt ="<div class='progTitle'><b>All classes below are available for Seminars, Group Training, One on One:</b></div><br/><br/><b>SELF DEFENSE PROGRAMS</b><br/>-Women's Self Defense<br/>-Men's Self Defense<br/>-Children's Self Defense</b><br/><br/><b>INSTRUCTOR TRAINING PROGRAMS</b><br/>- Fighter Course <a href ='http://www.garciamuaythai.com/files/Muay_Thai_Fighter_Course_Description.pdf' target='_blank'> <b>(Click Here To Learn More)</b></a><br/>- Muay Thai Trainer Certification Course<br/>- Kru Instructor Certification Course";
//var leftHowWeDoIt ="<u>BLACK BELT PROGRAM</u><br/><br/>This Program is ideal for the athlete that wants to take their Muay Thai game to the next level.  This class is an intense 90 minutes in duration, utilizing a State of the Art Strength and Conditioning Program that caters to the individual needs of each athlete.  The athlete will progress from level 1 - 10 (White to Black).  Testing will be done throughout each level.  Athletes must demonstrate proficiency and show that they belong.  Sparring is optional.";
var rightHowWeDoIt = "<u>BLUE BELT/FITNESS PROGRAM</u><br/><br/>Get into awesome shape while learning all the Basic Self Defense Techniques of Muay Thai.  This High-Energy 50 minute class introduces participants to the Art of Muay Thai.  The class focuses on Flexibility, Discipline, Conditioning, Basic Muay Thai Techniques, and Mind/Body Connection.  Build <b>Strength</b> and <b>Stamina</b> and <b>have fun</b> while <b>burning a ton of calories</b>.  Our Program produces the most In-Shape Athletes around!  With this focused program there is no need for sparring, takedowns, throws, submissions, clinch wrestling, and or ground work.  Learn all the Basic Techniques from White to Blue Belt.";
	//--Staff values
var leftTonyBio ="<img src='images/tonybiopic.jpg' class='floatRight2'/>After over 25 years of dedication to the Art of Fighting, Muay Thai, and other Martial Arts, Grand Master Toddy proudly awarded Anthony Garcia the title of Arjarn \"Master\" of Muay Thai. Arjarn Garcia is now recognized as one of only 5 non Thai Muay Thai Masters in the United States. He is also one of the very few Instructors worldwide who possesses 3 Arjarn titles from 3 different Muay Thai Grand Masters in Thailand, the Mecca of Muay Thai. <br/><br/> All rankings were officially witnessed and signed by the Thai Governing body, the Muay Thai Council, a division of the Thai Government. <br/><br/>Muay Thai has always been a passion for Arjarn Garcia whom is honored to have received such a prestigious award by Grand Master Toddy and the government of Thailand. Dee Mak (good work) Arjarn Garcia!";
//var leftTonyBio ='Head Muay Thai Instructor at Tokey Hill Martial Arts, Kru Anthony Garcia feels he is here to help facilitate your unique journey into what is called "The Muay Thai Experience."  Muay Thai is known the world over as the King of the Martial Arts and the Martial Art of Kings.  As you begin your journey, set your personal goals, you will become ecstatic as you overcome your obstacles, whatever they may be.  Kru Garcia is here to assist you in becoming a successful Muay Thai Practitioner whether it be for weight loss, learning a Martial Art, fitness, strength and conditioning, getting into the best shape of your life, or competition.  Invest in your health, invest in your self.  You will soon realize why Muay Thai is referred to as the King of the Martial Arts and the Martial Art of Kings.  As a child, having to run around the shower to get wet meant that Anthony was a bully\'s favorite.  Skinny, barely 60 lbs, with no self-defense skills while growing up in the streets of Elmhurst and Corona, Queens N.Y. required that Anthony better join a Track team in order to outrun the daily group of hoodlums that tried to steal his wallet, money, sneakers, book bag, etc.  On the walks home from school, Anthony would often walk around in circles to avoid certain neighborhoods where he would encounter confrontations.  And although all the running and training later paid off in high school and college Track and Field tournaments, running for the wrong reasons had to stop.  At the age of 8, Anthony discovered the Martial Arts.  On a hot July afternoon, He was introduced to Sr. Lee.  One-on-one training began in his backyard, inside an open gazebo-like structure with cement floors.  It was there that he learned how to fall, get up, how to use all 9 weapons of the body: hands, elbows, knees, legs, and the head.  Anthony would never run again.  Two years later, Anthony was fortunate enough to fend off 6 attackers, all of which were bigger, stronger, and older, armed with knives, bats, and other weapons.  To further refine his skills, he took up boxing, trained under the same coaches and in the same legendary facility that many great fighters once trained at.  In a short time, he became an undefeated prospect with Knock Out wins over some of the toughest and meanest lightweight and middleweight boxers in the business, both amateur and professional.  After moving away and not being able to train at a boxing gym, Anthony returned to the Martial Arts and reacquainted himself with: Kung Fu, Jeet Kune Do, Wing Chun, Tae Kwon do, Shotokan, Sambo, Jiu Jitsu, Brazilian Jiu Jitsu, Judo, MMA and of course Muay Thai.  Anthony always believed that in order to be the best, you have to train with the best.  Therefore, he embarked on a journey that landed him on the steps of Master Toddy\'s door.  Master Toddy is regarded as the undisputed Muay Thai Trainer of all time having trained over 40 World Champions in the Art of Muay Thai.  Unable to take "No" for an answer, Anthony persisted that he be trained by Grand Master Toddy himself while also training with his world class staff and stable of professional fighters.  After countless hours of hard training, developing and refining technique, showcasing skills, testing, Anthony was proudly awarded the status of "Kru", a highly regarded term which means "Teacher" or "Professor" in Thai.  Kru Garcia now feels that he is prepared to help you realize all your fitness goals.  Anthony continually upgrades his talent tool box by training all over the world with the best Instructors and fighters in the business.  Embark on this journey with him, we all have much to learn...';
var rightTonyBio ='Head Muay Thai Instructor at Tokey Hill Martial Arts, Kru Anthony Garcia feels he is here to help facilitate your unique journey into what is called "The Muay Thai Experience."  Muay Thai is known the world over as the King of the Martial Arts and the Martial Art of Kings.  As you begin your journey, set your personal goals, you will become ecstatic as you overcome your obstacles, whatever they may be.  Kru Garcia is here to assist you in becoming a successful Muay Thai Practitioner whether it be for weight loss, learning a Martial Art, fitness, strength and conditioning, getting into the best shape of your life, or competition.  Invest in your health, invest in your self.  You will soon realize why Muay Thai is referred to as the King of the Martial Arts and the Martial Art of Kings.  As a child, having to run around the shower to get wet meant that Anthony was a bully\'s favorite.  Skinny, barely 60 lbs, with no self-defense skills while growing up in the streets of Elmhurst and Corona, Queens N.Y. required that Anthony better join a Track team in order to outrun the daily group of hoodlums that tried to steal his wallet, money, sneakers, book bag, etc.  On the walks home from school, Anthony would often walk around in circles to avoid certain neighborhoods where he would encounter confrontations.  And although all the running and training later paid off in high school and college Track and Field tournaments, running for the wrong reasons had to stop.  At the age of 8, Anthony discovered the Martial Arts.  On a hot July afternoon, He was introduced to Sr. Lee.  One-on-one training began in his backyard, inside an open gazebo-like structure with cement floors.  It was there that he learned how to fall, get up, how to use all 9 weapons of the body: hands, elbows, knees, legs, and the head.  Anthony would never run again.  Two years later, Anthony was fortunate enough to fend off 6 attackers, all of which were bigger, stronger, and older, armed with knives, bats, and other weapons.  To further refine his skills, he took up boxing, trained under the same coaches and in the same legendary facility that many great fighters once trained at.  In a short time, he became an undefeated prospect with Knock Out wins over some of the toughest and meanest lightweight and middleweight boxers in the business, both amateur and professional.  After moving away and not being able to train at a boxing gym, Anthony returned to the Martial Arts and reacquainted himself with: Kung Fu, Jeet Kune Do, Wing Chun, Tae Kwon do, Shotokan, Sambo, Jiu Jitsu, Brazilian Jiu Jitsu, Judo, MMA and of course Muay Thai.  Anthony always believed that in order to be the best, you have to train with the best.  Therefore, he embarked on a journey that landed him on the steps of Master Toddy\'s door.  Master Toddy is regarded as the undisputed Muay Thai Trainer of all time having trained over 40 World Champions in the Art of Muay Thai.  Unable to take "No" for an answer, Anthony persisted that he be trained by Grand Master Toddy himself while also training with his world class staff and stable of professional fighters.  After countless hours of hard training, developing and refining technique, showcasing skills, testing, Anthony was proudly awarded the status of "Kru", a highly regarded term which means "Teacher" or "Professor" in Thai.  Kru Garcia now feels that he is prepared to help you realize all your fitness goals.  Anthony continually upgrades his talent tool box by training all over the world with the best Instructors and fighters in the business.  Embark on this journey with him, we all have much to learn...';
//var leftTonyTraining = "Certified Muay Thai Kru Instructor under Master Toddy<br/>Certified USA Weightlifting<br/>Certified USA Track and Field<br/>Certified USA Boxing Coach<br/>Olympic Level Karate Coach<br/><br/>Therapeutic Recreation Specialist, Mercy  College<br/>Physical Therapy, New York Medical College<br/>NSCA, C.S.C.S. Certified Strength and Conditioning Specialist<br/>Massage Therapy, New York College<br/>Active Release Techniques, NY Chiropractic College<br/>Biomedical Research Scientist-Texas A & M University";
var leftTonyTraining ="<img src='images/tonytrainingpic.jpg' class='floatRight2'/>Certified Arjarn in Muay Thai under Grand Master Toddy, M.T.I.A.<br/>Certified Muay Thai Kru Instructor under Grand Master Toddy, M.T.I.A.<br/>Certified Muay Thai Trainer under Grand Master Toddy, M.T.I.A.<br/>Certified Muay Thai Fighter, Grand Master Toddy, M.T.I.A.<br/>Certified Muay Thai Referee, M.T.I.A.<br/>Certified Muay Thai Judge, M.T.I.A.<br/>Certified Muay Thai/Muay Boran Arjarn under Grand Master Woody, K.M.T.A.<br/>Certified Muay Boran Arjarn, Master Sane T., K.M.T.A. <br/>Certified Krabi Krabong Instructor, Master Sane T., K.M.T.A.<br/><br/>Other Certifications, to name a few:<br/><br/>Certified USA Weightlifting Coach<br/>Certified USA Track and Field, Speed Development Specialist<br/>Certified USA Boxing Coach<br/>Olympic Level Karate Coach<br/>Certified Flexibility Specialist, Wharton Method<br/>Certified Pilates Instructor, Mat/Apparatus/Props<br/>Certified Sports Nutritionist<br/><br/>More Specialized Degrees:<br/><br/>Therapeutic Recreation Specialist, Mercy College<br/>Physical Therapy, New York Medical College<br/>NSCA, C.S.C.S. Certified Strength and Conditioning Specialist<br/>Massage Therapy, New York College<br/>Active Release Techniques, NY Chiropractic College<br/>Biomedical Research Scientist-Texas A & M University<br/>Sports and Injury Rehabilitation and Management, American College of Sports Medicine<br/>KinesioTape Pediatric Specialist, KinesioTaping Association International<br/>Certified Therapeutic Listening Specialist for Pediatrics<br/>Certified Pediatric Neurodevelopmental Therapy and Sensory Integration<br/>Certified Sensory Processing Disorder Specialist (SPD)<br/>Certified Pediatric Specialist in Multisensory Techniques (SPD)";
var rightTonyTraining = "Certified Muay Thai Kru Instructor under Master Toddy<br/>Certified USA Weightlifting<br/>Certified USA Track and Field<br/>Certified USA Boxing Coach<br/>Olympic Level Karate Coach<br/><br/>Therapeutic Recreation Specialist, Mercy  College<br/>Physical Therapy, New York Medical College<br/>NSCA, C.S.C.S. Certified Strength and Conditioning Specialist<br/>Massage Therapy, New York College<br/>Active Release Techniques, NY Chiropractic College<br/>Biomedical Research Scientist-Texas A & M University";
var leftTonyExperience ="<img src='images/tonyexperiencepic1.jpg' class='floatRight2'/>Arjarn Garcia has been training in the Martial Arts for almost 30 years. His ability to teach and help Martial Artists and Athletes achieve all their fitness goals is superb. Master Garcia has traveled across the country and internationally to train with some of the best Martial Artists and Masters in the world.<br/><br/>To name a few: Grand Master Toddy, Master Sane, Master K, Arjarn Mac, Master Saohin, Saekson Janjira, Samart Payakaroon, Matee, Pongsan, Sakasem, Jongsanan, Master Nop, Master Luk Cheng, Kaensak, Arjarn Sangar, Grand Master Woody, Kru Robert, Kru Ritt, UFC Fighters, Pro MMA fighters, multiple Lumpini and Raja Stadium Champions as well as World Champions, plus many more...<br/><br/><img src='images/tonyexperiencepic2.jpg' class='floatRight2'/>Arjarn Garcia continually upgrades his talent toolbox and keeps his skills sharp. Embark on this journey with him; we all have much to learn.<img src='images/tonyexperiencepic3.jpg' class='floatRight2'/>";
//var leftTonyExperience ="Kru Garcia has been training in the Martial Arts for almost 30 years.  His ability to teach and help Martial Artists and Athletes achieve all their fitness goals is superb.  Kru Garcia has traveled across the country and internationally to train with some of the best Martial Artists and Masters in the world.  <br/><br/>To name a few: Grand Master Toddy, Master K, Ajarn Mac, Master Saohin, Saekson Janjira, Samart Payakaroon, Matee, Pongsan, Sakasem, Jongsanan, Master Nop, Master Luk Cheng, Kru Ritt, UFC Fighters, Pro MMA fighters, multiple Lumpini and Raja Stadium Champions as well as World Champions, plus many more...  <br/><br/>Kru Garcia continually upgrades his talent tool box and keeps his skills sharp.  Embark on this journey with him, we all have much to learn.";
var rightTonyExperience ="Kru Garcia has been training in the Martial Arts for almost 30 years.  His ability to teach and help Martial Artists and Athletes achieve all their fitness goals is superb.  Kru Garcia has traveled across the country and internationally to train with some of the best Martial Artists and Masters in the world.  <br/><br/>To name a few: Grand Master Toddy, Master K, Ajarn Mac, Master Saohin, Saekson Janjira, Samart Payakaroon, Matee, Pongsan, Sakasem, Jongsanan, Master Nop, Master Luk Cheng, Kru Ritt, UFC Fighters, Pro MMA fighters, multiple Lumpini and Raja Stadium Champions as well as World Champions, plus many more...  <br/><br/>Kru Garcia continually upgrades his talent tool box and keeps his skills sharp.  Embark on this journey with him, we all have much to learn.";

var leftTomBio = "Growing up in the streets of the South Bronx was not an easy task for a formidable youngster. Tom was always picked on and was routinely beat up on a daily basis. Neighborhood gangs were always fighting for territory. Tom's parents decided that their son needed to stand up to the neighborhood bullies and not be afraid to cross the street on any given day. His parents sought the help of Arjarn Tony Garcia. Master Garcia introduced Tom to Strength and Conditioning methods and his frail body soon changed and became more muscular. His gains in strength went through the roof.  At a neighborhood club, Tom joined a Wrestling Club and Arjarn Garcia showed him Muay Thai.  The rest is history.  Years later, he is now a competitive fighter and an equally good teacher.  He enjoys teaching youngsters how to defend themselves and how to be more confident and productive individuals.";
//var leftTomBio = "Growing up in the streets of the South Bronx was not an easy task for a formidable youngster.  Tom was always picked on and was routinely beat up on a daily basis.  Neighborhood gangs were always fighting for territory.  Tom's parents decided that their son needed to stand up to the neighborhood bullies and not be afraid to cross the street on any given day.  His parents sought the help of Kru Tony Garcia.  Kru Garcia introduced Tom to Strength and Conditioning methods and his frail body soon changed and became more muscular.  His gains in strength went through the roof.  Kru Garcia introduced Tom to the Martial Arts.  Tom found his home.  Years later, he is now a competitive fighter and an equally good teacher.  Tom enjoys teaching youngsters how to defend themselves and avoid the mistakes that he made as a youngster.";
//var leftTomExperience = "Tom Velasquez has trained with:<table><tr><td>Maurice Smith<br/>Bas Rutten<br/>Saekson Janjira<br/>Carlos Catano<br/>Ernesto Hoost</td><br/><td>Anthony Argyros<br/>Sergio Penha<br/>Eddy Rolon<br/>Gene Fabrican(Sambo)<br/>Sakasem(The Punisher)</td><td>Master K<br/>Carmine Zoochi(BJJ)<br/>Juan Zapata(Judo Black Belt)<br/>Scott Epstein(10th Planet Jiu Jitsu)<br/>Errwan Marshall(10th Planet Jiu Jitsu)</td></tr></table><br/><br/>-Holds a Purple Belt in Brazilian Jiu Jitsu under Carmine Zoochi<br/>-Holds a Green Belt in Judo under Juan Zapata Judoka with over 50 years of experience";
var leftTomExperience = "Tom Velasquez has trained with:<br/><br/>Arjarn Tony Garcia<br/>Maurice Smith<br/>Bas Rutten<br/>Saekson Janjira<br/>Carlos Catano<br/>Ernesto Hoost   Anthony Argyros<br/>Sergio Penha<br/>Eddy Rolon<br/>Gene Fabrican(Sambo)<br/>Sakasem(The Punisher)   Master K<br/>Carmine Zoochi(BJJ)<br/>Juan Zapata(Judo Black Belt)<br/>Scott Epstein(10th Planet Jiu Jitsu)<br/>Errwan Marshall(10th Planet Jiu Jitsu)<br/><br/>-Holds a Purple Belt in Brazilian Jiu Jitsu under Carmine Zoochi<br/>-Holds a Green Belt in Judo under Juan Zapata Judoka with over 50 years of experience";
//var leftTomTraining = "Assistant Instructor, Tom Velasquez has been training and competing in the Martial Arts for the past 7 years.  He has competed in everything from: Submission Wrestling, Brazilian Jiu Jitsu (Purple Belt), Boxing, Muay Thai, and Grappling.  He has medaled in many prestigious events including NAGA and Grapplers Quest.  He is ACOM Sports NY Grappling Champion, and ACOM Sports WelterWeight Shootfighting Champion.<br/><br/>Today, Tom's primary focus is competing in Mixed Martial Arts and assisting Kru Garcia in developing future talent and helping individuals reach beyond their limitations.";
var leftTomTraining = "Garcia Muay Thai Assistant Instructor, Tom Velasquez has been training and competing in the Martial Arts for the past 7 years. He has competed in everything from: Submission Wrestling, Brazilian Jiu Jitsu (Purple Belt), Boxing, Muay Thai, and Grappling. He has medaled in many prestigious events including NAGA and Grapplers Quest. He is ACOM Sports NY Grappling Champion, and ACOM Sports WelterWeight Shootfighting Champion.<br/><br/>Today, Tom's primary focus is competing in Mixed Martial Arts and assisting Arjarn Garcia in developing future talent and helping individuals reach beyond their limitations.";

var mondaySchedule = "MUAY THAI FUNDAMENTALS<br/>8:00PM TO 9:00PM";
var tuesdaySchedule = "TUFF GIRLZ<br/>10:30AM TO 11:30AM<";
var wednesdaySchedule = "MUAY THAI PADWORK</br>7:00PM TO 8:00PM";
var thrusdaySchedule = "ADVANCED MUAY THAI</br>7:00PM TO 8:00PM";
var fridaySchedule = "MUAY THAI SPARRING & CLINCH TECHNIQUES<br/>7:00PM TO 8:00AM";
var saturdaySchedule = "PRIVATE SESSIONS<br/>By Appointment Only";
var sundaySchedule = "PRIVATE SESSIONS<br/>By Appointment Only";
var scheduleTitle ="OPEN MAT ALL WEEKDAYS 12:00PM TO 3:00PM ";
var leftSchedule ="<table><tr>"+scheduleTitle+"</tr><tr><td>MONDAY</td><td>TUEDAY</td><td>WEDNESDAY</td><td>THRUSDAY</td><td>FRIDAY</td><tr/><tr><td>"+mondaySchedule+"</td><td>"+tuesdaySchedule+"</td><td>"+wednesdaySchedule+"</td><td>"+thrusdaySchedule+"</td><td>"+fridaySchedule+"</td><tr><td>SATURDAY</td><td>SUNDAY</td></tr><tr><td>"+saturdaySchedule+"</td><td>"+sundaySchedule+"</td></tr></table>";

	//--Right testimonial values
rightTestimonials[1] =  "My son, Chris, age 15, started at Garcia Muay Thai in April 2009, while also competing in Wrestling and Baseball.  However, he knew he wasn't as fit as the other athletes on his teams.  He wanted to try Kru Tony Garcia's Muay Thai class on a 'Trial' basis to see if he would get anything out of it.  That trial class has led to my son's passion!  He is FIT and more FOCUSED on both his HEALTH and SCHOOL than he has ever been.  Tony Garcia is DEDICATED and makes his students SUCCESSFUL. ";
rightAuthor[1] =  "Elaine<br/><br/>Mother";
rightTestimonials[2] = "Garcia Muay Thai has made me a more confident individual.  It has helped me lose a tremendous amount of weight in which I have felt was impossible to lose.  I have also become more disciplined and I am now more determined in reaching my goals.  I have become more physically fit and athletic.  Also, since I have joined the program, I have made many new friendships.";
rightAuthor[2] = "Vinny<br/><br/>15 year old - Fighter";

	//--Left testimonial values
leftTestimonials[1] = "If you wish to learn the art of Muay Thai and not some watered down version of kickboxing Tony Garcia is the instructor for you!!! Unlike many instructors who just blend the punches of boxing with some basic kicks Tony teaches you the real techniques of Muay Thai. Tony also stress peak physical conditioning making sure that you not only learn the proper techniques of Muay Thai but that you have the strength and endurance to execute them. I consider myself blessed to have met Tony after many years of subpar Muay Thai training as he has introduced me to the 'real' art of Muay Thai. So whether you want to be a Muay Thai fighter or just train like one I can't think of anyone I'd rather train with than Tony Garcia.";
leftAuthor[1] = "Joe Spano<br/><br/>Sports Talk Host<br/>Sirius Satellite Radio";
leftTestimonials[2] = "Since I've been training under Tony Garcia in Muay Thai, I've noticed significant physical changes in my physique as well as a well balanced enhancement to my current Martial Arts training. I have been a long time Martial Artist of 25 years, however, Tony has brought my striking and kicking skills to another level. Tony's training has helped me in the tournament realm in other Martial Arts. He's helped me champion Karate, Grappling and Judo tournaments under his guidance.";
leftAuthor[2] = "Maria L. DiDio<br/><br/>\"Rose & Thorn\"<br/>Self Defense Fighting System for Women<br/>www.womenfightbackselfdefense.com";
leftTestimonials[3] =  "My son, Chris, age 15, started at Garcia Muay Thai in April 2009, while also competing in Wrestling and Baseball.  However, he knew he wasn't as fit as the other athletes on his teams.  He wanted to try Kru Tony Garcia's Muay Thai class on a 'Trial' basis to see if he would get anything out of it.  That trial class has led to my son's passion!  He is FIT and more FOCUSED on both his HEALTH and SCHOOL than he has ever been.  Tony Garcia is DEDICATED and makes his students SUCCESSFUL. ";
leftAuthor[3] =  "Elaine<br/><br/>Mother";
leftTestimonials[4] = "Garcia Muay Thai has made me a more confident individual.  It has helped me lose a tremendous amount of weight in which I have felt was impossible to lose.  I have also become more disciplined and I am now more determined in reaching my goals.  I have become more physically fit and athletic.  Also, since I have joined the program, I have made many new friendships.";
leftAuthor[4] = "Vinny<br/><br/>15 year old - Fighter";
leftTestimonials[5] = "Dear Master Garcia, I just wanted to write to thank you for your Tuff Girlz class.  I have been to many other classes before, and yours is by far the most individualized program out there.  You take the time to learn the needs of each of your students and incorporate strength and stamina training with muay thai in a combination that not only provides results, but it  makes the class time fly by.  You bring something new to the table every week, and I am constantly being pushed beyond my comfort zone.  I was struggling with my weight and had tried many other programs without success.  I am proud to say that since starting Tuff Girlz, I have lost over 30 lbs and gained tremendous strength, and I know with confidence that I will be able to get to my final weight goal with your help.Thank you for everything that you have done for me, and I look forward to continuing to train with you for many years to come.";
leftAuthor[5] = "<br/><br/>Susan McCormack";
	//--SAMPLE testimonial values*********
//rightTestimonials[#] = "TESTIMONIAL HERE";
//rightAuthor[#] = "AUTHOR NAME HERE<br/><br/>AUTHOR TITLE HERE";



//Window left + right page values passed from index.php
function initPage(left,right){
currLeft = left;
currRight = right;
}
//Initilizes on window.onload
function initAll() {
divElement = document.getElementsByTagName('div');
imgElement = document.getElementsByTagName('img');
loadLinks();
checkClick();
//--Loads default data for each left section based on current page
switch (currLeft) {
	
	case "staff":
		loadLeftStaffFirst();
		break;
	case "programs":
		loadLeftProgramsFirst();
		break;
	case "school":
		loadLeftSchoolFirst();
		break;
	case "testimonial":
		loadLeftTestFirst();
		break;
	case "home":
		break;
	}
//--Loads default data for each right section based on current page
	/*switch (currRight) {
	case "staff":
		loadRightStaffFirst();
		break;
	case "training":
		loadRightTrainingFirst();
		break;
	case "school":
		loadRightSchoolFirst();
		break;
	case "testimonial":
		loadRightTestFirst();
		break;
	case "home":
		break;
	}*/	
}
//Checks for click event on:
function checkClick() {
	//-- Div object
	for (i=1;i<divElement.length;i++){
	divElement[i].onclick  = clickedDiv;
	}
	//-- Img object
	for (i=1;i<imgElement.length;i++){
		switch (imgElement[i].name) {
		case 'leftBio':
			leftBioImage = imgElement[i];
			break;
		case 'leftTraining':
			leftTrainingImage = imgElement[i];
			break;
		case 'leftExperience':
			leftExperienceImage = imgElement[i];
			break;
		case 'rightBio':
			rightBioImage = imgElement[i];
			break;
		case 'rightTraining':
			rightTrainingImage = imgElement[i];
			break;
		case 'rightExperience':
			rightExperienceImage = imgElement[i];
			break;
		}
		imgElement[i].onclick  = clickedImg;
	}
	
}
//Assigns section content and enables objects based in seciton menu Div selection
function clickedDiv() {

	//--Left Content
	if (this.className == "leftContentSection"){
		switch (this.innerHTML) {
			case "Facility":
				loadLeftSchoolFirst();
				break;
			case "Environment":
				content = document.getElementById('leftSchoolContent');
				content.style.visibility = "visible";
				content.innerHTML = leftEnvironment;
				pics = document.getElementById('PictoBrowser100508194044');
				pics.style.visibility = "hidden";
				break;
			case "Photos":
				content = document.getElementById('leftSchoolContent');
				content.style.visibility = "hidden";
				pics = document.getElementById('PictoBrowser100508194044');
				pics.style.visibility = "visible";
				break;
			case "our PROGRAMS":
				loadLeftProgramsFirst();
				break;
			case "special PROGRAMS":
				var content = document.getElementById('leftProgramsContent');
				content.innerHTML = leftHowWeDoIt;
				break;
			case "the SCHEDULE":
				var content = document.getElementById('leftProgramsContent');
				content.innerHTML = leftSchedule;
				break;
			case "Arjarn Tony Garcia PT, C.S.C.S.":
				currLeftStaff = 1;
				loadLeftStaffFirst();
				break;
			case "Tom Velasquez":
				currLeftStaff = 2;
				loadLeftStaffFirst();
				break;
			case "Pictures":
				content = document.getElementById('leftGalleryContainer');
				content.style.visibility = "hidden";
				content.style.height = 0;				
				content = document.getElementById('galleryHolder');
				content.innerHTML = '<div id="pictureChannel"><iframe align="center" src="http://www.flickr.com/slideShow/index.gne?user_id=49969639@N05&" frameBorder="0" width="550" scrolling="no" height="350"></iframe></div>';
				pics = document.getElementById('pictureChannel');
				pics.style.visibility = "visible";
				pics = document.getElementById('close');
				pics.style.visibility = "visible";
				break;
			case "Videos":
				content = document.getElementById('leftGalleryContainer');
				content.style.visibility = "hidden";
				content.style.height = 0;				
				content = document.getElementById('galleryHolder');
				content.innerHTML = '<div id="youtubeChannel"><object width="416" height="337"><param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFPlqWwRTJ1aWC0Tt0wJG1IS60OzGWMn7tE="></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFPlqWwRTJ1aWC0Tt0wJG1IS60OzGWMn7tE=" type="application/x-shockwave-flash" width="416" height="337"></embed></object></div>';
				pics = document.getElementById('youtubeChannel');
				pics.style.visibility = "visible";
				pics = document.getElementById('close');
				pics.style.visibility = "visible";
				break;
		
		}
	}
	else if (this.className == "button"){
		switch (this.innerHTML) {
			case "CLOSE":
				content = document.getElementById('leftGalleryContainer');
				content.style.visibility = "visible";
				content = document.getElementById('galleryHolder');
				content.innerHTML = '';
				pics = document.getElementById('close');
				pics.style.visibility = "hidden";
				break;	
		}
	}
	//--Right Content
	/*else if (this.className == "rightContentSection"){
		switch (this.innerHTML) {
			case "Facility":
				loadRightSchoolFirst();
				break;
			case "Environment":
				content = document.getElementById('rightSchoolContent');
				content.style.visibility = "visible";
				content.innerHTML = rightEnviroment;
				pics = document.getElementById('PictoBrowser100508193833');
				pics.style.visibility = "hidden";
				break;
				case "Photos":
				content = document.getElementById('rightSchoolContent');
				content.style.visibility = "hidden";
				pics = document.getElementById('PictoBrowser100508193833');
				pics.style.visibility = "visible";
				break;
			case "what IT IS":
				loadRightTrainingFirst();
				break;
			case "how WE DO IT":
				var content = document.getElementById('rightTrainingContent');
				content.innerHTML =  rightHowWeDoIt;
				content.style.backgroundColor = "#ffffff";
				content.style.backgroundImage = '';
				break;
			case "the SCHEDULE":
				var content = document.getElementById('rightTrainingContent');
				content.style.backgroundColor = "transparent";
				content.innerHTML = "";
								content.style.backgroundImage = 'url(images/recschedule.png)';
				break;
			case "Kru Tony Garcia":
				currRightStaff = 1;
				loadRightStaffFirst();
				break;
			case "Tony Valasquez":
				currRightStaff = 2;
				loadRightStaffFirst();
				break;
		}
	}*/
	
}
//--Assigns content values based on section Image selection
function clickedImg() {
		//--Staff left tabs actions
		switch (this.name) {
			case "leftBio":
				this.src = "images/bio_on.png";
				leftTrainingImage.src = "images/training_off.png";
				leftExperienceImage.src = "images/experience_off.png";
				loadLeftStaffFirst();
				break;
			case "leftTraining":
				this.src = "images/training_on.png";
				leftBioImage.src = "images/bio_off.png";
				leftExperienceImage.src = "images/experience_off.png";
				if  (currLeftStaff == 1) {
				var content = document.getElementById('leftStaffContent');
				content.innerHTML = leftTonyTraining;
				}else if (currLeftStaff == 2){
				var content = document.getElementById('leftStaffContent');
				content.innerHTML = leftTomTraining;
				}
				break;
			case "leftExperience":
				this.src = "images/experience_on.png";
				leftTrainingImage.src = "images/training_off.png";
				leftBioImage.src = "images/bio_off.png";
				if  (currLeftStaff == 1) {
				var content = document.getElementById('leftStaffContent');
				content.innerHTML = leftTonyExperience;
				}else if (currLeftStaff == 2){
				var content = document.getElementById('leftStaffContent');
				content.innerHTML = leftTomExperience;
				}
				break;
			//--Staff left tabs actions
			case "rightBio":
				this.src = "images/bio2_on.png";
				rightTrainingImage.src = "images/training_off.png";
				rightExperienceImage.src = "images/experience_off.png";
				loadRightStaffFirst();
				break;
			case "rightTraining":
				this.src = "images/training2_on.png";
				rightBioImage.src = "images/bio_off.png";
				rightExperienceImage.src = "images/experience_off.png";
				if  (currRightStaff == 1) {
				var content = document.getElementById('rightStaffContent');
				content.innerHTML = rightTonyTraining;
				}else if (currrightStaff == 2){
				var content = document.getElementById('rightStaffContent');
				content.innerHTML = "Valasquez Training";
				}
				break;
			case "rightExperience":
				this.src = "images/experience2_on.png";
				rightTrainingImage.src = "images/training_off.png";
				rightBioImage.src = "images/bio_off.png";
				if  (currRightStaff == 1) {
				var content = document.getElementById('rightStaffContent');
				content.innerHTML = rightTonyExperience;
				}else if (currRightStaff == 2){
				var content = document.getElementById('rightStaffContent');
				content.innerHTML = "Valasquez Experience";
				}
				break;
		}
		//--Testimonial right + image actions	
		if (this.name == "rightMore"){
			if (currRightTest < rightTestimonials.length-1){
			currRightTest++;
			}
			else {
			currRightTest = 1;
			}
			var testimonial = document.getElementById('rightTestContent');
			var author = document.getElementById('rightNameContent');
			testimonial.innerHTML = rightTestimonials[currRightTest];
			author.innerHTML =  rightAuthor[currRightTest];
		}
		//--Testimonial left + image actions	
		else 	if (this.name == "leftMore"){
			if (currLeftTest < leftTestimonials.length-1){
			currLeftTest++;
			}
			else {
			currLeftTest = 1;
			}
			var testimonial = document.getElementById('leftTestContent');
			var author = document.getElementById('leftNameContent');
			testimonial.innerHTML = leftTestimonials[currLeftTest];
			author.innerHTML =  leftAuthor[currLeftTest];
		}

}
//These functions load default data into selected section
//--Training
function loadLeftProgramsFirst() {
	var content = document.getElementById('leftProgramsContent');
	content.innerHTML =  aboutPrograms;
}
function loadRightTrainingFirst() {
	var content = document.getElementById('rightTrainingContent');
	content.innerHTML = rightWhatItIs;
	content.style.backgroundColor = "#ffffff";
	content.style.backgroundImage = '';
}
//--Staff
function loadLeftStaffFirst() {
	if  (currLeftStaff == 1) {
		var content = document.getElementById('leftStaffContent');
		var staffImg = document.getElementById('leftStaffImg');	
		content.innerHTML = leftTonyBio;
		staffImg.src = 'images/tonygarcia.png';
	}else if (currLeftStaff == 2){
		var content = document.getElementById('leftStaffContent');
		var staffImg = document.getElementById('leftStaffImg');
		content.innerHTML = leftTomBio;
		staffImg.src = 'images/tomvelasquez.png';
	}
	leftTrainingImage.src = "images/training_off.png";
	leftExperienceImage.src = "images/experience_off.png";
	leftBioImage.src = "images/bio_on.png";		
	//Pre-loads images for faster loading
	var imgLoader = new Image();
	imgLoader.src = "images/training_on.png";
	imgLoader.src = "images/experience_on.png";
	imgLoader.src = "images/bio_off.png";
	}
function loadRightStaffFirst() {
	if  (currRightStaff == 1) {
		var content = document.getElementById('rightStaffContent');
		content.innerHTML = rightTonyBio;
	}else if (currRightStaff == 2){
		//There's no second instructor on recreational side
	}
	rightTrainingImage.src = "images/training_off.png";
	rightExperienceImage.src = "images/experience_off.png";
	rightBioImage.src = "images/bio2_on.png";
	//Pre-loads images for faster loading
	var imgLoader = new Image();
	imgLoader.src = "images/training2_on.png";
	imgLoader.src = "images/experience2_on.png";
	imgLoader.src = "images/bio_off.png";
}
//--Testimonials
function loadRightTestFirst(){
	var testimonial = document.getElementById('rightTestContent');
	var author = document.getElementById('rightNameContent');
		
	testimonial.innerHTML = rightTestimonials[currRightTest];
	author.innerHTML =  rightAuthor[currRightTest];
}
function loadLeftTestFirst(){
	var testimonial = document.getElementById('leftTestContent');
	var author = document.getElementById('leftNameContent');
	testimonial.innerHTML = leftTestimonials[currLeftTest];
	author.innerHTML =  leftAuthor[currLeftTest];
}
//--School
function loadLeftSchoolFirst() {
	content	 = document.getElementById('leftSchoolContent');
	content.style.visibility = "visible";
	content.innerHTML = leftFacility;
	pics = document.getElementById('PictoBrowser100508194044');
	pics.style.visibility = "hidden";
}
function loadRightSchoolFirst() {
	content	 = document.getElementById('rightSchoolContent');
	content.style.visibility = "visible";
	content.innerHTML = rightFacility;
	pics = document.getElementById('PictoBrowser100508193833');
	pics.style.visibility = "hidden";
}

function loadBack(){
	var backObj = getCurrentBack();
	objPos = backObj.lastIndexOf('.');
	objPos--;
	backNum = backObj.charAt(objPos);
	if (backNum == 5) {
	backNum = 1;
	}
	else {
	backNum++;
	}
	var link = "images/background"+backNum+".jpg";
	document.getElementById('container').style.backgroundImage = 'url('+link+')';
		
}

function getCurrentBack(){
	var objj = document.getElementById('container');
	if (objj.currentStyle) {
		var objVal = objj.currentStyle.backgroundImage;
		return objVal;
	}
	else {
		var objVal = getComputedStyle(objj,'').getPropertyValue('background-image');
		return objVal;
	}
}

function backRef() {
return backNum;
}
