	var timerId = null
	var obj = new Array()

	
	function showAlt(){
		alttext = obj[0]
		x = obj[1]
		y = obj[2]
		altd = document.getElementById('blankDiv')
		altd.innerHTML = "<table cellpadding=2 cellspacing=0 style='background-color: #ECF3FC; border: solid #0957A2 1px; font-family: tahoma;" + (alttext.length > 30 ? "width: 220px;" : "") +"'><tr><td style='color: #545454; font-size: 11px;'>" + alttext + "</td></tr></table>"
		altd.style.left = x + 'px' /* Math.min(x + 10,document.body.clientWidth-221) */
		altd.style.top = y + 'px'
		altd.style.display = 'inline'		
	}

	function hideAlt(){
		obj = new Array()
		clearTimeout(timerId)
		altd = document.getElementById('blankDiv')
		altd.innerHTML = ""
		altd.style.left = -100
		altd.style.top = -100
		altd.style.display = 'none'
	}

	function prepareShowAlt(e){
		idd = this.id
		if (idd.search("title_") == 0){
			idd = idd.substring(6)
			if ((typeof titles != "undefined") && (typeof titles[idd] != "undefined") && titles[idd].length > 0){
				text = titles[idd]
			}else{
				return;
			}
		}else{
			return
		}

		x = 0;
		y = 0;
		oX = 0;
		
		var posx = 0;
		var posy = 0;
		if (!e) var e = window.event;
		if (e.pageX || e.pageY) 	{
			posx = e.pageX;
			posy = e.pageY;
		}
		else if (e.clientX || e.clientY) 	{
			posx = e.clientX + document.body.scrollLeft
				+ document.documentElement.scrollLeft;
			posy = e.clientY + document.body.scrollTop
				+ document.documentElement.scrollTop;
		}
		// posx and posy contain the mouse position relative to the document
		// Do something with this information

		
		x = posx+10
		y = posy+10

		obj = new Array()
		obj[0] = text
		obj[1] = x
		obj[2] = y

		timerId = window.setTimeout(showAlt, 500);		
	}


	function initAltDecor(){
		arr = document.getElementsByName('linkalt')
		titles = new Array()
		xs = new Array()
		ys = new Array()
		for (i=0; i<arr.length; i++){
			itemm = arr.item(i)
			itemm.onmouseover = prepareShowAlt
			itemm.onmouseout = hideAlt
			itemm.id = "title_" + i
			titles[i] = itemm.title
			xs[i] = (typeof itemm.xs == 'undefined' ? 0 : itemm.xs)
			ys[i] = (typeof itemm.ys == 'undefined' ? 0 : itemm.ys)
			itemm.title = ""
		}
	}
