<!--
// define over and other stuff.
if ( (ns4) || (ie4) ) {
	if (ns4) over = document.overDiv
	if (ie4) over = overDiv.style
		document.onmousemove = mouseMove
	if (ns4)
		document.captureEvents(Event.MOUSEMOVE)
}

// Common calls
function disp() {
xi=x
yi=y
	if ( (ns4) || (ie4) ) {
		if (snow == 0) {
			if (dir==1)
				{
				if ( x <275 ) 
					moveTo(over,x,y-(y+10)%20+20);
				else
					moveTo(over,x-250,y-(y+10)%20+20);
				}
			if (dir == 2)
				{
				if( x < 275 )
					moveTo(over,x,y-(y+10)%20-60);
				else
					moveTo(over,x-250,y-(y+10)%20+20);
				}
			showObject(over);
			snow = 1;
		}
	}
//	setTimeout("nd()",10000);
}

// Clears popups if appropriate
function nd() {
	if ( cnt >= 1 ) { sw = 0 };
	if ( (ns4) || (ie4) ) {
		if ( sw == 0 ) {
			snow = 0;
			hideObject(over);
		} else {
			cnt++;
		}
	}
}

// Moves the layer
function mouseMove(e) {
	if (ns4) {x=e.pageX; y=e.pageY;}
	if (ie4) {x=event.x; y=event.y;}
	if (ie5) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
	if (snow) {
			if (dir==1)
				{
				if(xi < 275)
					moveTo(over,xi,yi-(yi+10)%20+20);
				else
					moveTo(over,xi-250,yi-(yi+10)%20+20);
				}
			if (dir == 2)
				{
				if(xi < 275)
					moveTo(over,xi,yi-(yi+10)%20-60);
				else
					moveTo(over,xi-250,yi-(yi+10)%20+20);
				}
	}
}

// Writes to a layer
function layerWrite(txt) {
        if (ns4) {
                var lyr = document.overDiv.document
                lyr.write(txt)
                lyr.close()
        }
        else if (ie4) document.all["overDiv"].innerHTML = txt
}

//-->