//var Tooltip = {
//div : document.createElement("DIV"),
//x:0,
//y:0,
//alt: '', 
//
//	setup: function (content, container) {
//alert(content)
//		document.body.appendChild(this.div);
//		container.onmouseover = function () { Tooltip.show(window.event, container); }
//		container.onmouseout  = function () { Tooltip.hide(container); }
//		this.div.style.position = 'absolute';
//	},
//
//	show: function (e, img) {
//		
//		if(e) this.getXY(e);
//		this.alt = img.alt;
//		if(this.alt == '') return false;
//		img.alt = '';
//		this.div.innerHTML = this.alt;
//		this.div.style.top = this.y;
//		this.div.style.left = this.x + 15;
//		this.div.style.display = 'block';
//		
//		
//	},
//	
//	hide: function (img) {
//		this.div.style.display = 'none';
//		img.alt = this.alt;
//	},
//	
//
//	getXY: function(e) {
//			
//		oCanvas = document.getElementsByTagName(
//			(document.compatMode && document.compatMode == "CSS1Compat") ? "HTML" : "BODY"
//			)[0];
//
//			this.x = window.event ? event.clientX + oCanvas.scrollLeft : e.pageX;
//			this.y = window.event ? event.clientY + oCanvas.scrollTop : e.pageY;
//		 
//	}
//	
//	
//}
//	
//window.onload = function() {
//	var imgs = document.getElementsByTagName("DIV");
//	for(var i=0; i < imgs.length; i++ ) {
//			
//		a = new RegExp("exsite[0-9]", "i");
//		str = imgs[i].id;
//		res = str.match(a);
//		if( res ) {
//			Tooltip.setup( document.getElementById(str + '_hid').innerText , document.getElementById(imgs[i].id));
//		}
//	}
//}



function getNewsDiv(obj) {
	

	
	document.body.appendChild(document.getElementById(obj));
	
	oCanvas = document.getElementsByTagName(
			(document.compatMode && document.compatMode == "CSS1Compat") ? "HTML" : "BODY"
			)[0];
	
		x = window.event ? event.clientX + oCanvas.scrollLeft : e.pageX;
		y = window.event ? event.clientY + oCanvas.scrollTop : e.pageY;
	
document.getElementById(obj).style.display = 'block';
document.getElementById(obj).style.position = 'absolute';
document.getElementById(obj).style.top = y + 5;
document.getElementById(obj).style.left = x + 8;
document.getElementById(obj).width = '150px';
}

function hide(obj) {
document.body.appendChild(document.getElementById(obj)).style.display = 'none';
}

