var cislo=0;
var konec=1;
var flashe=["lahve.swf"];
function flashEmbed (flashPath, width, height) {
	var embedVar;
	embedVar = '<!--[if !IE]> --><object type="application/x-shockwave-flash" data="/'+flashPath+'" width="'+width+'" height="'+height+'" wmode="transparent"><!-- <![endif]--><!--[if IE]><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+'" wmode="transparent"><param name="movie" value="/'+flashPath+'" /><!--><!--dgx--><param name="loop" value="true" /><param name="menu" value="false" /><param name="wmode" value="transparent" /></object><!-- <![endif]-->';
	document.getElementById('banner').innerHTML=embedVar;
}
function zmenit() {
	flashEmbed("flash/"+flashe[cislo], "160", "600");
	if(konec>0) cislo=cislo+1;
	if(cislo==konec) cislo=0;
}

