/**********BEGIN UNIVERSAL FUNCTIONS**********/
function addLoadEvent(func) {
var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
		}
	else {
	window.onload = function() {
		if (oldonload) {
		oldonload();
		}
	func();
		}
	}
};

addLoadEvent(linkTargets);
addLoadEvent(stripeTables);

function addClass(element,value) {
  if (!element.className) {
    element.className = value;
  } else {
    newClassName = element.className;
    newClassName+= " ";
    newClassName+= value;
    element.className = newClassName;
  }
};

function stripeTables() {
var tbodies = document.getElementsByTagName("tbody");
	for (var i=0; i<tbodies.length; i++) {
		if (tbodies[i].className=="alternate") {
		var odd = true;
		var rows = tbodies[i].getElementsByTagName("tr");
			for (var j=0; j<rows.length; j++) {
				if (odd == false) {
				odd = true;
				}
				else {
				addClass(rows[j],"odd");
				odd = false;
				}
			}
		}
	}
};

function lahar() {
	for (i = 0; i<1; i++) {
	document.write("<span class='cc'><img src='images/postures/" + Math.ceil(Math.random() * 41) + ".jpg class=inline' class='pose'></span>");
	}
};

function emptyEa() {
var fn = document.getElementById('ea').value==" MY EMAIL";
	if (fn) {
	document.getElementById('ea').value="";
	}
};

function emptyMail() {
var data = document.getElementById('visitormail').value==" EMAIL";
	if (data) {
	document.getElementById('visitormail').value="";
	}
}

function emptyFn() {
var fn = document.getElementById('firstname').value==" FIRST NAME";
	if (fn) {
	document.getElementById('firstname').value="";
	}
};

function emptyLn() {
var ln = document.getElementById('lastname').value==" LAST NAME";
	if (ln) {
	document.getElementById('lastname').value="";
	}
};

function emptyMsgg() {
var msg = document.getElementById('message').value==" Enter your message here";
	if (msg) {
	document.getElementById('message').value="";
	}
};

function linkTargets() { 
var anchors = document.getElementsByTagName("a"); 
	for (var i=0; i<anchors.length; i++) {
	var anchor = anchors[i];
	var blank = /_blank/;
	var self = /_self/;
	var top = /_top/;
	var frame =/_frame/;
	var parent =/_parent/;
	var relvalue = anchor.getAttribute("rel");
	var x = anchor.getAttribute("href");
		if (x && blank.test(relvalue)) {
		anchor.target = "_blank";
		}
		else if (x && self.test(relvalue)) {
		anchor.target = "_self";
		}
		else if (x && top.test(relvalue)) {
		anchor.target = "_top";
		}
		else if (x && parent.test(relvalue)) {
		anchor.target = "_parent";
		}
		else if ((relvalue != "_top") || (relvalue != "_self") || (relvalue != "_blank") || (relvalue != "parent")) {
 		anchor.target = relvalue;
		}
	}
};

function toggle(id) {
var offandon = document.getElementById(id);
var display = offandon.style.display ? '' : 'none';
offandon.style.display = display;
};
/**********END UNIVERSAL FUNCTIONS**********/

/**********BEGIN POSTURES PAGE**********/

function pix() {
document.getElementById('descripts').innerHTML="<h4>Bikram Yoga<br /><br /></h4><p style='text-align:justify;line-height:1.5'>is a sequence of 26 Hatha yoga postures and two breathing exercises to stretch and strengthen every muscle, tendon, ligament, gland, joint, and organ in the body. The series systematically moves fresh oxygenated blood throughout the body to detoxify and restore your body to its natural, perfect condition without any machines, drugs, or injury.<br /><br /></p><p style='text-align:justify;line-height:1.5'>Practicing yoga in heat promotes deep stretching, rapid detox, increased heart rate, and thins blood to clear the circulatory system.</p>";
document.getElementById('whereto').innerHTML="<table border='0' style='background-color:#fff'><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix1()'><img src='images/postures/1.jpg' alt='Standing Deep Breathing' /></a><span>Standing Deep Breathing</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix2()'><img src='images/postures/2.jpg' alt='Half Moon with Hands to Feet Pose' style='margin-right:2em'/></a><span>Half Moon with Hands to Feet Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix2()'><img src='images/postures/3.jpg' alt='Half Moon with Hands to Feet Pose'  style='margin-left:2em'/></a><span>Half Moon with Hands to Feet Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix2()'><img src='images/postures/4.jpg' alt='Half Moon with Hands to Feet Pose'/></a><span>Half Moon with Hands to Feet Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix3()'><img src='images/postures/5.jpg' alt='Awkward Pose' style='margin-left:-2em'/></a><span>Awkward Pose</span></span></td></tr><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix6()'><img src='images/postures/6.jpg' alt='Eagle Pose' /></a><span>Eagle Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix7()'><img src='images/postures/7.jpg' alt='Standing Head to Knee Pose' /></a><span>Standing Head to Knee Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix8()'><img src='images/postures/8.jpg' alt='Standing Bow Pulling Pose' /></a><span>Standing Bow Pulling Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix9()'><img src='images/postures/9.jpg' alt='Balancing Stick Pose' /></a><span>Balancing Stick Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix10()'><img src='images/postures/10.jpg' title='Standing Separate Leg Stretching' alt='Standing Separate Leg Stretching' /></a><span>Standing Separate Leg Stretching Pose</span></span></td></tr><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix11()'><img src='images/postures/11.jpg' alt='Triangle Pose' /></a><span>Triangle Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix12()'><img src='images/postures/12.jpg' alt='Standing Separate Leg Head to Knee Pose' /></a><span>Standing Separate Leg Head to Knee Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix13()'><img src='images/postures/13.jpg' alt='Tree Pose' /></a><span>Tree Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix14()'><img src='images/postures/14.jpg' alt='Toe Stand Pose' /></a><span>Toe Stand Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix15()'><img src='images/postures/15a.jpg' alt='Dead Body Pose' /></a><span>Dead Body Pose</span></span></td></tr></table><table border='0'><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix16()'><img src='images/postures/16.jpg' alt='Wind Removing Pose' /></a><span>Wind Removing Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix17()'><img src='images/postures/17a.jpg' alt='Situp' /></a><span>Situp</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix18()'><img src='images/postures/18.jpg' alt='Cobra Pose' /></a><span>Cobra Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix19()'><img src='images/postures/19a.jpg' alt='Locust Pose' /></a><span>Locust Pose</span></span></td></tr></table><table border='0'><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix20()'><img src='images/postures/20a.jpg' alt='Full Locust Pose' style='margin-top:28px'/></a><span>Full Locust Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix21()'><img src='images/postures/21.jpg' alt='Bow Pose' /></a><span>Bow Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix22()'><img src='images/postures/22a.jpg' alt='Fixed Firm Pose' style='margin-top:35px'  /></a><span>Fixed Firm Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix23()'><img src='images/postures/23a.jpg' alt='Half Tortoise' style='margin-top:35px;margin-left:1.5em' /></a><span>Half Tortoise</span></span></td></tr></table><table border='0'><tr><td class='poseur'><span class='hoverpop'><a href='javascript:pix24()'><img src='images/postures/24.jpg' alt='Camel Pose' style='margin-right:.5em'/></a><span>Camel Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix25()'><img src='images/postures/25.jpg' alt='Rabbit Pose' style='margin-top:50px' /></a><span>Rabbit Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix26()'><img src='images/postures/26.jpg' alt='Head to Knee with Stretching Pose' style='margin-top:57px;margin-right:1.5em' /></a><span>Head to Knee with Stretching Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix27()'><img src='images/postures/27.jpg' alt='Spine Twisting Pose' style='margin-right:.5em' /></a><span>Spine Twisting Pose</span></span></td><td class='poseur'><span class='hoverpop'><a href='javascript:pix28()'><img src='images/postures/28.jpg' alt='Blowing in Firm Pose' /></a><span>Blowing in Firm Pose</span></span></td></tr></table>";
}

function pix1() {
document.getElementById('descripts').innerHTML="<h4>Standing Deep Breathing</h4><br /><div class='italic'>Pranayama Series</div><ul class='precis'><li>Expands lungs</li><li>Increases circulation throughout the entire body</li><li>Wakes up the body, preparing muscles for movement during class</li><li>Decreases susceptibility to lung ailments</li><li>Helps prevent asthma, emphysema and shortness of breath</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix2()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/1-1.jpg class=inline><img src=images/postures/1-2.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix2() {
document.getElementById('descripts').innerHTML="<h4>Half Moon Pose with Hands to Feet Pose</h4><br /><div class='italic'>Ardha-Chandrasana with Pada-Hastasana</div><ul class='precis'><li>Increases spine flexibility in all directions</li><li>Strengthens all core muscles, shrinking the waistline, hips, thighs</li><li>Promotes healthy kidneys, liver, spleen, and pancreas</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix1()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix3()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/2-1.jpg class=inline style='display:inline;margin-right:2em'><img src=images/postures/2-3.jpg class=inline style='display:inline;margin-top:60px'><br>&nbsp;<img src=images/postures/backbend.jpg class=inline style='display:inline;margin-top:60px'><img src=images/postures/handstofeet.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix3() {
document.getElementById('descripts').innerHTML="<h4>Awkward Pose</h4><br /><div class='italic'>Utkatasana</div><ul class='precis'><li>Defines and strengthens legs like nobody's business</li><li>Increases circulation to knees and ankles</li><li>Relieves rheumatism, arthritis, and slipped discs</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix2()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg' class='noborder'></a><a href='javascript:pix6()' class='rightRight'><img src='images/postures/next.jpg' class='noborder'> Next</a><br><br><br><img src=images/postures/awk1.jpg class=inline> <img src=images/postures/awk2.jpg class=inline> <br><img src=images/postures/awk3.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix6() {
document.getElementById('descripts').innerHTML="<h4>Eagle Pose</h4><br /><div class='italic'>Garuasana</div><ul class='precis'><li>Opens body's 14 major joints (7 on each side)</li><li>Increases circulation to reproductive system and kidneys</li><li>Tones muscles from calves to deltoids</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix3()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix7()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/6-1.jpg class=inline  /><img src=images/postures/sideeagle.jpg class=inline  />";
document.getElementById('pix').style.display="none";
}

function pix7() {
document.getElementById('descripts').innerHTML="<h4>Standing Head to Knee Pose</h4><br /><div class='italic'>Dandayamana-Janushirasana</div><ul class='precis'><li>Helps balance blood sugar levels</li><li>Improves kidney function and digestion</li><li>Tones abdomen and arms</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix6()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix8()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/7-1.jpg class=inline><img src=images/postures/7-2.jpg class=inline><br><img src=images/postures/7-3.jpg class=inline><img src=images/postures/7-4.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix8() {
document.getElementById('descripts').innerHTML="<h4>Standing Bow Pulling Pose</h4><br /><div class='italic'>Dandayamana-Dhanurasana</div><ul class='precis'><li>Fully circulates blood from one side of the body to other</li><li>Improves sciatica and lower spine flexibility, balance and lung elasticity</li><li>Develops patience, determination, and concentration</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix7()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix9()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/8-1.jpg class=inline>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=images/postures/8-2.jpg class=inline><br><img src=images/postures/8-3.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix9() {
document.getElementById('descripts').innerHTML="<h4>Balancing Stick Pose</h4><br /><div class='italic'>Tuladandasana</div><ul class='precis'><li>Circulates blood to entire heart</li><li>Cleans and stretches veins and arteries of heart</li><li>Improves posture and balance</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix8()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg' class='noborder'></a><a href='javascript:pix10()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/stick-1.jpg class=inline><img src=images/postures/stick-2.jpg class=inline class=inline><br><img src=images/postures/stick-3.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix10() {
document.getElementById('descripts').innerHTML="<h4>Standing Separate Leg Stretching</h4><br /><div class='italic'>Dandayamana Bibhaktapada Paschimotthanasana</div><ul class='precis'><li>Heals sciatica and lower back pain</li><li>Stretches hamstrings, ligaments, and tendons in legs</li><li>Provides inversion without any weight bearing on the joints</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix9()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix11()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/10-1.jpg class=inline><img src=images/postures/10-2.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix11() {
document.getElementById('descripts').innerHTML="<h4>Triangle</h4><br /><div class='italic'>Trikinasana</div><ul class='precis'><li>Works every part of the body, inside and out</li><li>Heart and lungs work harmoniously</li><li>Increases flexibility and strength in hips and lower spine</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix10()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix12()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/11-1.jpg class=inline><img src=images/postures/11-2.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix12() {
document.getElementById('descripts').innerHTML="<h4>Standing Separate Leg Head to Knee Pose</h4><br /><div class='italic'>Dandayamana Bibhaktapada Paschimotthanasana</div><ul class='precis'><li>Regulates metabolism with thyroid compression</li><li>Massages the pancreas, liver, gallbladder, kidneys, spleen, and intestines</li><li>Trims waist, hips, legs</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix11()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix13()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/12-1.jpg class=inline><img src=images/postures/12-2.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix13() {
document.getElementById('descripts').innerHTML="<h4>Tree Pose</h4><br /><div class='italic'>Tadasana</div><ul class='precis'><li>Stretches and strengthens hips, knees, ankles</li><li>Improves posture and balance</li><li>Stretches internal abdominal muscles, preventing abdominal hernia</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix12()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix14()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/13-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix14() {
document.getElementById('descripts').innerHTML="<h4>Toe Stand Pose</h4><br /><div class='italic'>Padangustasana</div><ul class='precis'><li>Heals rheumatism in knees, ankles, feet</li><li>Improves balance and concentration</li><li>Strengthens feet and core</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix13()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix15()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/14-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix15() {
document.getElementById('descripts').innerHTML="<h4>Dead Body Pose</h4><br /><div class='italic'>Savasana</div><ul class='precis'><li>Gives complete relaxation</li><li>Develops stillness of mind</li><li>Good for hypertension, nervousness, anxiety, and high blood pressure</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix14()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix16()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/15-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix16() {
document.getElementById('descripts').innerHTML="<h4>Wind Removing Pose</h4><br /><div class='italic'>Pavanamuktasana</div><ul class='precis'><li>Relieves and prevents constipation and irritable bowel syndrome</li><li>Improves hip flexibility and relieves lower back pain</li><li>Stimulates liver, small and large intestine, and spleen</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix15()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix17()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/16-a1.jpg class=inline><br><img src=images/postures/16-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix17() {
document.getElementById('descripts').innerHTML="<h4>Sit Up</h4><ul class='precis'><li>Strengthens and tightens the abdomen</li><li>Increases flexibility of the spine</li><li>Increases energy</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix16()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix18()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/17-1.jpg class=inline><br><img src=images/postures/midsitup.jpg class=inline><br><img src=images/postures/17-2.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix18() {
document.getElementById('descripts').innerHTML="<h4>Cobra Pose</h4><br /><div class='italic'>Bhujangasana</div><ul class='precis'><li>Strengthens lumbar spine, relieving herniated discs, scoliosis, and arthritis</li><li>Tones upper body, opens rib cage and chest</li><li>Promotes healthy liver, spleen and raises low blood pressure</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix17()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix19()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/16big.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix19() {
document.getElementById('descripts').innerHTML="<h4>Locust Pose</h4><br /><div class='italic'>Salabhasana</div><ul class='precis'><li>Same as Cobra</li><li>Clears congestion in wrists, elbows, and shoulders</li><li>Can diminish varicose veins in legs and lower cholesterol</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>"
document.getElementById('whereto').innerHTML="<a href='javascript:pix18()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix20()' class='rightRight'><img src='images/postures/next.jpg' class='noborder'> Next</a><br><br><br><img src=images/postures/17big.jpg class=inline width=300><img src=images/postures/locust2legsyartz.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix20() {
document.getElementById('descripts').innerHTML="<h4>Full Locust Pose</h4><br /><div class='italic'>Poorna-Salabhasana</div><ul class='precis'><li>Same as Cobra, Locust</li><li>Relieves slipped disc, sciatica, and gout</li><li>Stretches thyroid, hips, and shoulders</li><li>Tones upper back and arms while opening chest</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix19()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix21()' class='rightRight'><img src='images/postures/next.jpg' class='noborder'> Next</a><br><br><br><img src=images/postures/20-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix21() {
document.getElementById('descripts').innerHTML="<h4>Bow Pose</h4><br /><div class='italic'>Dhanurasana</div><ul class='precis'><li>Same as Cobra, Locust, Full Locust</li><li>Increases circulation to entire spine</li><li>Relieve herniated disc</li><li>Good for constipation, diabetes, pigeon chest</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix20()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix22()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/21-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix22() {
document.getElementById('descripts').innerHTML="<h4>Fixed Firm Pose</h4><br /><div class='italic'>Supta-Vajrasana</div><ul class='precis'><li>Improves knees, ankles, hips and lower spine</li><li>Therapeutic for herniated discs, low immune system, rheumatism</li><li>Clears varicose veins in legs</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix21()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix23()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/22-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix23() {
document.getElementById('descripts').innerHTML="<h4>Half Tortoise</h4><br /><div class='italic'>Supta-Vajrasana</div><ul class='precis'><li>Relaxes, regenerates, revitalizes</li><li>Stretches lower lungs and massages heart</li><li>Massages colon and internal organs</li><li>Stretches back and shoulders</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix22()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix24()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/23-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix24() {
document.getElementById('descripts').innerHTML="<h4>Camel Pose</h4><br /><div class='italic'>Ustransana</div><ul class='precis'><li>Stimulates nervous system with maximum spine compression</li><li>Good for diabetes, high blood pressure, constipation, bronchial spasms</li><li>Detoxifies body and mind</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix23()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix25()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><img src=images/postures/24-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix25() {
document.getElementById('descripts').innerHTML="<h4>Rabbit Pose</h4><br /><div class='italic'>Sasangasana</div><ul class='precis'><li>Maximum stretching of spine gives mobility and elasticity</li><li>Tones back and abdomen</li><li>Helps sinuses, colds, chronic tonsillitis</li><li>Good for depression and anxiety</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix24()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix26()' class='rightRight'><img src='images/postures/next.jpg'  class='noborder'> Next</a><br><br><br><img src=images/postures/25-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix26() {
document.getElementById('descripts').innerHTML="<h4>Head to Knee with Stretching Pose</h4><br /><div class='italic'>Janushirasana with Paschimottinasana</div><ul class='precis'><li>Helps balance blood sugar levels</li><li>Improves kidney function and digestion</li><li>Tones abdomen and arms</li><li>Improves digestion</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix25()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix27()' class='rightRight'><img src='images/postures/next.jpg' class='noborder'> Next</a><br><br><br><img src=images/postures/top.jpg class=inline width=300><img src=images/postures/26-1.jpg class=inline width=300><br><img src=images/postures/middle.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix27() {
document.getElementById('descripts').innerHTML="<h4>Spine Twisting Pose</h4><br /><div class='italic'>Ardha-Matsyendrasana</div><ul class='precis'><li>Increases nutrition to spinal nerves, veins and tissues</li><li>Good for lumbago and rheumatism in spine</li><li>Increases neck mobility</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a></div>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix26()' class='leftLeft'>Previous   <img src='images/postures/previous.jpg'  class='noborder'></a><a href='javascript:pix28()' class='rightRight'><img src='images/postures/next.jpg' class='noborder'> Next</a><br><br><br><img src=images/postures/27-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}

function pix28() {
document.getElementById('descripts').innerHTML=" </div><h4>Blowing in Firm Pose</h4><br /><div class='italic'>Kapalbhati in Vajrasana</div><ul class='precis'><li>Expels toxins</li><li>Tones waist</li><li>Strengthens lungs</li></ul><div class='thumb'><a href='javascript:pix()' class='thumbpic'>Thumbnails</a>";
document.getElementById('whereto').innerHTML="<a href='javascript:pix27()' class='leftLeft'>Previous  <img src='images/postures/previous.jpg'  class='noborder'></a><br><br><br><img src=images/postures/28-1.jpg class=inline>";
document.getElementById('pix').style.display="none";
}
/**********END POSTURES PAGE**********/

/**********BEGIN TUITION PAGE**********/
function costCalc(form) {
var intro = form.elements[0].checked==true;
var monthly = form.elements[1].checked==true;
var annual = form.elements[2].checked==true;
var d_monthly = form.elements[3].checked==true;
var d_annual = form.elements[4].checked==true;
	if (intro) {
	form.a.value="25";
	}
	else if (monthly) {
	form.a.value="180";
	}
	else if (annual) {
	form.a.value="1400";
	}
	else if (d_monthly) {
	form.a.value="160";
	}
	else if (d_annual) {
	form.a.value="1300";
	}
	a=eval(form.a.value);
	b=eval(form.b.value);
	c=a/b;
	form.ans.value = c.toFixed(2);
}

function annual(form) {
a=1400;
b=eval(form.perweek.value);
x=b*52;
c=a/x;
	if (isNaN(b) == true) {
	document.getElementById('perweek').style.backgroundColor="red";
	document.getElementById('perweek').style.color="#fff";
	//document.getElementById('perClassCost').value = "Enter a number to the left.";
	}
	else if (isNaN(b) == false) {
	document.getElementById('perweek').style.backgroundColor="#fff";
	document.getElementById('perweek').style.color="#000";
	form.perClassCost.value = c.toFixed(2);
	}
}

function monthly(form) {
a=180;
b=eval(form.perwk.value);
x=b*4;
c=a/x;
	if (isNaN(b) == true) {
	document.getElementById('perwk').style.backgroundColor="red";
	document.getElementById('perwk').style.color="#fff";
	//document.getElementById('perClass').value = "Enter a number to the left.";
	}
	else if (isNaN(b) == false) {
	document.getElementById('perwk').style.backgroundColor="#fff";
	document.getElementById('perwk').style.color="#000";
	form.perClass.value = c.toFixed(2);
	}
}

function annualDis(form) {
a=1300;
b=eval(form.perweekD.value);
x=b*52;
c=a/x;
	if (isNaN(b) == true) {
	document.getElementById('perweek').style.backgroundColor="red";
	document.getElementById('perweek').style.color="#fff";
	//document.getElementById('perClassCost').value = "Enter a number to the left.";
	}
	else if (isNaN(b) == false) {
	document.getElementById('perweek').style.backgroundColor="#fff";
	document.getElementById('perweek').style.color="#000";
	form.perClassCost.value = c.toFixed(2);
	}
}

function monthlyDis(form) {
a=160;
b=eval(form.perwkD.value);
x=b*4;
c=a/x;
	if (isNaN(b) == true) {
	document.getElementById('perwk').style.backgroundColor="red";
	document.getElementById('perwk').style.color="#fff";
	//document.getElementById('perClass').value = "Enter a number to the left.";
	}
	else if (isNaN(b) == false) {
	document.getElementById('perwk').style.backgroundColor="#fff";
	document.getElementById('perwk').style.color="#000";
	form.perClass.value = c.toFixed(2);
	}
}

function isPerwk() {
	if (document.getElementById('perwk').value="?") {
	document.getElementById('perwk').value="";
	}
}


function isPerWeek() {
	if (document.getElementById('perweek').value="?") {
	document.getElementById('perweek').value="";
	}
}

function isPerwkD() {
	if (document.getElementById('perwkD').value="?") {
	document.getElementById('perwkD').value="";
	}
}

function isPerWeekD() {
	if (document.getElementById('perweekD').value="?") {
	document.getElementById('perweekD').value="";
	}
}

/**********END TUITION PAGE**********/

