﻿/* INDEX PAGE: Main Image and Text for Clinical Applications button ---------------------------------------*/
// Create an array to hold the names of all images.
var image = new Array();
image[1]="neuromuscular_index.jpg";
image[2]="chronicpainrehab_index.jpg";   
image[3]="geriatrics_index.jpg";

// Create an array to hold the corresponding text.
var imageText = new Array();
imageText[1]="Neuromuscular<br/><a href='./clinicalApps/neuromuscular.html'>Click</a> for more information</a>";
imageText[2]="Chronic Pain & Rehab<br/><a href='./clinicalApps/chronicpainrehab.html'>Click</a> for more information";
imageText[3]="Geriatrics<br/><a href='./clinicalApps/geriatrics.html'>Click</a> for more information";

// Create random number for index page image and text
var randomImageNumber = Math.ceil(Math.random() * (image.length - 1));

// Create image and text variables to use on the index page
var indexPageImage = image[randomImageNumber];
var indexPageClinAppText = imageText[randomImageNumber];
/* ----------------------------------------------------------------------------------------------------------------------------------*/


/* INDEX PAGE: Event Text for Bottom-row Right button ------------------------------------------------------------*/
// Create an array to hold events.
var eventText = new Array();
eventText[1]="Visit Power Plate&reg; at the<br/>A4M World Anti-Aging<br/>Congress &amp; Exposition";
eventText[2]="Visit Power Plate&reg; at the<br/>American Physical Therapy Association<br/>Nashville, TN";
eventText[3]="Visit Power Plate&reg; at the<br/>American Academy of Pain Medicine<br/>Orlando, FL";

// Create random number for front page events
var randomEventNumber = Math.ceil(Math.random() * (eventText.length - 1));

// Create event text variable to use on the index page
var indexPageEventText = eventText[randomEventNumber];
/* ----------------------------------------------------------------------------------------------------------------------------------*/

/* NEUROMUSCULAR PAGE: Main Image and Text for Clinical Applications button ---------------------------------------*/
// Create an array to hold the names of all images.
var imageNeuromuscular = new Array();
imageNeuromuscular[1]="neuromuscular_index.jpg";
imageNeuromuscular[2]="neuromuscular_index.jpg";   
imageNeuromuscular[3]="neuromuscular_index.jpg";

// Create an array to hold the corresponding text.
var imageTextNeuromuscular = new Array();
imageTextNeuromuscular[1]="<p id='testimonialCopy'>&quot;Since I was diagnosed with MS my balance has been greatly affected but I have not fallen over at all since I began my Power Plate&reg; workouts. I feel so much steadier on my feet and confident in myself. The endorphin release is incredible and I feel great. I have tried many different ways, methods, alternatives, and therapies to help myself, but until last year nothing seemed to make any significant difference.  I was simply amazed by the fantastic physical and positive effect the Power Plate&reg; machine has on my body and mental state.&quot;</p> <p id='bodyCopy'>&#8212; Anne Hodder</p>";
imageTextNeuromuscular[2]="<p id='testimonialCopy'>&quot;Most of my clients have MS.  I combine whole body vibration with progressive strength training and I see demonstrable improvement in a few short weeks in gait, core stability and balance. It is not unusual for clients who fall up to 20x/week to fall a mere 2 or 3x/week following training&#8230;vibration and strength training together can result in lessened fatigue and improvements of several hundred percent in muscle strength.&quot;</p> <p id='bodyCopy'>&#8212; Dr. Charles Oaks</p>";
imageTextNeuromuscular[3]="<p id='testimonialCopy'>&quot;My son Kyle was born 6 years ago.  We went through a very traumatic birth which left Kyle severely disabled, to say the least.  Cerebral Palsy, mental retardation, hypersensitivity to everything&#8230;Throughout the years we have done everything that we can to help Kyle to do the most that he can, tons of therapy, tons of doctors, specialist, medications&#8230;and all with very little and very slow results or progress.  In April of 2005, we found [a new doctor].  About 7 months into [the new doctor&#8217;s] treatments, she got the Power Plate (around December) and here is where it gets even better.  She was putting him on it very gradually for weeks, and then had him sit and stand for a few weeks&#8230;And on April 13, 2006 he WALKED for the first time with no assistance.  We all believe that your Power Plate used within [the doctor&#8217;s] treatments has made this miracle happen.&quot;</p> <p id='bodyCopy'>&#8212; Kate T.</p>";


// Create random number for index page image and text
var randomImageNumberNeuromuscular = Math.ceil(Math.random() * (imageNeuromuscular.length - 1));

// Create image and text variables to use on the index page
var neuromuscularPageImage = imageNeuromuscular[randomImageNumberNeuromuscular];
var neuromuscularPageText = imageTextNeuromuscular[randomImageNumberNeuromuscular];
/* ----------------------------------------------------------------------------------------------------------------------------------*/

/* CHRONIC PAGE: Main Image and Text for Clinical Applications button ---------------------------------------*/
// Create an array to hold the names of all images.
var imageChronic = new Array();
imageChronic[1]="chronicpainrehab_index.jpg";
imageChronic[2]="chronicpainrehab_index.jpg";   
imageChronic[3]="chronicpainrehab_index.jpg";
imageChronic[4]="chronicpainrehab_index.jpg";

// Create an array to hold the corresponding text.
var imageTextChronic = new Array();
imageTextChronic[1]="<p id='testimonialCopy'>&quot;When you have an accident like I did, your life is completely turned upside down. Although I was very lucky and was able to be operated on, I lost all my muscle density and found it very hard to remain mobile and active.  Power Plate&reg; training has been remarkable for my recovery and invaluable in building up my fitness level.  It has given me back my strength and my life and provides me with instant relief. The first time I experienced it, I knew I had to have one.  I used to walk like a 90 year old woman but now I can walk with just a stick and can even dance!&quot;</p> <p id='bodyCopy'>&#8212; Marian Harris</p>";
imageTextChronic[2]="<p id='testimonialCopy'>&quot;I previously used Power Plate&reg; machines when rehabilitating injured athletes. After my experience with Power Plate&reg; machines at the Olympic Medical Institute, I thought that they would be good for dancers. Ballerinas need to be strong, and training on a Power Plate&reg; machine is an excellent way for them to improve their strength.&quot;</p> <p id='bodyCopy'>&#8212; Daryl Martin</p>";
imageTextChronic[3]="<p id='testimonialCopy'>&quot;The more I use the Power Plate the more I have come to realize that I will never again work in a clinical setting that does not use the Power Plate.  It is that powerful of a device; it does make a difference in how my patients feel; and most importantly, it is making what I do as a physical therapist more effective!&quot;</p> <p id='bodyCopy'>&#8212; Lisa Jurski, MSPT</p>";
imageTextChronic[4]="<p id='testimonialCopy'>&quot;We are still excited about the response we are getting from our clients.  One of our MS patients is walking so much better with improved balance and gait. Another client with osteoporosis just had a bone scan and despite just working out sporadically for three months she experienced her first increase in bone density after being on Actonel and Fosamax for several years.&quot;</p> <p id='bodyCopy'>&#8212; Donna F., PT</p>";


// Create random number for index page image and text
var randomImageNumberChronic = Math.ceil(Math.random() * (imageChronic.length - 1));

// Create image and text variables to use on the index page
var chronicPageImage = imageChronic[randomImageNumberChronic];
var chronicPageText = imageTextChronic[randomImageNumberChronic];
/* ----------------------------------------------------------------------------------------------------------------------------------*/

/* GERIATRICS PAGE: Main Image and Text for Clinical Applications button ---------------------------------------*/
// Create an array to hold the names of all images.
var imageGeriatric = new Array();
imageGeriatric[1]="geriatrics_index.jpg";
imageGeriatric[2]="geriatrics_index.jpg";   
imageGeriatric[3]="geriatrics_index.jpg";

// Create an array to hold the corresponding text.
var imageTextGeriatric = new Array();
imageTextGeriatric[1]="<p id='testimonialCopy'>&quot;I&#8217;m 60 years old and my hips hurt. I used the machine for four months, 15 to 30 minutes, twice or three times a week.  My hips quit hurting almost instantly. I&#8217;m in much better shape and I don&#8217;t hurt anywhere.  At my yearly physical the bone density test showed more bone growth than the physician could account for with the medications I was taking.  The only new event in my life was the Power Plate.  She is researching the machine for herself and I bought one.&quot;</p> <p id='bodyCopy'>&#8212; Harl A.</p>";
imageTextGeriatric[2]="<p id='testimonialCopy'>&quot;My first bone density was done at the age of 48.  I was in the low normal range and had no concerns.  However, after hitting menopause at the age of 50, another bone density test showed I had lost 20% of my bone density in just 2 years.  My doctor had never see anyone lose bone so rapidly and prescribed the highest dose of Fosamax for my bones.  I don&#8217;t trust drugs or hormones and researched a natural means of building bone.  I&#8217;ve exercised all my life.  I&#8217;ve been an aerobics instructor and a spinning instructor.  Currently I am a personal trainer and a pilates instructor.   So even though I exercise every day, I was still losing bone.  I&#8217;m also very petite, a red head with fair skin and freckles and have scoliosis&#8212;all risk factors for osteoporosis.  In December of 2004, I began using the Power Plate three times a week.  I believed if NASA used it for their astronauts to prevent bone loss while on space missions, then it should be effective for me.  In August of 2005, eight months later, I had another bone density.  I was amazed!!  My bone density had increased in the spine 3.5%!  In the neck of the right hip, I had a 2.5% improvement.  In the neck of the left hip, I had a small .4% increase.  I attribute that to my scoliosis and putting more weight on my right side.  I was hoping to stop any more bone loss; but I actually built bone at a time when bone loss is the most rapid for women.  I also used no drugs or hormones.  I am so grateful to Power Plate for such a wonderful machine!  And I&#8217;m telling all my clients about it!&quot;</p> <p id='bodyCopy'>&#8212; Kay Smith</p>";
imageTextGeriatric[3]="<p id='testimonialCopy'>&quot;I was recovering from back surgery and was suffering with drop foot.  I had gone through many sessions with a physical therapist and had still not regained complete use of my foot and leg.  I tried Power Plate, and within 3 or 4 sessions with a skilled coach, I am able to walk without use of a cane!  My bone scan, one year later shows marked improvements as well.  I feel better than I have in years.&quot;</p> <p id='bodyCopy'>&#8212; Vivian K.</p>";


// Create random number for index page image and text
var randomImageNumberGeriatric = Math.ceil(Math.random() * (imageGeriatric.length - 1));

// Create image and text variables to use on the index page
var geriatricPageImage = imageGeriatric[randomImageNumberGeriatric];
var geriatricPageText = imageTextGeriatric[randomImageNumberGeriatric];