document.write('<span id="bubble" style="BORDER-RIGHT: lightgreen 1px dotted; PADDING-RIGHT: 3px; BORDER-TOP: lightgreen 3px dotted; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 11px; Z-INDEX: 200; LEFT: 300px; VISIBILITY: hidden; PADDING-BOTTOM: 3px; BORDER-LEFT: lightgreen 1px dotted; CURSOR: hand; PADDING-TOP: 3px; BORDER-BOTTOM: lightgreen 1px dotted; FONT-FAMILY: Calibri, Arial; POSITION: absolute; TOP: 100px; BACKGROUND-COLOR: honeydew" onmouseout="hideBubble()">Loading...</span>');
			
function is_right_available(box,e) {
	if ((box.clientWidth+e.clientX+h_padding)>=winWidth){
		return false;
	}
	return true;
}
function is_top_available(box,e) {
	if ((e.clientY-box.clientHeight-v_padding) < 0){
		return false;
	}
	return true;
}
function is_bot_available(box,e) {
	if ((e.clientY+box.clientHeight+v_padding) > winHeight){
		return false;
	}
	return true;
}
function is_left_available(box,e) {
	if ((e.clientX+box.clientWidth-h_padding)<0){
		return false;
	}
	return true;
}
function boxFinishedMoving(box) {
	var y=box.offsetTop;
	var x=box.offsetLeft;
	if ((y<box.ypos)||(y>box.ypos)||(x<box.xpos)||(x>box.xpos)) {
		return false;
	} else {
		return true;
	}
}
function moveBox() {
	var box = document.getElementById('bubble');
	var y=box.offsetTop;
	var x=box.offsetLeft;
	if (!boxFinishedMoving(box))
	{
		if (y<box.ypos)
		{
			y++;
			box.style.top = y;
		}
		if (y>box.ypos)
		{
			y--;
			box.style.top = y;
		}
		if (x<box.xpos)
		{
			x++;
			box.style.left = x;
		}
		if (x>box.xpos)
		{
			x--;
			box.style.left = x;
		}
		window.setTimeout("moveBox()", 10);
	}
}
winWidth=0;
winHeight=0;
initFrameSize();

function initFrameSize() {
	var myWidth = 0, myHeight = 0;
	if( typeof(window.innerWidth ) == 'number' ) {
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if (document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	winWidth=myWidth;
	winHeight=myHeight;
}

pos = 'right';
h_padding=10;
v_padding=10;
var pucStr;

function showBubble(e, str, area)
{
	var relTarg;
	var bubble = document.getElementById('bubble');
	if (!e) var e = window.event;
	if (e.relatedTarget) relTarg = e.relatedTarget;
	else if (e.fromElement) relTarg = e.fromElement;
	b = bubble.style;
	if (pucStr != str) {
		document.getElementById('bubble').innerHTML=str;
		pucStr = str;
	}
	var mytop = is_top_available(bubble,e);
	var mybot = is_bot_available(bubble, e);
	var myright = is_right_available(bubble,e);
	var myleft = is_left_available(bubble,e);
	if (mybot)
	{
		bubble.ypos=e.clientY+document.body.scrollTop+v_padding;
	}
	if (mytop)
	{
		bubble.ypos=e.clientY+document.body.scrollTop-bubble.clientHeight-v_padding;
	}
	if (myright)
	{
		bubble.xpos=e.clientX+document.body.scrollLeft+h_padding;
	}
	if (myleft)
	{
		bubble.xpos=(e.clientX+document.body.scrollLeft);
	}
	if (bubble.xpos + bubble.clientWidth + 20 > winWidth) bubble.xpos = winWidth - bubble.clientWidth - 20;
	b.visibility='visible';
	if (str.length > 30) b.width = 180;
	else b.width = '';
	window.setTimeout("moveBox()", 10);
}
function hideBubble(e) {
	var bubble = document.getElementById('bubble');
	b = bubble.style;
	b.visibility='hidden';
}

var timeoutId=0;
function hideIt() {
	hideBubble();
}

function cancelIt() {
	if (timeoutId!=0) {
		window.clearTimeout(timeoutId);
		timeoutId=0;
	}
}
var browser_compatible=false;
var browser_checked=false;
function is_browser_compatible() {
if ((navigator.userAgent.indexOf("Opera") != -1)) {
return false;
} else {
if (navigator.userAgent.indexOf("Gecko") != -1){
} else {
if (navigator.userAgent.indexOf("MSIE") == -1) {
return false; // unknown..
}
}
}
if (!document.getElementById )
{
return false;
}
var xmlhttp=false;
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
xmlhttp = new XMLHttpRequest();
}
if (!xmlhttp)
{
return false
}
return true;
}