leftPos = 0
if (screen) {
	leftPos = (screen.width/2)-300
}
topPos = 0
if (screen) {
	topPos = (screen.height/2)-230
}

function open1(){
newWindow = window.open('./escapepodHTML/home.html', 'Escape Pod Stories', 'width=576,height=426,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,left='+leftPos+',top='+topPos+'')
newWindow.focus()

}

function GuestbookWindow(mypage, myname, scroll) {
var winl = (screen.width - 508) / 2;
var h = screen.height * 0.8;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width=508,top='+wint+',left='+winl+',scrollbars='+scroll+',noresize';
win = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize';
win = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

