//--Image Highlighing--//
var baseopacity=80
function hlon(which2){
  imgobj=which2
  browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : typeof which2.style.opacity=="string"? "css3" : ""
  instantset(99.9)
  imgobj.style.borderStyle="dashed"
  highlighting=setInterval("gradualfade(imgobj)",1)
}
function hloff(which2){
  if (window.highlighting) clearInterval(highlighting)
  instantset(99.9)
  imgobj.style.borderStyle="solid"
}
function gradualfade(cur2){
  if (browserdetect=="mozilla" && cur2.style.MozOpacity>baseopacity/100) cur2.style.MozOpacity=Math.max(parseFloat(cur2.style.MozOpacity)-0.02, baseopacity/100)
  else if (browserdetect=="ie" && cur2.filters.alpha.opacity>baseopacity) cur2.filters.alpha.opacity-=10
  else if (browserdetect=="css3" && cur2.style.opacity>baseopacity/100) cur2.style.opacity=Math.max(parseFloat(cur2.style.opacity)-0.02, baseopacity/100)
  else if (window.highlighting) clearInterval(highlighting)
}
function instantset(degree){
  if (browserdetect=="mozilla") imgobj.style.MozOpacity=degree/100
  else if (browserdetect=="ie") imgobj.filters.alpha.opacity=degree
  else if (browserdetect=="css3") imgobj.style.opacity=degree/100
}