function diIt(el)
{
	if(document.getElementById(el+'_abstract'))
		document.getElementById(el+'_abstract').style.display='none';
	if(document.getElementById(el+'_description'))
		document.getElementById(el+'_description').style.display='block';
}

function PopUp(url,name,width,height)
{
	var WindowX = Math.ceil((window.screen.width  - width)/2);
	var WindowY = Math.ceil((window.screen.height - height)/2);
	var extra="toolbar=0,status=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1,width="+width+",height="+height+",left="+WindowX+",top="+WindowY;
	var w=window.open(url,name,extra);
	w.focus();
	return w;
}

function viewPrivacy()
{
	PopUp('/privacy.php','Privacy',500,400);
}

function viewTerms()
{
	PopUp('/terms.php','Terms',500,400);
}

