//------------------------------------------------------------------------------
//function hideCalIcons() {
//	// Hides calendar icon date-picker buttons for non-IE browsers
//	if(!isIE()) {
//		var colCalIcons = document.getElementsByTagName('IMG');
//		for (var ical = 0; ical < colCalIcons.length; ical++) {
//			if(colCalIcons[ical].src.indexOf('AppImages/SmallCalendar.gif') > -1 || colCalIcons[ical].className == 'clsCalIcon') {
//				//colCalIcons[ical].style.visibility = 'hidden';
//				colCalIcons[ical].style.display = 'none';
//			}
//		}
//	}
//}
//------------------------------------------------------------------------------
function initHelpIconListeners() {
	// Make help icons switch out graphics on hover
	try {
		var colimg = document.getElementsByTagName('IMG');
		for(var iimg = 0; iimg < colimg.length; iimg++) {
			if(colimg[iimg].src.indexOf('help2.png') > -1) {
				colimg[iimg].onmouseover = function() { this.src = this.src.replace(/\.png|b_down\.png/ig	, 'b.png'); };
				colimg[iimg].onmouseout = function()  { this.src = this.src.replace(/b\.png|b_down\.png/ig	, '.png');  };
				colimg[iimg].onmousedown = function() { this.src = this.src.replace(/b\.png|\.png/ig		, 'b_down.png'); };
				colimg[iimg].onmouseup = function()   { this.src = this.src.replace(/b_down\.png|\.png/ig	, 'b.png'); };
			}
		}
	} catch(e) {}
}
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//hideCalIcons();
initHelpIconListeners();
