<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function thetour_DoFSCommand(command, args) {
  var thetourObj = InternetExplorer ? thetour : document.thetour;
	if (command == "openwindow") {
			DispWin = window.open('','NewWin','toolbar=no,status=no,width=380,height=500')
			message = "<html><head><title>Choose a Room</title>";
			message += "<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>";
			message += "</head><frameset rows=*,36% framespacing=0 frameborder=NO border=0>";
	//the previous part is the same for all rooms.
		if (args == "bedroom") {
		//each 'if' statement inserts different links in the frames according to the arguments supplied by the flash house map
			message += " <frame src=bedroom1.htm name=mainFrame scrolling=no>";
			message += " <frame src=bottom%20frame1.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "bathroom") {
			message += " <frame src=bathroom1.htm name=mainFrame scrolling=no>";
			message += " <frame src=bottom%20frame.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "dining") {
			message += " <frame src=diningroom1.htm name=mainFrame scrolling=no>";
			message += " <frame src=diningbottom.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "study") {
			message += " <frame src=study1.htm name=mainFrame scrolling=no>";
			message += " <frame src=studybottom.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "porch") {
			message += " <frame src=porch1.htm name=mainFrame scrolling=no>";
			message += " <frame src=porchbottom.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "great") {
			message += " <frame src=greatroom1.htm name=mainFrame scrolling=no>";
			message += " <frame src=greatbottom.htm name=bottomFrame scrollbars=yes noresize>";
		}
		if (args == "kitchen") {
			message += " <frame src=kitchen1.htm name=mainFrame scrolling=no>";
			message += " <frame src=kitchenbottom.htm name=bottomFrame scrollbars=yes noresize>";
		}
	message += "</frameset><noframes><body></body></noframes></html>";
	DispWin.document.write(message);
	}
}
// Hook for Internet Explorer 
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub thetour_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call thetour_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
//-->