
function nwk (url) {
ww=600;
wh=600;
w=open(url,'canwk','width='+ww+',height='+wh+',resizable=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,top=0,left=0');
w.focus();
}
function nw (url) {
ww=screen.width-30;
wh=screen.height-200;
w=open(url,'canw','width='+ww+',height='+wh+',resizable=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,top=0,left=0');
w.focus();
}
function nwn (url) {
ww=screen.width-30;
wh=screen.height-200;
w=open(url,'w<?=time()?>','width='+ww+',height='+wh+',resizable=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,top=0,left=0');
w.focus();
}
var dragak=false
var z,x,y
function move(){
if (event.button==1&&dragak){
z.style.pixelLeft=temp1+event.clientX-x
z.style.pixelTop=temp2+event.clientY-y
return false
}
}
function dragsak(){
if (!document.all)
return
if (event.srcElement.className=="dr"){
dragak=true
z=event.srcElement
temp1=z.style.pixelLeft
temp2=z.style.pixelTop
x=event.clientX
y=event.clientY
document.onmousemove=move
}
}
document.onmousedown=dragsak
document.onmouseup=new Function("dragak=false")