// ID of list item         |link to destination
// for menu table          |page for menu

var ms00 =                 ["index.php"];
var ms01 =                 ["aboutthermography.php"];
var ms02 =                 ["sampleconditions.php"];
var ms03 =                 ["ourthermographers.php"];
var ms04 =                 ["faqs.php"];
var ms05 =                 ["contactus.php"];
var ms06 =                 ["locations.php"];
var ms07 =                 ["products.php"];

var ms20 =                 ["sampleconditions.php#breast"];
var ms21 =                 ["sampleconditions.php#pain"];
var ms22 =                 ["sampleconditions.php#preventative"];

var ms30 =                 ["ourthermographers.php#tammyleiner"];

var ms60 =                 ["locations.php#wisconsin"];
var ms61 =                 ["locations.php#illinois"];
var ms62 =                 ["locations.php#arizona"];
var ms63 =                 ["locations.php#nevada"];
var ms64 =                 ["locations.php#pennsylvania"];
var ms65 =                 ["locations.php#maryland"];
var ms66 =                 ["locations.php#virginia"];



function mainheaderrow()
{
var headerrow="<table width='100%' border='0' cellpadding='5' cellspacing='5' bgcolor='#ACEDFF'>" +
"<tr><td height='150' valign='center'>" + 
"<p align='center' valign='top' style='margin-bottom: 5;'><font style='Times New Roman' size='7'><b>The Longevity Centers of America</b></font></p>" +
"<p align='center' valign='center' style='margin-top: 5;'><font style='Times New Roman' size='5'><b>WE KNOW THERMOGRAPHY</b></font></p>" +
"<p align='center' valign='center'><font style='Times New Roman' size='5'><b>1-888-580-0040</b></font></p>" +
"</td></tr>" +
"</table>"

return(headerrow)
}



function maingraphicfile()
{
var pointtomaingraphic="<p align='center' valign='top' style='margin-top: 0'><img src='images/watercolorgirltransparent.jpg' width='156' height='264' alt='The Longevity Centers of America'></p>"

return(pointtomaingraphic)
}



function mainfooterrow()
{
var footerrow="<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#F8F4F0' style='margin-top: 0'>" +
"<tr>" +
"<td align='center'>" +
"<p align='center' valign='center'><img src='images/bbblogo.jpg' width='171' height='69' border='0' usemap='#BBB'></p>" +
"</td>" +

"<td align='center'>" +
"<table width='100%' border='0'><tr><td align='center'>" +
"<p align='center' valign='center'><font style='Times New Roman' size='4'><b>If you can't afford prevention, how will you afford disease?</b></font></p>" +

"<p style='margin-top: 0; margin-bottom: 5; margin-left: 0; margin-right: 0;font: 7pt/9pt Times New Roman; align: center'>Copyright &copy; 2010 Longevity Centers of America, LLC All Rights Reserved</p>" +
"</td></tr></table>" +
"</td>" +

"<td align='center'>" +
"<p align='center' valign='center'><font style='Times New Roman' size='3'><b><br><a href='contactus.php'>Become a certified<br>thermal center</a>!</b></font></p>" +
"</td></tr></table>"

var footerrow2="<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#dddddd'>" +
"<tr>" +
"<td align='center'>" +
"<p><font face='GARAMOND' size='2'><b>This web site was created by </font><img src='images/iblue2.gif' align='top' usemap='#dmt' alt='David M. Tacke.' WIDTH='67' HEIGHT='21' border='0'></b></p>" +
"</td></tr></table>"

var footermap="<map name='dmt'>" +
"<area shape='rect' coords='0,0,67,21' href='http://www.dtacke.net'>" +
"</map>"

return(footerrow)
}



function mainfooterrow2()
{
var footerrow2="<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#dddddd'>" +
"<tr>" +
"<td align='center'>" +
"<p><font face='GARAMOND' size='2'><b>This web site was created by </font><img src='images/iblue2.gif' align='top' usemap='#dmt' alt='David M. Tacke.' WIDTH='67' HEIGHT='21' border='0'></b></p>" +
"</td></tr></table>"

var footermap="<map name='dmt'>" +
"<area shape='rect' coords='0,0,67,21' href='http://www.dtacke.net'>" +
"</map>"

var footermap2="<map name='BBB'>" +
"<area shape='rect' coords='0,0,171,69' href='http://www.bbb.org/' alt='Better Business Bureau'>" +
"</map>"

return(footerrow2 + footermap + footermap2)
}



function defaultMenuColors(cellID, fTagID)
{
        moveOffOf (cellID, fTagID)
}


function moveOnto (cellID, fTagID)
{
        // Changes the background color of the menu table selection.
        // This shows which menu table cell has the focus.  
        document.getElementById(cellID).style.backgroundColor = '#2f4f4f';        
        
        // This function will change the color of the font in a menu selection.
        setHotKeyColor(fTagID);
}



function moveOffOf (cellID, fTagID)
{
        // Changes the background color of the menu table selection.
        // This shows which menu table cell has the focus.  
        document.getElementById(cellID).style.backgroundColor = '#ddeedd';        
        
        // This function will change the color of the font in a menu selection.
        unSetHotKeyColor(fTagID);
}



// This function changes the color of the font when a menu cell is selected.
function setHotKeyColor(fontTagID) 
{
        //Sets the myObj variable to the value of the font tag when the menu text is selected.
        myObj = document.getElementById(fontTagID);
        
        //Changes the color of the font for the selected text.
        myObj.style.color = '#ffff00';
}



// This function changes the color of the font when a menu cell is selected.
function unSetHotKeyColor(fontTagID) 
{
        //Sets the myObj variable to the value of the font tag when the menu text is selected.
        myObj = document.getElementById(fontTagID);
        
        //Changes the color of the font for the selected text.
        myObj.style.color = '#000040';
}



// Takes a user to a link's destination.
function goToPage(cellId){
        // Gets the text for a link.
        var pageRef = eval(cellId + "[0]");
        
        //  Opens the destination page in the browser's main window.
        window.location = pageRef;
}



function featureNotReady(){
        window.alert("This feature is not yet ready.");
}







