var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function vanhemmille_etusivu_DoFSCommand(command, args) {
  var vanhemmille_etusivuObj = InternetExplorer ? vanhemmille_etusivu : document.vanhemmille_etusivu;
  	if(command == "ensiaskel") {
		window.open(args, '', 'status=yes, width=770, height=535');
	}
}
// 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 vanhemmille_etusivu_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call vanhemmille_etusivu_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

