Ну собсно, спасиб за идею, сделал сам. Кому интересно:
var browser = new Browser();
var dragObj = new Object();
window.onload = Browser;
function draw() {
document.getElementById('ddlShadow').innerHTML = "";
displace_x=3;
displace_y=3;
shadowWidth=document.getElementById('TTT').offsetWidth;
shadowHeight=document.getElementById('TTT').offsetHeight;
document.getElementById('ddlShadow').innerHTML += "<div id='shadow_total' style='position:absolute; left:0px; top:0px; width:"+shadowWidth+"px; height:"+shadowHeight+"px; background:#000000'> </div>"
if ((browser.isNS)||(window.opera)) {
document.getElementById("shadow_total").style.opacity = 0.2;
}
if (browser.isIE){
document.getElementById("shadow_total").style.filter = "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}
}
function Browser() {
var ua, s, i;
this.isIE = false;
this.isNS = false;
this.version = null;
ua = navigator.userAgent;
s = "MSIE";
if ((i = ua.indexOf(s)) >= 0) {
this.isIE = true;
this.version = parseFloat(ua.substr(i + s.length));
return;
}
s = "Netscape6/";
if ((i = ua.indexOf(s)) >= 0) {
this.isNS = true;
this.version = parseFloat(ua.substr(i + s.length));
return;
}
s = "Gecko";
if ((i = ua.indexOf(s)) >= 0) {
this.isNS = true;
this.version = 6.1;
return;
}
if(window.opera){this.isIE = true;}
}
Спс, удачи