if(typeof(Controls) == 'undefined')
	var Controls = {};
if(typeof(Controls.UI) == 'undefined')
	Controls.UI = {};
if(typeof(Controls.UI.Effects) == 'undefined'){
	Controls.UI.Effects = {};
	
	Controls.UI.Effects.SetOpacity = function(Item, nOpacity){
		var sBrowserName = Controls.BrowserHelper.GetBrowserName();
		if(sBrowserName == "IE"){
			if(nOpacity < 100)
				Item.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity="+ nOpacity +");";
			else
				Item.style.filter = "";
		}else{
			Item.style.opacity = nOpacity / 100;
		}
	}
}