


function swf_DoFSCommand(command, args) {
args=unescape(args);

	switch (command) {
		case 'mapka1':
			popupwind('mapka1.html', 470, 460);
		break;
	}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft")!=-1 && navigator.userAgent.indexOf("Windows")!=-1) {
	document.writeln('<script language=VBScript\>');
	document.writeln('on error resume next');
	document.writeln('sub swf_FSCommand(ByVal command, ByVal args)');
	document.writeln('call swf_DoFSCommand(command, args)');
	document.writeln('end sub');
	document.write('</script\> \n');
}


function popupwind(URL, width, height) {
	var x=(screen.width-width)/2;
	var y=(screen.height-height)/2;
	day = new Date();
	//id = day.getTime();
	id = 0;
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+width+",height="+height+",left="+x+",top="+y+"');");
}

