<!--
if (typeof offsetx == 'undefined') { var offsetx = 3;}
if (typeof offsety == 'undefined') { var offsety = -37;}
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

// Microsoft Stupidity Check.
if (ie4) {
	if (navigator.userAgent.indexOf('MSIE 5')>0) {
		ie5 = true;
	} else {
		ie5 = false; }
} else {
	ie5 = false;
}

var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;
var text="";
var tr = 1;
var timMoveId;
if ( ie4 ) {
	if (ns4) over = document.overDiv
	if (ie4) over = overDiv.style
	document.onmousemove = mouseMove
	if (ns4) document.captureEvents(Event.MOUSEMOVE)
}

// right
function drs(mytext) {
if (ie4) {	
	text=mytext; dir=1;
	window.clearInterval(timMoveId);
	timMoveId=window.setInterval("dts()",1000);
}
}

function drp(mytext) {
if (ie4) {	
	text=mytext; dir=4;
	window.clearInterval(timMoveId);
	timMoveId=window.setInterval("dts()",1000);
}
}


// left
function dls(mytext) {
if (ie4) {
	text=mytext; dir=0;
	window.clearInterval(timMoveId);
	timMoveId=window.setInterval("dts()",1000);
}
}

// center
function dcs(mytext) {
if (ie4) {
	text=mytext; dir=2;
	window.clearInterval(timMoveId);
	timMoveId=window.setInterval("dts()",1000);
}
}


// Clears popups if appropriate
function nd() {
if (ie4) {
	window.clearInterval(timMoveId)
	if ( cnt >= 1 ) { sw = 0 };
	if ( ie4 ) {
		if ( sw == 0 ) {
			snow = 0;
			hideObject(over);
		} else {
			cnt++;
		}
	}}
}

// Non public functions. These are called by other functions etc.

// Simple popup
function dts() {
	window.clearInterval(timMoveId);
//	txt = "<table border=0 cellpadding=0 cellspacing=0 width=10 height=10 background=images/sp.gif><tr><td colspan=2 valign=bottom align=right height=12><img border=0 src=images/hlu.gif></td><td height=12><img border=0 src=images/hu.gif width=100% height=12></td><td valign=bottom align=left height=12><img border=0 src=images/hru.gif></td></tr><tr><td valign=top align=right><img border=0 src=images/hla.gif></td><td><img border=0 src=images/hl.gif width=14 height=100%></td><td valign=middle align=center bgcolor=#DCEEFC class=hint>"+text+"</td><td><img border=0 src=images/hr.gif width=13 height=100%></td></tr><tr><td height=13></td><td valign=top align=right height=13><img border=0 src=images/hld.gif></td><td height=13 valign=top><img border=0 src=images/hd.gif width=100% height=13></td><td valign=top align=left height=13><img border=0 src=images/hrd.gif></td></tr></table>";
	txt = "<table border=0 cellspacing=0 bgcolor=#0069B3><tr><td><div align=left><table border=0 cellpadding=9 cellspacing=0 bgcolor=#FFF3A2 width=130><tr><td valign=middle align=center class=hint>"+text+"</td></tr></table></div></td></tr></table>";
	layerWrite(txt);
//	dir=d;
	disp();
}

// Common calls
function disp() {
	if ( ie4 ) {
		if (snow == 0) 	{
			if (dir == 2) { // Center
				moveTo(over,x+offsetx-(width/2),y+offsety);
			}
			if (dir == 1) { // Right
				moveTo(over,x+offsetx,y+offsety);
			}
			if (dir == 0) { // Left
				moveTo(over,x-offsetx-width,y+offsety);
			}
			if (dir == 4) { // Print
				moveTo(over,530,112);
			}
			showObject(over);
			snow = 1;
		}
	}
// Here you can make the text goto the statusbar.
}

// Moves the layer
function mouseMove(e) {
	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 == 2) { // Center
			moveTo(over,x+offsetx-(width/2),y+offsety);
		}
		if (dir == 1) { // Right
			moveTo(over,x+offsetx,y+offsety);
		}
		if (dir == 0) { // Left
			moveTo(over,x-offsetx-width,y+offsety);
		}
//		if (dir == 4) { // Print
//			moveTo(over,x-offsetx-200,y+offsety);
//		}

	}
}

// The Close onMouseOver function for Sticky
function cClick() {
	hideObject(over);
	sw=0;
}

// Writes to a layer
function layerWrite(txt) {
        if (ie4) document.all["overDiv"].innerHTML = txt
//		if (tr) { trk(); }
}

// Make an object visible
function showObject(obj) {
 if (ie4) obj.visibility = "visible"
}

// Hides an object
function hideObject(obj) {
  if (ie4) obj.visibility = "hidden"
}

// Move a layer
function moveTo(obj,xL,yL) {
        obj.left = xL
        obj.top = yL
}

function trk() {
	if ( (ie4) ) {
	}
	tr = 0;
}
// -->
