function update_ranking(file,params,limit)
{
	new Ajax.Updater('content_right','text_'+file,{asynchronous: true, postBody: 'rok='+params});
	new Ajax.Updater('content_left',file,{asynchronous: true, postBody: 'rok='+params+'&limit='+limit});

	return false;
}
function update_content(file)
{
	new Ajax.Updater('content',file);
	return false;
}
var zoom = 0;
function powieksz()
{
	document.body.style.fontSize = (zoom == 0) ?  'small' : 'x-small';
	zoom = (zoom == 0) ? 1 : 0;
}

function dyplom_zoom(source)
{
	parts = source.split('/');
	parts[parts.length-1] = 'big_'+parts[parts.length-1];
	src = parts.join('/');
	//for(part in parts)
		//parts[part]
	$('ghost_img').src = src;
	$('ghost_img').alt = src;
	$('ghost').style.display = 'block';
}

function redirection()
{
	 window.open("http://www.bdi.com.pl","bdi");
	 return false;
}
