function getFlash( id ){

	return window.document[ id ];

}

function doTransformation(){

	var flo = getFlash('map');
	
	flo.SetVariable('_root.doTransformation', 'true');
	
}

function showPlace( id ){

	var flo = getFlash( 'map' );
	
	flo.SetVariable( '_root.setMenu', id );
	
}

function hidePlaces(){
	
	var flo = getFlash( 'map' );
	
	flo.SetVariable( '_root.hidePlaces', 'true' );
	
}

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

function map_DoFSCommand ( command, args ) {
	
	switch ( command ) {
		
		case 'jsexecute': eval(args);
		
	} // switch
	
} // map_DoFSCommand()

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 map_FSCommand(ByVal command, ByVal args)\n');
	document.write(' call map_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
} // if
