У меня вот такой документ:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<script type="text/javascript" src="JS/MyLibary.js"></script>
<style>
.d1{position: absolute;
left: 100px;
top: 200px;
height: 125px;
width: 150px;
background-color:green;
padding-top:25px;
}
.d12{position: absolute;
left: 250px;
top: 350px;
height: 125px;
width: 150px;
background-color:green;
padding-top:25px;
}
.d2{height: 75px;
width: 100px;
padding-top:25px;
background-color:blue;
}
.d3{height: 25px;
width: 50px;
padding-top:25px;
background-color:red;
}
</style>
</head>
<body>
<div class="d1" id="d1" onclick="alert(1);" align=center valign=center>
<div class="d2" id="d2" onclick="alert(2);" align=center valign=center>
<div class="d3" id="d3" onclick="alert(3)">,</div>
</div>
</div>
<img id="img" style="border: none;" src='files/test.jpg'>
<script>
var Q=$my.$F;
style={myClass:{
style:{color:"blue"},
DragDrop:{
Drag:function(){window.status="X-"+this.style.left+" x Y-"+this.style.top;},
Frames:1
}}
};
Q(style,function(){Q.constructor("#d1", "myClass");Q.constructor("#img", "myClass");});
A=new $my.AJAX();
A.setURL("http://htdocsnew.com/JSBrowser/CURL.php?site=htdocsnew.com/&url=htdocsnew.com/");
A.setPost({my:'hh'});
A.setParser(function(t){alert(t);});
alert(A.send());
</script>
</body>
</html>