/*
The ultimate DHTML drop-down code
Nick Nettleton | www.fluid7.co.uk
--
You can adapt, use and distribute this code under GNU public licence, as long as:
(1) You leave all the comment and credit lines in, including these ones
(2) You don't sell it for profit
--
Enjoy!!!
*/

function f7_showdrop(thelayer,theimage,newsrc){
 f7_keep=thelayer; f7_hideall(); checkpos=0; f7_showitnow=1
 f7_showit(thelayer,theimage,newsrc)
 }

function f7_showit(thelayer){
//  eval(f7_droplayer[thelayer][0]+'.style.display="block"') 
  document.getElementById(f7_droplayer[thelayer][0]).style.display="block"
 document.images[f7_droplayer[thelayer][1]].src=f7_droplayer[thelayer][3]
 }


function f7_hidedrop(){
 f7_keep=-1; checkpos=1; setTimeout('f7_hideall()',500)
 }

f7_keep=-1

function f7_hideall(){
 for(i=0;i<f7_droplayer.length;i++){ 
  if(f7_keep!=i){ 
//   eval(f7_droplayer[i][0]+'.style.display="none"')
   document.getElementById(f7_droplayer[i][0]).style.display="none"
   document.images[f7_droplayer[i][1]].src=f7_droplayer[i][2]
  }
  }
}

