function popSplash(URL) {
	var oneWin = window.open(URL, "_one", "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1000,height=675,left = 340,top = 187.5");
	oneWin.focus()
	oneWin.moveTo(screen.availWidth/2-500,screen.availHeight/2-343)

}

function maximize(isTemp) 
{
	detectFlash()	
	window.moveTo(0,0);
	var w = screen.availWidth;
	var h = screen.availHeight;
	window.resizeTo(w, h);
	

}

function openFAQ()
{

	var FAQwin = window.open("faq.pdf")
	FAQwin.focus();
}

function openMap()
{

	var FAQwin = window.open("data/pdf/RP_Map_finalLITE.pdf")
	FAQwin.focus();
}

function openRequest()
{
	
	var width = 500;
	var height = 650;
	var x = (screen.availWidth-width)/2;
	var y = (screen.availHeight-height)/2;
	var RequestWin = window.open("register.aspx","request","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,copyhistory=0,width=" + width + ",height=" + height + ",top="+y+",left="+x);
	RequestWin.focus();
}

function sendToFriend()
{
	
	var width = 500;
	var height = 500;
	var x = (screen.availWidth-width)/2;
	var y = (screen.availHeight-height)/2;
	var FriendWin = window.open("pop_tell.html","friend","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=" + width + ",height=" + height + ",top="+y+",left="+x);
	FriendWin.focus();
	
}

function bindFlash()
{

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1000" height="675" id="one" align="middle">')
document.write('<param name="allowScriptAccess" value="sameDomain" />')
document.write('<param name="movie" value="one.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="one.swf" quality="high" bgcolor="#ffffff" width="1000" height="675" name="one" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
document.write('</object>')

}
