function setGlobalImage(img, bodytype) { EME = "Or, perhaps you’re in the middle – have a little bit of everything"; MesoEctomorph = "Equal measure of ectomorphy and mesmorphy – thin but muscular, wiry"; ExtremeEndomorph = "Body is round and soft\nUnderdeveloped muscle\nArm and legs short and tapering, hands and feet comparatively small\nBody has smooth contours, high waist\nSkin is soft and smooth\nFine hair, spherical headshape"; ExtremeMesomorph = "Large bones, well defined muscles\nChest area dominates & tapers to relatively low, narrow waist\nLong broad face with squarish,\nheavy jaw\nUpper and lower legs well developed\nWrists, fingers heavy and large\nSkin thick, tans well"; ExtremeEctomorph = "Light bones, slight muscles\nLimbs long, shoulders droop, ribs visible\nWeak thighs and upper arms\nLong fingers, toes & neck\nSharpish fragile features,\ntriangular faceshape\nSkin tends to be dryish and doesn’t\nretain a tan"; EndomorphicMesomorph = "Muscular but not as heavily built as an Extreme Mesomorph – classic athletic physique"; EctomorphicMesomorph = "Rectangular bodyshape\nAbdomen not as massive and has bulkier shoulders than Extreme Endomorph\nEctomorphic softness is replaced by solidness"; EctomorphicEndomorph = "Round and softish, not muscular, less pear shaped than extreme endomorph"; globalImage = img; globalTitle = bodytype; document.Form1.txtBodyTitle.value = bodytype; document.Form1.txtImage.value = img; if(bodytype == "EME") { document.Form1.txtBodyText.value = EME; globalText = EME; } else if(bodytype == "Meso Ectomorph") { document.Form1.txtBodyText.value = MesoEctomorph; globalText = MesoEctomorph; } else if(bodytype == "Extreme Endomorph") { document.Form1.txtBodyText.value = ExtremeEndomorph; globalText = ExtremeEndomorph; } else if(bodytype == "Extreme Mesomorph") { document.Form1.txtBodyText.value = ExtremeMesomorph; globalText = ExtremeMesomorph; } else if(bodytype == "Extreme Ectomorph") { document.Form1.txtBodyText.value = ExtremeEctomorph; globalText = ExtremeEctomorph; } else if(bodytype == "Endomorphic Mesomorph") { document.Form1.txtBodyText.value = EndomorphicMesomorph; globalText = EndomorphicMesomorph; } else if(bodytype == "Ectomorphic Mesomorph") { document.Form1.txtBodyText.value = EctomorphicMesomorph; globalText = EctomorphicMesomorph; } else if(bodytype == "Ectomorphic Endomorph") { document.Form1.txtBodyText.value = EctomorphicEndomorph; globalText = EctomorphicEndomorph; } } function changeText(bodytype) { EME = "Or, perhaps you’re in the middle – have a little bit of everything"; MesoEctomorph = "Equal measure of ectomorphy and mesmorphy – thin but muscular, wiry"; ExtremeEndomorph = "Body is round and soft\nUnderdeveloped muscle\nArm and legs short and tapering, hands and feet comparatively small\nBody has smooth contours, high waist\nSkin is soft and smooth\nFine hair, spherical headshape"; ExtremeMesomorph = "Large bones, well defined muscles\nChest area dominates & tapers to relatively low, narrow waist\nLong broad face with squarish,\nheavy jaw\nUpper and lower legs well developed\nWrists, fingers heavy and large\nSkin thick, tans well"; ExtremeEctomorph = "Light bones, slight muscles\nLimbs long, shoulders droop, ribs visible\nWeak thighs and upper arms\nLong fingers, toes & neck\nSharpish fragile features,\ntriangular faceshape\nSkin tends to be dryish and doesn’t\nretain a tan"; EndomorphicMesomorph = "Muscular but not as heavily built as an Extreme Mesomorph – classic athletic physique"; EctomorphicMesomorph = "Rectangular bodyshape\nAbdomen not as massive and has bulkier shoulders than Extreme Endomorph\nEctomorphic softness is replaced by solidness"; EctomorphicEndomorph = "Round and softish, not muscular, less pear shaped than extreme endomorph"; document.Form1.txtBodyTitle.value = bodytype; if(bodytype == "EME") document.Form1.txtBodyText.value = EME; else if(bodytype == "Meso Ectomorph") document.Form1.txtBodyText.value = MesoEctomorph; else if(bodytype == "Extreme Endomorph") document.Form1.txtBodyText.value = ExtremeEndomorph; else if(bodytype == "Extreme Mesomorph") document.Form1.txtBodyText.value = ExtremeMesomorph; else if(bodytype == "Extreme Ectomorph") document.Form1.txtBodyText.value = ExtremeEctomorph; else if(bodytype == "Endomorphic Mesomorph") document.Form1.txtBodyText.value = EndomorphicMesomorph; else if(bodytype == "Ectomorphic Mesomorph") document.Form1.txtBodyText.value = EctomorphicMesomorph; else if(bodytype == "Ectomorphic Endomorph") document.Form1.txtBodyText.value = EctomorphicEndomorph; } function changeTextOut(bodytitle, bodytext){ document.Form1.txtBodyTitle.value = bodytitle; document.Form1.txtBodyText.value = bodytext; }