function openWindow( strLink, strName, iWidth, iHeight )
	{ wiTmp = window.open( strLink, strName, 'width=' + iWidth + ',height=' + iHeight + ',resizable=yes,menubar=yes,toolbar=no,status=no,dependent=yes,location=no,scrollbars=yes' );
		wiTmp.focus();
	}
var ns4 = (document.layers) ? true : false;
var ns6 = (!document.all && document.getElementById) ? true : false;
var ie4 = (document.all && !document.getElementById) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
var ie6 = false;
var flyer = null;
var visible = false;
var x;
var y;
var width;
var height;
var offset_x;
var offset_y;
var position;
var initialised = false;

function InitFlyer ()
	{	document.onmousemove = mouseMove;
		if (ns4 || ns6)
				document.captureEvents(Event.MOUSEMOVE);
		initialised = true;
	}
function OF(content, cb, cf)
	{	//if(!initialised)
		//		InitFlyer();
		id = 'Flyer';
		pos = 'center';
		dx = 0;
		dy = 20;
		document.getElementById( id ).innerHTML = content;
		position = (pos != null) ? pos : 'right';
		offset_x = (dx != null) ? dx : 10;
		offset_y = (dy != null) ? dy : 10;
		if ( ns4 || ns6 || ie4 || ie5 || ie6)
			{ if (ns4)
					{	flyer = eval("document."+id);
						width = flyer.clip.width;
						height = flyer.clip.height;
					}
				else if (ns6)
					{ flyer = document.getElementById(id).style;
						//width = flyer.clientWidth;
						//height = flyer.clientHeight;
						width = parseInt( flyer.width );
						height = parseInt( flyer.height );
					}
				else if (ie4 || ie5 || ie6)
					{ flyer = eval(id+".style");
						width = document.all[id].clientWidth;
						height = document.all[id].clientHeight;
					}
				flyer.backgroundColor = cb;
				flyer.color = cf;
				if (!visible)
					{ if (position == 'center')
							{ // Center
								MoveFlyerTo(x+offset_x-(width/2),y+offset_y);
							}
						if (position == 'right')
							{ // Right
								MoveFlyerTo(x+offset_x,y+offset_y);
							}
						if (position == 'left')
							{ // Left
								MoveFlyerTo(x-offset_x-width,y+offset_y);
							}
						if (ns4)
							{ flyer.visibility = "show";
							}
						else if (ie4 || ie5 || ie6 || ns6)
							{ flyer.visibility = "visible";
							}
						visible = true;
			}		}
		else
			{ //		alert('Incompatibler Browser');
			}
		// Here you can make the text goto the statusbar.
	}
function CF()
	{	if (visible)
			{ if (ns4)
					{ flyer.visibility = "hide";
					}
				else if (ie4 || ie5 || ie6 || ns6)
					{ flyer.visibility = "hidden";
					}
				visible = false;
	}		}
function mouseMove(evt)
	{ if (ns4 || ns6)
			{ x = evt.pageX;
				y = evt.pageY;
			}
		else if (ie4)
			{ x=event.x;
				y=event.y;
			}
		if (ie5 || ie6)
			{ x = event.x + document.body.scrollLeft;
				y = event.y + document.body.scrollTop;
			}
		if (visible)
			{ if (position == 'center')
					{ // Center
						MoveFlyerTo(x+offset_x-(width/2),y+offset_y);
					}
				if (position == 'right')
					{ // Right
						MoveFlyerTo(x+offset_x,y+offset_y);
					}
				if (position == 'left')
					{ // Left
						MoveFlyerTo(x-offset_x-width,y+offset_y);
	}		}		}
function MoveFlyerTo(x, y)
	{	flyer.left = x;
		flyer.top = y;
	}