function imgHover(id,tag){
      var sfEls = $(id).getElementsByTagName(tag);
      for (var i=0; i<sfEls.length; i++) {
            sfEls[i].onmouseover=function() {  
                  if (this.className.search("rollOver")>=0){
                        if (this.src.search("jpg")>=0){
                             this.src=this.src.replace('.jpg','_a.jpg');
                        }else if (this.src.search("png")>=0){
                             this.src=this.src.replace('.png','_a.png');
				  		}else{
                             this.src=this.src.replace('.gif','_a.gif');
                        }
                  }
            }
            sfEls[i].onmouseout=function() {
                  if (this.className.search("rollOver")>=0){
                        if (this.src.search("jpg")>=0){
                             this.src=this.src.replace('_a.jpg','.jpg');
                        }else if (this.src.search("png")>=0){
                             this.src=this.src.replace('_a.png','.png');
				  		}else{
                             this.src=this.src.replace('_a.gif','.gif');
                        }
                  }
            }
      }
}
/*

function borderHover(id,tag){
      var sfEls = $(id).getElementsByTagName(tag);
      for (var i=0; i<sfEls.length; i++) {
            sfEls[i].onmouseover=function() {  
                  if (this.className.search("rollOverBorder")>=0){
					  this.className=this.className.replace('_o','_h');
					  //this.addClass('bordoImmagineGold_h');
					  //this.removeClass('bordoImmagineGold_o');
                  }
            }
            sfEls[i].onmouseout=function() {
                  if (this.className.search("rollOverBorder")>=0){
					  this.className=this.className.replace('_h','_o');
					  //this.addClass('bordoImmagineGold_o');
					  //this.removeClass('bordoImmagineGold_h');
                  }
            }
      }
}
*/
function resetFieldValue(){ 
	this.set("value", "");
	this.removeEvent("click", resetFieldValue);
}


