

/*
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt). Keep this notice intact.
Visit http://www.dynamicdrive.com for script
*/


g_fPlayMode = 0;
g_iimg = -1;
g_imax = 0;
g_ImageTable = new Array();

function ChangeImage(fFwd)
{
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
}

function getobject(obj){
if (document.getElementById)
return document.getElementById(obj)
else if (document.all)
return document.all[obj]
}

function Update(){
//getobject("_Ath_Slide").src = g_ImageTable[g_iimg][0];
getobject("_Ath_Slide").innerHTML = g_ImageTable[g_iimg][0];
getobject("_Ath_FileName").innerHTML = g_ImageTable[g_iimg][1];
getobject("_Ath_Img_X").innerHTML = g_iimg + 1;
getobject("_Ath_Img_N").innerHTML = g_imax;
}


function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;
Next();
}
else 
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;

}
}
function OnImgLoad()
{

}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}


////configure below variables/////////////////////////////

//configure the below images and description to your own. 
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/IntroImage_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">Find the trainer to match your style</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">How does one wade through myriad choices of personal trainers available on the Web? First, consider your exercise style, your needs and expectations. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">To guide your decision, we've identified several exercise personalities with suggestions for programs that might work best for each. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">Click through to find your exercise personality.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/NoTime_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">No time or desire for the gym</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">People who don't like to go to the gym or who travel frequently might benefit from a personal trainer who focuses on how to work out wherever a person may be. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">If you fit this description, you might benefit by joining a site such as <a href=\"http://www.livehealthier.com\" target=\"_blank\">LiveHealthier.com</a>, which offers access to a personal trainer who will show you how to work out at home or on the go. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">\"We demystify the idea that you have to belong to a gym,\" says Mary Moslander, CEO of LiveHealthier.com.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/GroupSupport_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">Enjoy group support</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">People who like message boards and group support might also benefit from a site which allows and encourages members to communicate with each other. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">You can do that at LiveHealthier.com where membership costs $160 per year or $22 per month.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/SpecificTrainGoals_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">Specific training goals</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">Those interested in bettering themselves for a particular sporting event might want to join a site such as <a href=\"http://www.trainright.com\" target=\"_blank\">Carmichael Training Systems</a>, where they can, for a premium price of $500 per month, purchase the guidance of a long-distance coach who has worked with Olympians, professional athletes and elite-level amateurs. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">If you don't need work with a top-of-the-line coach, a basic package will only cost $40 per month.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/Basics_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">Give me the basics</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">You prefer the no-frills approach of a routine taught by a boot-camp style fitness instructor. </td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">Individuals who don't need message boards, playlists and other extras can purchase Charla McMillian's <a href=\"http://www.fitboot.com/pricing.shtml\" target=\"_blank\">FitbyFone</a>  long-distance program for three months for $410.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/exercisePersonality/WorkoutMusic_200.jpg\" width=\"200\" height=\"200\" border=0>", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\">Workout to music</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">Maybe you're glued to your MP3 player and would love to follow a customized workout while you exercise to your playlist -- you can do so at <a href=\"http://www.podfitness.com\" target=\"_blank\">Podfitness.com,</a> where you can choose a personal trainer and set a goal for yourself.</td></tr><tr><td height=\"5\"></td></tr><tr><td class=\"verdanaBlk10\">The program allows you to select tracks from your own music library and will customize an audio workout for you to download to your portable MP3 player. All this for $20 a month. </td></tr></table>");

//extend the above list as desired
g_dwTimeOutSec=2

////End configuration/////////////////////////////

if (document.getElementById||document.all)
window.onload=Play

