var legalWindow
var privacyWindow
var aboutWindow

// string consisting of letters, numbers & underscores only
// the first such string in thisURL is the title of the new window
var titleRegExp = /\w+/ 

function openLegal( )
{ 
	if ( legalWindow && legalWindow.closed == false )
	{ 		
		legalWindow.focus() ;
	}
	else
	{
		legalWindow = window.open( "legal.html", "Legal", "width=300,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,screenX=200" ) ; 
		legalWindow.focus() ; 
	}	
}


function openPrivacy( )
{ 
	if ( privacyWindow && privacyWindow.closed == false )
	{ 		
		privacyWindow.focus() ;
	}
	else
	{
		privacyWindow = window.open( "privacy.html", "Privacy", "width=300,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,screenX=400" ) ; 
		privacyWindow.focus() ; 
	}	
}


function openAbout( )
{ 
	if ( aboutWindow && aboutWindow.closed == false )
	{ 		
		aboutWindow.focus() ;
	}
	else
	{
		aboutWindow = window.open( "about.html", "About", "width=300,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,screenX=600" ) ; 
		aboutWindow.focus() ; 
	}	
}