function CreateFlash(file, width, height)
{
    document.write('<object id="flash0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">\n');
    document.write('<param name="movie" value="' + file + '">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="' + file + '" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>\n');
    document.write('</object>\n');
    //if ((navigator.appName.indexOf("Microsoft") != -1) || (navigator.appName.indexOf("Opera") != -1))
        //document.getElementById('flash0').outerHTML = document.getElementById('flash0').outerHTML;
}
function CreateFlash2(file, width, height)
{
    document.write('<object id="flash0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">\n');
    document.write('<param name="movie" value="' + file + '">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="' + file + '" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>\n');
}
function CreateFlashHeader(file)
{
    document.write('<object id="flash0" codeBase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="47" width="610" align="top" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">\n');
	    document.write('<PARAM NAME="_cx" VALUE="16140">\n');
	    document.write('<PARAM NAME="_cy" VALUE="1244">\n');
	    document.write('<PARAM NAME="FlashVars" VALUE="">\n');
	    document.write('<PARAM NAME="Movie" VALUE="' + file + '">\n');
	    document.write('<PARAM NAME="Src" VALUE="' + file + '">\n');
	    document.write('<PARAM NAME="WMode" VALUE="Window">\n');
	    document.write('<PARAM NAME="Play" VALUE="0">\n');
	    document.write('<PARAM NAME="Loop" VALUE="-1">\n');
	    document.write('<PARAM NAME="Quality" VALUE="High">\n');
	    document.write('<PARAM NAME="SAlign" VALUE="T">\n');
	    document.write('<PARAM NAME="Menu" VALUE="-1">\n');
	    document.write('<PARAM NAME="Base" VALUE="">\n');
	    document.write('<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">\n');
	    document.write('<PARAM NAME="Scale" VALUE="ShowAll">\n');
	    document.write('<PARAM NAME="DeviceFont" VALUE="0">\n');
	    document.write('<PARAM NAME="EmbedMovie" VALUE="0">\n');
	    document.write('<PARAM NAME="BGColor" VALUE="FFFFFF">\n');
	    document.write('<PARAM NAME="SWRemote" VALUE="">\n');
	    document.write('<PARAM NAME="MovieData" VALUE="">\n');
	    document.write('<PARAM NAME="SeamlessTabbing" VALUE="1">\n');
	    document.write('<EMBED src="' + file + '" quality="high" salign="t" bgcolor="#ffffff" width="610" height="47" name="top7270" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer">\n');
		    document.write('<NOEMBED>\n');
			    document.write('<IMG src="flash/topmenu2.jpg" width="610" height="47" border="0" usemap="#topmenu">\n');
			    document.write('<MAP name="topmenu">\n');
				    document.write('<AREA shape="rect" coords="6,5,103,40" href="rolunk.html">\n');
				    document.write('<AREA shape="rect" coords="108,5,202,40" href="termekek.html">\n');
				    document.write('<AREA shape="rect" coords="210,5,303,40" href="ugyfelsz.html">\n');
				    document.write('<AREA shape="rect" coords="310,5,405,40" href="./webtarif/web-tarifalo.htm">\n');
				    document.write('<AREA shape="rect" coords="414,5,502,40" href="kapcs.html">\n');
				    document.write('<AREA shape="rect" coords="515,5,605,40" href="partner.html">\n');
			    document.write('</MAP>\n');
		    document.write('</NOEMBED>\n');
	    document.write('</EMBED>\n');
    document.write('</object>\n');
}
