function setVisible(obj)
{
obj = document.getElementById(obj);
obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}

function AX_popUp(width,height){
	var ie = document.all;
	var dom = document.getElementById;
	crossobj=(dom)?document.getElementById('message').style : ie? document.all.message : document.message
	crossobj.visibility=(dom||ie)? "visible" : "show"
	crossobj.left = (screen.width-width)/2;
	crossobj.top = height;
}

function AX_closePopUp(){
	crossobj.visibility = 'hidden';
	return false;
}

//	function placeIt(obj)
//	{
//	obj = document.getElementById(obj);
//	if (document.documentElement)
//	{
//	theLeft = document.documentElement.scrollLeft;
//	theTop = document.documentElement.scrollTop;
//	}
//	else if (document.body)
//	{
//	theLeft = document.body.scrollLeft;
//	theTop = document.body.scrollTop;
//	}
//	theLeft += x;
//	theTop += y;
//	obj.style.left = theLeft + 'px' ;
//	obj.style.top = theTop + 'px' ;
//	setTimeout("placeIt('popUp')",500);
//}
//window.onscroll = setTimeout("placeIt('popUp')",500);

