/*
Highlight Image Script II- 
c Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
in order to use this script you need an image WITH the attributes like this: 
onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')" border="0" class="GiveAClassName"
If no class is specified it does not work, since it changes the class id attributes

*/

function borderit(which,color){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
which.style.borderColor=color
}
}
