
/* The mouseover script below is used because the PNG fix for IE 6 render the mouseover
script from Adobe useless. In the future, if PNG images are not used on this website, PNG
script will not be necessary, hence the mouseover script below is also not required anymore.
*/
if (document.images) {
	
    award01up       = new Image();
    award01up.src   = "2008/images/award01_a.png" ;
    award01down     = new Image() ;
    award01down.src = "2008/images/award01_b.png" ;

    award02up       = new Image();
    award02up.src   = "2008/images/award02_a.png" ;
    award02down     = new Image() ;
    award02down.src = "2008/images/award02_b.png" ;
	
	award03up       = new Image();
    award03up.src   = "2008/images/award03_a.png" ;
    award03down     = new Image() ;
    award03down.src = "2008/images/award03_b.png" ;
	
	award04up       = new Image();
    award04up.src   = "2008/images/award04_a.png" ;
    award04down     = new Image() ;
    award04down.src = "2008/images/award04_b.png" ;	
	
	award05up       = new Image();
    award05up.src   = "2008/images/award05_a.png" ;
    award05down     = new Image() ;
    award05down.src = "2008/images/award05_b.png" ;	

	award06up       = new Image();
    award06up.src   = "2008/images/award06_a.png" ;
    award06down     = new Image() ;
    award06down.src = "2008/images/award06_b.png" ;	

	winnerup       = new Image();
    winnerup.src   = "2008/images/awards2008_a.png" ;
    winnerdown     = new Image() ;
    winnerdown.src = "2008/images/awards2008_b.png" ;	
	}
	
function buttondown( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "down.src" );
    }
}
function buttonup ( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "up.src" );
    }
}

function newbrowser(TheLink) {
        window.open(TheLink,"","width=800,height=600,menubar=1,scrollbars=yes,resizable=yes,left=100,top=125");
}



/***********************************************
* Highlight Table Cells Script-  Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Specify highlight behavior. "TD" to highlight table cells, "TR" to highlight the entire row:
var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(mypage,myname,settings);}

