function poptastic(url,x,y)
{

	x2 = (650 - x)/2, y2 = (650 - y)/2;
    if (screen) {
        y2 = (screen.availHeight - y)/2;
        x2 = (screen.availWidth - x)/2;
    }
	newwindow=window.open(url,'name','height='+y+',width='+x+',screenX='+x2+',screenY='+y2+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

function toggleDisplay(ElementId)
{
 var oElement = document.getElementById(ElementId);
  if (oElement.style.display == "none")
  {
		oElement.style.display = 'block';

  }
  else
  {
    	oElement.style.display = 'none';
  }
}
