-
// script source: codelifter.com
// copyright 2003
// do not remove this header
isie=document.all;
isnn=!document.all&&document.getelementbyid;
isn4=document.layers;
ishot=false;
function ddinit(e){
topdog=isie ? "body" : "html";
whichdog=isie ? document.all.thelayer : document.getelementbyid("thelayer");
hotdog=isie ? event.srcelement : e.target;
while (hotdog.id!="titlebar"&&hotdog.tagname!=topdog){
hotdog=isie ? hotdog.parentelement : hotdog.parentnode;
}
if (hotdog.id=="titlebar"){
offsetx=isie ? event.clientx : e.clientx;
offsety=isie ? event.clienty : e.clienty;
nowx=parseint(whichdog.style.left);
nowy=parseint(whichdog.style.top);
ddenabled=true;
document.onmousemove=dd;
}
}
function dd(e){
if (!ddenabled) return;
whichdog.style.left=isie ? nowx+event.clientx-offsetx : nowx+e.clientx-offsetx;
whichdog.style.top=isie ? nowy+event.clienty-offsety : nowy+e.clienty-offsety;
return false;
}
function ddn4(whatdog){
if (!isn4) return;
n4=eval(whatdog);
n4.captureevents(event.mousedown|event.mouseup);
n4.onmousedown=function(e){
n4.captureevents(event.mousemove);
n4x=e.x;
n4y=e.y;
}
n4.onmousemove=function(e){
if (ishot){
n4.moveby(e.x-n4x,e.y-n4y);
return false;
}
}
n4.onmouseup=function(){
n4.releaseevents(event.mousemove);
}
}
function hideme(){
if (isie||isnn) whichdog.style.visibility="hidden";
else if (isn4) document.thelayer.visibility="hide";
}
function showme(){
if (isie||isnn) whichdog.style.visibility="visible";
else if (isn4) document.thelayer.visibility="show";
}
document.onmousedown=ddinit;
document.onmouseup=function("ddenabled=false");
"cabin rentals in pigeon forgetn" |
|||||||||||||||||||||||||||
|
site map | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
this page was created friday, april 6, 2007; 14:43. | |||||||||||||||||||||||||||