function get_address (nam, sub) {

if (nam=="amye") {document.write ('<a href="mailto:ashouse@bellsouth.net?subject='+sub+'">Email Amye</a>');}
if (nam=="karen") {document.write ('<a href="mailto:karen.seeders99@gmail.com?subject='+sub+'">Email Karen</a>');}
if (nam=="mark") {document.write ('<a href="mailto:parman341@yahoo.com?subject='+sub+'">Email Mark</a>');}
if (nam=="ampgc") {document.write ('<a href="mailto:info@ampgc.com?subject='+sub+'">Email AmpGC</a>');}
if (nam=="webmaster") {document.write ('<a href="mailto:webmaster@ampgc.com?subject='+sub+'">Email Webmaster</a>');}
if (nam=="goulds") {document.write ('<a href="mailto:info@GouldsDiscountMedical.com?subject='+sub+'">Email Goulds Discount Medical</a>');}
if (nam=="johnson") {document.write ('<a href="mailto:webmaster@jci.com?subject='+sub+'">Email Johnson Controls</a>');}
if (nam=="kyprost") {document.write ('<a href="mailto:kyprost@bellsouth.net?subject='+sub+'">Email Kentucky Prosthetics & Orthotics</a>');}
if (nam=="lusk") {document.write ('<a href="mailto:luskadmin@bbtel.com?subject='+sub+'">Email Lusk Mechanical Contractors</a>');}
if (nam=="ossur") {document.write ('<a href="mailto:ossurusa@ossur.com?subject='+sub+'">Email Ossur Americas</a>');}
if (nam=="naga") {document.write ('<a href="mailto:info@nagagolf.org?subject='+sub+'">Email NAGA</a>');}
if (nam=="bob") {document.write ('<a href="mailto:b1naga@aol.com?subject='+sub+'">Email Bob</a>');}
if (nam=="karey") {document.write ('<a href="mailto:karey.kleinhenz@jhsmh.org?subject='+sub+'">Email Karey</a>');}
if (nam=="whgc") {document.write ('<a href="mailto:whgc@earthlink.net?subject='+sub+'">Email Weisinnger Hills Golf Course</a>');}
if (nam=="matt") {document.write ('<a href="mailto:kyprost@bellsouth.net?subject='+sub+'">Email Matt</a>');}
if (nam=="sienna") {document.write ('<a href="mailto:sgnewman@insightbb.com?subject='+sub+'">Email Sienna</a>');}

}


function get_window (image, size) {

if (size=="1") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=400,height=600");
if (size=="11") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=300,height=450");

if (size=="2") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=600,height=600");
if (size=="21") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=450,height=450");

if (size=="3") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=712,height=475");
if (size=="31") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=600,height=400");

if (size=="4") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=600,height=450");
if (size=="41") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=450,height=600");

if (size=="5") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=750,height=500");
if (size=="51") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=500,height=750");

if (size=="6") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=800,height=410");
if (size=="61") imgwindow = window.open (image, "imgWin", "toolbar=no,menubar=no,scrollbars=no,status=no,location=no,resizable=no,width=410,height=800");

imgwindow.focus();

}


function print_update () {

document.write (document.lastModified);

}


function resize_screen () {

if (screen.width>800) {window.resizeTo (805,715);}

}


function select_image () {

var sLeft = '<img style="float: left; margin-bottom: 0em; margin-left: 0.75em; border-color: #cc0000; border-width: 0.11em; border-style: solid; width: 6.75em; height: 10em"'; 
var sRight = '<img style="float: right; margin-bottom: 0em; margin-right: 0.75em; border-color: #cc0000; border-width: 0.11em; border-style: solid; width: 6.75em; height: 10em"'; 

num = Math.round(Math.random()*21)+1;

switch (num) {

case 1:
document.write (sLeft+' src="images/results-2009-images1/blick-tn.jpg" title=" Herb Blick, Fort Thomas KY " alt="Amputee Player 14" />');
document.write (sRight+' src="images/results-2009-images1/boston-tn.jpg" title=" Kyle Boston, Cincinnati OH " alt="Amputee Player 46" />');
break;
case 2:
document.write (sLeft+' src="images/results-2009-images1/brooks-tn.jpg" title=" Eddie Brooks, Rainbow City AL " alt="Amputee Player 58" />');
document.write (sRight+' src="images/results-2009-images1/buettner-tn.jpg" title=" Bob Buettner, Nokomis FL " alt="Amputee Player 11" />');
break;
case 3:
document.write (sLeft+' src="images/results-2009-images1/burke-tn.jpg" title=" Chris Burke, Lexington KY " alt="Amputee Player 11" />');
document.write (sRight+' src="images/results-2009-images1/calvert-tn.jpg" title=" Mark Calvert, Shelbyville KY " alt="Amputee Player 12" />');
break;
case 4:
document.write (sLeft+' src="images/results-2009-images1/christian-tn.jpg" title=" Mark Christian, Henderson KY " alt="Amputee Player 14" />');
document.write (sRight+' src="images/results-2009-images1/cox-tn.jpg" title=" Dan Cox, Mequon WI " alt="Amputee Player 46" />');
break;
case 5:
document.write (sLeft+' src="images/results-2009-images1/elmore-tn.jpg" title=" Joe Elmore, Simpsonville SC " alt="Amputee Player 14" />');
document.write (sRight+' src="images/results-2009-images1/emery-tn.jpg" title=" Gary Emery, Greensburg IN " alt="Amputee Player 14" />');
break;
case 6:
document.write (sLeft+' src="images/results-2009-images1/fightmaster-tn.jpg" title=" Don Fightmaster, Louisville KY " alt="Amputee Player 25" />');
document.write (sRight+' src="images/results-2009-images1/gentry-tn.jpg" title=" Alan Gentry, Louisville KY " alt="Amputee Player 26" />');
break;
case 7:
document.write (sLeft+' src="images/results-2009-images1/gritton-tn.jpg" title=" David Gritton, Louisville KY " alt="Amputee Player 27" />');
document.write (sRight+' src="images/results-2009-images1/hayden-tn.jpg" title=" Diana Hayden, Louisville KY " alt="Amputee Player 28" />');
break;
case 8:
document.write (sLeft+' src="images/results-2009-images1/hendricks-tn.jpg" title=" Rick Hendricks, Taylorsville KY " alt="Amputee Player 29" />');
document.write (sRight+' src="images/results-2009-images1/hight-tn.jpg" title=" Bob Hight, Fort Myers FL " alt="Amputee Player 46" />');
break;
case 9:
document.write (sLeft+' src="images/results-2009-images1/howard-tn.jpg" title=" Dustin Howard, Cincinnati OH " alt="Amputee Player 31" />');
document.write (sRight+' src="images/results-2009-images1/kluczinske-tn.jpg" title=" Howard Kluczinske, Two Rivers WI " alt="Amputee Player 30" />');
break;
case 10:
document.write (sLeft+' src="images/results-2009-images1/kohls-tn.jpg" title=" Hartmund Hohls, Statesboro GA " alt="Amputee Player 46" />');
document.write (sRight+' src="images/results-2009-images1/levi-tn.jpg" title=" Rev. Pete Levi, Rushville IN " alt="Amputee Player 46" />');
break;
case 11:
document.write (sLeft+' src="images/results-2009-images1/lilly-tn.jpg" title=" Rev. Carl B. Lilly, Chesapeake OH " alt="Amputee Player 46" />');
document.write (sRight+' src="images/results-2009-images1/lusk-tn.jpg" title=" Scott Lusk, Guston KY " alt="Amputee Player 39" />');
break;
case 12:
document.write (sLeft+' src="images/results-2009-images1/mathias-tn.jpg" title=" Evan Mathias, Portland IN " alt="Amputee Player 42" />');
document.write (sRight+' src="images/results-2009-images1/minton-tn.jpg" title=" Richard Minton, Finchville KY " alt="Amputee Player 46" />');
break;
case 13:
document.write (sLeft+' src="images/results-2009-images1/moran-tn.jpg" title=" Vince Moran, Greenbrier TN " alt="Amputee Player 47" />');
document.write (sRight+' src="images/results-2009-images1/morris-tn.jpg" title=" Walt Morris, Martinsville IN " alt="Amputee Player 48" />');
break;
case 14:
document.write (sLeft+' src="images/results-2009-images1/oates-tn.jpg" title=" Bruce Oates, Tavares FL " alt="Amputee Player 4" />');
document.write (sRight+' src="images/results-2009-images1/pollock-tn.jpg" title=" Bob Pollock, Brandenburg KY " alt="Amputee Player 52" />');
break;
case 15:
document.write (sLeft+' src="images/results-2009-images1/price-tn.jpg" title=" Virgil Price, St. Petersburg FL " alt="Amputee Player 22" />');
document.write (sRight+' src="images/results-2009-images1/pritchard-tn.jpg" title=" Larry Pritchard, Kennett MO " alt="Amputee Player 22" />');
break;
case 16:
document.write (sLeft+' src="images/results-2009-images1/roe-tn.jpg" title=" Henry Roe, The Villages FL " alt="Amputee Player 55" />');
document.write (sRight+' src="images/results-2009-images1/rogers-tn.jpg" title=" Tony Rogers, Indianapolis IN " alt="Amputee Player 56" />');
break;
case 17:
document.write (sLeft+' src="images/results-2009-images1/ruble-tn.jpg" title=" Kathy Ruble, Finchville KY " alt="Amputee Player 58" />');
document.write (sRight+' src="images/results-2009-images1/schmidt-tn.jpg" title=" Steve Schmidt, Louisville KY " alt="Amputee Player 46" />');
break;
case 18:
document.write (sLeft+' src="images/results-2009-images1/shaw-tn.jpg" title=" Ron Shaw, St. Joseph MI " alt="Amputee Player 58" />');
document.write (sRight+' src="images/results-2009-images1/smith-tn.jpg" title=" Gene Smith, Elizabethtown KY " alt="Amputee Player 31" />');
break;
case 19:
document.write (sLeft+' src="images/results-2009-images1/starks-tn.jpg" title=" Gordon Starks, Evansville WI " alt="Amputee Player 1" />');
document.write (sRight+' src="images/results-2009-images1/steinbach-tn.jpg" title=" Marvin Steinbach, Forest Junction WI " alt="Amputee Player 60" />');
break;
case 20:
document.write (sLeft+' src="images/results-2009-images1/sutton-tn.jpg" title=" Chuck Sutton, Shelbyville KY " alt="Amputee Player 61" />');
document.write (sRight+' src="images/results-2009-images1/vollman-tn.jpg" title=" Chris Vollman, Boonville IN " alt="Amputee Player 46" />');
break;
case 21:
document.write (sLeft+' src="images/results-2009-images1/warren-tn.jpg" title=" James Warren, Greenfield IN " alt="Amputee Player 63" />');
document.write (sRight+' src="images/results-2009-images1/white-tn.jpg" title=" Louis White, Upton KY " alt="Amputee Player 64" />');
break;
case 22:
document.write (sLeft+' src="images/results-2009-images1/wild-tn.jpg" title=" Terry Wild, Jackson MI " alt="Amputee Player 65" />');
document.write (sRight+' src="images/results-2009-images1/wolfe-tn.jpg" title=" Jack Wolfe, Pleasant Lake IN " alt="Amputee Player 66" />');
break;
case ELSE:
document.write (sLeft+' src="images/results-2009-images1/white-tn.jpg" title=" Louis White, Upton KY " alt="Amputee Player 64" />');
document.write (sRight+' src="images/results-2009-images1/calvert-tn.jpg" title=" Mark Calvert, Shelbyville KY " alt="Amputee Player 12" />');
break;

}

}


function days_remain () {

var date = new Date("June 3, 2010");
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));

document.write("(Only "+days+" Days To Go)");

}




