/*function sw_menu(id1,id2)
{
	pokaz = document.getElementById('form_'+id1+'_container');
	ukryj = document.getElementById('form_'+id2+'_container');
	pokaz.className = "display_ok";
	ukryj.className = "display_not";
	//alert(pokaz);
	aktywny = document.getElementById('bt_'+id1);
	nieaktywny = document.getElementById('bt_'+id2);
	aktywny.className = "bt_"+id1+"_active";
	nieaktywny.className = "bt_"+id2+"_unactive";
}*/


function showMenuCont() 
{
	menucont = document.getElementById ? document.getElementById('menuCont') : document.all.menuCont;
	menucont.style.visibility = 'visible';
	
	clientWidth = document.body.clientWidth;
	floatPosition = ((clientWidth - 780) / 2) + 562 + 'px';
		
	if (clientWidth < 780) 
	{
		menucont.style.left = 562 + 'px';
	} 
	else 
	{
		menucont.style.left = floatPosition;
	}		
}
	
function hideMenuCont()
{
	menucont = document.getElementById ? document.getElementById('menuCont') : document.all.menuCont;
	menucont.style.visibility = 'hidden';
}	

function showClouds(id)
{
	info = document.getElementById("info"+id);
	info.style.display = "block";

	if(info.style.display == "block")
		setTimeout("info.style.display = 'none'", 3000);

}

function showAdvert(getParam, tree)
{
	var down = Array();
	
	for(var i=1; i<=tree; i++)
		down += '../';  
	
	flash = ''+
		'<object type="application/x-shockwave-flash" data="./'+down+'_swf/advert.swf" width="495" height="150">'+
		'<param name="movie" value="./'+down+'_swf/advert.swf" />'+
		'<param name="bgcolor" value="#ffffff" />'+
		'<param name="flashvars" value="page='+getParam+'" />'+
		'<param name="menu" value="false" />'+
		'<param name="loop" value="false" />'+
		'<param name="scale" value="noscale" />'+
		'</object>'+
		'';
	
	document.write(flash);
}



