<!--// Hide our script from older browsers
// ofx-base.js - Copyright (c) 2002 Optical Fx. All Rights Reserved
//
// Written by Jonathan Burney (jon@opticalfx.co.uk)  
//  

function start_virtual_tour(cottage_id, interface_type, img_num)
{
	// define the variables we'll use
	var tour_win_url, tour_win_width, tour_win_height, tour_win_attribs, tour_win_handle
	
	tour_win_url = "http://www.internet-cottages.com";
	tour_win_url += "/vtours/internet-cottages/ofxbase.php";
	
	tour_win_url += "?cottage_id=" + cottage_id + "&img_num=" + img_num + "&interface_type=" + interface_type;

	// the window width & height
	tour_win_width = 545;
	tour_win_height = 415;
	
	// the attributes of the new child window, stuff like control of menus, toolbars etc...
	tour_win_attribs = "width=" + tour_win_width + ",height=" + tour_win_height + ",toolbar=0,menubar=0,scrollbars=0" + 
					",resizable=0,location=0,directories=0,status=0"
	
	// open the new window and store the window handle, then set the focus on the new child window
	tour_win_handle = window.open(tour_win_url,0,tour_win_attribs);
	tour_win_handle.focus();
}

// end script hiding -->	