Body {CURSOR: URL ('/ images / hmove.cur')}
style>
DRAG = 0
MOVE = 0
Function init () {
Window.Document.onmousemove = mousemove
Window.Document.onmousedown = mousedown
Window.document.onmouseup = mouseup
Window.Document.ondragStart = mouseestop
}
Function mousedown () {
IF (DRAG) {
Clickeft = window.event.x - parseint (Dragobj.Style.Left)
Clicktop = WINDOW.Event.y - parseint (Dragobj.Style.top)
Dragobj.Style.zindex = 1
Move = 1
}
}
Function mouseestop () {
Window.Event.ReturnValue = false
}
Function mousemove () {
IF (move) {
Dragobj.Style.Left = WINDOW.Event.x - ClickLeft
Dragobj.Style.top = Window.Event.y - Clicktop
}
}
Function mouseup () {
MOVE = 0
}
Function bbimg (o) {
Var zoom = parseint (O.Style.Zoom, 10) || 100;
ZOOM = Event.wheeldelta / 12;
IF (ZOOM> 0) o.Style.ZOOM = ZOOM '%';
Return False;
}
Function featsize ()
{
Var width1 = imageswidth;
VAR height1 = images2.height;
Var width2 = 760;
Var height2 = 500;
VAR H = Height1 / Height2;
Var w = width1 / width2;
IF (Height1 { Images1.height = height1; Images1.width = width1; } Else { IF (h> w) { Images1.height = height2; Images1.width = width1 * height2 / height1; } Else { Images1.width = width2; Images1.height = height1 * width2 / width1; } } Block1.style.Left = 0; Block1.style.top = 0; } Script> Head>