function centreDisplay( theURL, winName, width, height ){
	var window_width = width;
	var window_height = height;

	var window_top = ( screen.height - window_height) / 2 ;
	var window_left = ( screen.width - window_width ) / 2 ;
	 
	var newWindow = window.open( 
		theURL, winName, 'width=' + window_width + ',height=' + window_height + 
	 	',top=' + window_top + ',left=' + window_left + ",scrollbars,resize'");
	newWindow.creator = self;
	newWindow.focus();
}

function doProductLarge() {
	centreDisplay( "/shop/product-large.aspx", "product", 560, 520 );
}

function doPlans() {
	centreDisplay( "/boat-hire/saloon-plans.aspx", "plans", 760, 425 );
}

function doMap() {
	centreDisplay( "/contact/map.aspx", "map", 760, 425);
}

function doMapSalford() {
	centreDisplay( "/manchester-scc/map.aspx", "map", 760, 550 );
}

function doCruiseRoute() {
	centreDisplay("/river-explorer/cruise-route.aspx", "cruise", 760, 550 );
}

function doPrivacy() {
	centreDisplay("/contact/privacy-policy.aspx", "privacy", 560, 520 );
}

function doImportant() {
	centreDisplay("/info.aspx", "information", 560, 520 );
}

function doTerms() {
	centreDisplay("/contact/terms-conditions.aspx", "terms", 560, 520 );
}

function doApplyTerms() {
	centreDisplay("/contact/annualpass_terms-conditions.htm", "terms", 560, 520 );
}

function doWebcam() {
	centreDisplay("/contact/webcam.aspx", "webcam", 560, 520 );
}