
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function menuflash_DoFSCommand(command, args) {
 var menuflashObj = InternetExplorer ? menuflash : document.menuflash;
  //
  // Place your code here...
  //
 if (command=="devolvervalor") {	
	//alert("entra por fscommand");
	devolvervalor();
 }
}
// 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 menuflash_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call menuflash_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
