//startFlash
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
//clip name should match the 'IDhere'_DoFSCommand
var id
function root_DoFSCommand(command, args) {
	if (command == "externalLink") {
		if(args == "videos.asp") {
			leftPos = 0
			topPos = 0
			if (screen){
				leftPos = (screen.width / 2) - 240
				topPos = (screen.height / 2) - 235
			}
			VidWin=window.open('videos.asp', 'VidWin', 'height=570, width=480, top='+topPos+', left='+leftPos+', status=no');
			if (window.focus) {
				VidWin.focus();
			}
		} else {
			window.open(args);
		}
	}
	//
	if (command == "email") {
		document.location='mailto:'+args;
	}
	//
	if (command == "homeLink") {
		document.location='http://www.residencesvictoria.com';
	}
	//
}
// Hook for Internet Explorer for menu 
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 root_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call root_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
//
//endofFlash