Может так:
<div style="background: url('http://javascript.ru/forum/images/ca_serenity/misc/logo.gif'); width: 100px; height: 75px;"></div>
<script type="text/javascript">
window.onload = function(){
(function(i){
element = document.getElementsByTagName("div")[0];
if(!element) return;
var alpha = element.filters['DXImageTransform.Microsoft.alpha'] || element.filters.alpha;
alpha ? alpha.opacity = i : element.style.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity="+i+")";
})(50);
};
</script>
или так:
<div style="background: url('http://javascript.ru/forum/images/ca_serenity/misc/logo.gif'); width: 100px; height: 75px;"></div>
<script type="text/javascript">
window.onload = function(){
(function(i){
element = document.getElementsByTagName("div")[0];
if(!element) return;
var alpha = element.filters['DXImageTransform.Microsoft.alpha'] || element.filters.alpha;
alpha ? alpha.opacity = i : element.runtimeStyle.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity="+i+")";
})(50);
};
</script>