//<![CDATA[
//可移动、最小化、最大化、关闭的带阴影的弹出层function $(d){return document.getElementById(d);}
function gs(d){var t=$(d);if (t){return t.style;}else{return null;}}
function gs2(d,a){
if (d.currentStyle){
var curVal=d.currentStyle[a]
}else{
var curVal=document.defaultView.getComputedStyle(d, null)[a]
}
return curVal;
}function ChatHidden(obj){
$(obj).style.display = "none";
for(var i=0 ; i < $(obj).parentNode.getElementsByTagName("div").length; i++){
var op = $(obj).parentNode.getElementsByTagName("div")[i];
//alert(op.innerHTML);
if(op.className == "winBg"){
op.style.height = 44 +"px";
}
}
}
function ChatShow(obj){
$(obj).style.display = "";
for(var i=0 ; i < $(obj).parentNode.getElementsByTagName("div").length; i++){
var op = $(obj).parentNode.getElementsByTagName("div")[i];
if(op.className == "winBg"){
op.style.height = $(obj).offsetHeight + 44 +"px";
}
}
}
function ChatClose(obj){$(obj).style.display = "none";}   //关闭弹出层function draw(obj,L,T,W,H){//依次是:对象名称,左边距,顶边距,宽,高
var divObj=$(obj);
divObj.style.left = L + "px";
divObj.style.top = T + "px";
divObj.style.width = W + "px";
divObj.style.heiht = H + "px"; for(var i=0 ; i < divObj.getElementsByTagName("div").length; i++){
var op = divObj.getElementsByTagName("div")[i];
if(op.className == "winBg"){
op.style.width = W + 20 +"px";
op.style.height = H + 20 +"px";
}
if(op.className == "winBody"){
op.style.height = H - 30 +"px";
}
}
$(obj).style.display= "block";
}
加了这个JS之后我所有的jquery都无法正常使用了  求解,为什么会这样呢???上面的代码是弹出一个div层