function opacity(obj, opacity) {
	if(!obj) return;
	
	if(typeof obj.style.filter != 'undefined')
	obj.style.filter = 'alpha(opacity=' + opacity  + ')';
	else if( typeof obj.style.opacity != 'undefined')
	obj.style.opacity = opacity / 100;

}