var mousepos = new Array();

function chg(obj, img)
{
	obj.src=img;

}

function idShow(id){
    document.getElementById(id).style.visibility='visible';

}

function idHide(id){
    document.getElementById(id).style.visibility='hidden';
}

function showBubble(x,y,title,obj)
{
// dynamic tooltips; simply name one object 'bubble' and call this function with mouseover
if( document.all || ! document.getElementById('bubble').firstChild ){
    // msie < 5.5 doesn't know the Node object
    // msie 6.0 gives wrong mouse coordinates (positioned element seems to be interpreted as window when calling window.event :-()
    obj.title = title;
    return true;
}
	div_y = y - 125
	div_x = x - 360 ;

	document.getElementById('bubble').style.top  = div_y + 'px';
	document.getElementById('bubble').style.left = div_x + 'px';
	
	document.getElementById('bubble').firstChild.nodeValue = title;
	document.getElementById('bubble').style.visibility='visible';
//alert(document.getElementById('bubble').style.top +','+ document.getElementById('bubble').style.left);
}

function hideBubble()
{
	document.getElementById('bubble').style.visibility='hidden';
}

function printing_view()
{

	target        = location.href.replace(/#.*$/g, "");
	location.href = target + "/print";

//	alert(location.href);
}