
function credits() {
	var width = 420;
	var height = 240;
	var left = screen.width / 2 - (width / 2);
	var top = screen.height / 2 - (height / 2);

	creditwindow = window.open("/gilbertarenas/index/credits", "credits", 
'toolbar=no,location=no,directories=no,menubar=no,status=yes,width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=no,scrollbars=no');

	if (window.focus)
		creditwindow.focus();
}

function mailinglist() {
	var width = 450;
	var height = 500;
	var left = screen.width / 2 - (width / 2);
	var top = screen.height / 2 - (height / 2);

	listwindow = window.open("http://prelaunch.gilbertarenas.com/signup2.html", "mailinglist", 
'toolbar=no,location=no,directories=no,menubar=no,status=yes,width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=yes,scrollbars=no');

	if (window.focus)
		listwindow.focus();
}

function storyOf0() {
	var width = 550;
	var height = 650;
	var left = screen.width / 2 - (width / 2);
	var top = screen.height / 2 - (height / 2);

	storywindow = window.open("http://www.washingtonpost.com/wp-dyn/content/article/2007/10/23/AR2007102301560_pf.html", "story", 
'toolbar=no,location=no,directories=no,menubar=no,status=yes,width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=yes,scrollbars=yes');

	if (window.focus)
		storywindow.focus();
}

function manifesto() {
	var width = 480;
	var height = 650;
	var left = screen.width / 2 - (width / 2);
	var top = screen.height / 2 - (height / 2);

	manifestowindow = window.open("/gilbertarenas/index/manifesto", "manifesto", 
'toolbar=no,location=no,directories=no,menubar=no,status=yes,width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=yes,scrollbars=yes');

	if (window.focus)
		manifestowindow.focus();
}

function showPhoto(url, w, h) {
	var left = screen.width / 2 - (w / 2);
	var top = screen.height / 2 - (h / 2);

	photowindow = window.open(url, "photo" + w + h, 
'toolbar=no,location=no,directories=no,menubar=no,status=no,width=' + w + ',height=' + h + ',top=' + top + ',left=' + left + ',resizable=no,scrollbars=no');

	if (window.focus)
		photowindow.focus();
}

