
x = (screen.width / 2);
y = (screen.height / 2) - 300;

// width - 50
// y - 600

function setVisible(obj) {
         var obj=document.getElementById(obj);
         if (obj.style.display == "block") obj.style.display = "none";
         else obj.style.display = "block";
}


function setVisibleNEW(obj, which)
{
	//alert("ac VIS debug -- " + obj);
	if (!which) {
	var obj=document.getElementById(obj);
    obj.style.display = "none";
	}
	if (which) {
	var obj=document.getElementById(obj);
    obj.style.display = "block";
	}
}

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('popuplayer')",500);
}


function popUpWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function andy() {
	alert("ahoy from the include!!!");
}

function fboxloading() {
	document.getElementById('facebox').innerHTML = '';
}

//window.onscroll = setTimeout("placeIt('popuplayer')",500);


