    window.onresize = onResizePlus;

	function onResizePlus(){    //plusz fuggveny onresize esetere
		positionSubMenu(); 		//ez az outfit.js fuggvenye a felsomenu ujrapozicionalasahoz
	    //iframe repoz
	    hmtxtbepoz();
	}
	
	function hmtxtbepoz(){
		ChangeLayerXPos('pa_text', getAbsX(hmalapbox)+155 );
		ChangeLayerYPos('pa_text', getAbsY(hmalapbox)+0 );
	}
	
	function swfInsertDekor(width, height, id, params)
	{
//		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'" id="'+id+'" ALIGN="">\n');

		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'" id="'+id+'" ALIGN="">\n');
		document.write('<PARAM NAME=movie VALUE="'+params+'">\n');
		document.write('<PARAM NAME=quality VALUE=high>\n');

		//document.write('<PARAM NAME=bgcolor VALUE=#ffffff>\n'); //
		document.write('<PARAM NAME=wmode VALUE=opaque>\n'); //
		
		document.write('<EMBED src="'+params+'"');
		document.write(' quality=high');
		
		//document.write(' bgcolor=#ffffff'); //
		
		document.write(' WIDTH="'+width+'"');
		document.write(' HEIGHT="'+height+'"');
		document.write(' NAME="'+id+'"');
		document.write(' ALIGN=""');
		document.write(' swLiveConnect="true"');
		
		document.write(' wmode=opaque'); //
		
		document.write(' TYPE="application/x-shockwave-flash"');
		document.write(' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">\n');
		document.write('</EMBED>\n');
		document.write('</OBJECT>');
	} 
