// Copyright 2004 Hotel Roanoke

leftPos = 0

if (screen) {
	leftPos = screen.width-700
}

// Photo Tour
function newTour(tour) {
	infoWindow = window.open(tour, 'tourWin', 'toolbar=0,location=0,directories=0,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=550,height=430,left='+leftPos+',top=0')
	infoWindow.focus()
}

function newMap(map) {
	infoWindow = window.open(map, 'mapWin', 'toolbar=0,location=0,directories=0,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=550,height=550,left='+leftPos+',top=0')
	infoWindow.focus()
}

function newWindow(cookies) {
	infoWindow = window.open(cookies, 'cookieWin', 'toolbar=0,location=0,directories=0,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=550,height=330,left='+leftPos+',top=0')
	infoWindow.focus()
}

function newPhoto(enlargemt) {
	infoWindow = window.open(enlargemt, 'enlrgWin', 'toolbar=0,location=0,directories=0,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600,left='+leftPos+',top=0')
	infoWindow.focus()
}

function openpopup()
{

	self.name = "main";
	
 	//var popurl="/promos/05_valentines.html"

	//zWinWide=296;
	//zWinHigh=564;

	//var popurl="/promos/rom_reg2.html"

	//zWinWide=316;
	//zWinHigh=440;
	
	var popurl="/promos/christmas.html"

	zWinWide=316;
	zWinHigh=435;

	zAttrib='resizable=yes,scrollbars=no';

	zScrWide=screen.width;
	zScrHigh=screen.height;

	zLeftPos=(zScrWide/2)-(zWinWide/2);
	zTopPos=(zScrHigh/2)-(zWinHigh/2);

	winpops=window.open(popurl, '', 'width=' + zWinWide + ',height=' + zWinHigh + ',left=' + zLeftPos + ',top=' + zTopPos + ','+zAttrib);
}