// ONMOUSEOVER SLIDESHOW (http://javascriptkit.com/script/script2/rolldifferent.shtml)

function changeimage(towhat,url){
if (document.images){
document.images.targetimage.src=towhat
gotolink=url
}
}
function warp(){
window.location=gotolink
}

var gotolink="#"

var myimages=new Array(
"images/1x1.gif","images/photos_2009/coach_ables_jeff_200x280.jpg","images/photos_2009/coach_branyon_ty_200x280.jpg","images/photos_2009/coach_deckard_bob_200x280.jpg","images/photos_2009/coach_hipp_lee_200x280.jpg","images/photos_2009/coach_johnson_tommy_200x280.jpg","images/photos_2009/coach_hahn_john_200x280.jpg","images/photos_2009/coach_miller_sam_200x280.jpg","images/photos_2009/coach_pesek_chris_200x280.jpg","images/photos_2009/coach_pittman_brandon_200x280.jpg","images/photos_2009/coach_pittman_darren_200x280.jpg","images/photos_2009/coach_pittman_gary_200x280.jpg","images/photos_2009/coach_smith_kevin_200x280.jpg","images/photos_2009/coach_thompson_howard_200x280.jpg","images/photos_2009/coach_torres_rey_200x280.jpg","images/photos_2009/trainer_patrick_mike_200x280.jpg","images/photos_2009/trainer_thibodeaux_britani_200x280.jpg","images/photos_2008/doc_adams_bradley_200x300.jpg","images/photos_2009/doc_abrams_don_200x280.jpg","images/photos_2008/principal_kane_stephen_200x300.jpg"
);

// STATIC LOGO SCRIPT BELOW (http://www.dynamicdrive.com/dynamicindex4/logo.htm)

function setVariables(){
if (navigator.appName == "Netscape") {
v=".top=";h=".left=";dS="document.";sD="";
y="window.pageYOffset";x="window.pageXOffset";iW="window.innerWidth";iH="window.innerHeight"
}

else {h=".pixelLeft=";v=".pixelTop=";dS="";sD=".style";
y="document.body.scrollTop";x="document.body.scrollLeft";iW="document.body.clientWidth";iH="document.body.clientHeight"
}

object="logo";
checkLocationA()
}
movex=0,movey=0,xdiff=0,ydiff=0,ystart=0,xstart=0
function checkLocation(){
 innerX=eval(iW)-235 // place to the right - gif width + 6
// innerX=20 // controls the horizontal from the left side of the page

 innerY=eval(iH)-310 // place at the bottom - gif height + 7
// innerY=20 // controls the verticle from the top of the page
if (document.layers){innerY-=10;innerX-=10}
yy=eval(y);
xx=eval(x);
ydiff=ystart-yy;
xdiff=xstart-xx;
if ((ydiff<(-1))||(ydiff>(1))) movey=Math.round(ydiff/10),ystart-=movey
if ((xdiff<(-1))||(xdiff>(1))) movex=Math.round(xdiff/10),xstart-=movex
eval(dS+object+sD+v+(ystart+innerY));
eval(dS+object+sD+h+(xstart+innerX));
setTimeout("checkLocation()",10)}

function checkLocationA(){ystart=eval(y);xstart=eval(x);}
