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

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

//disable right click
/*
var message="Right clicking disabled - copyright Southern Destinations";
function clickIE4() {
	if (event.button==2) {
		return;
		alert(message);
		return false;
	}
}

function clickNS4(e) {
	if (document.layers||document.getElementById&&!document.all) {
		if (e.which==2||e.which==3) {
			alert(message);
			return false;
		}
	}
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS4;
} else if (document.all&&!document.getElementById) {
	document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")
*/
//end disable right click
