function load_con(blockid,params,upcir){
	if (params=='undefined') params='';
	var theblock = blockid + "C";
	if (upcir!=1){updDiv(theblock,999);}
	blockid = blockid.replace("section_","");
	new Ajax.Updater(theblock,'../sections/home/settings/zp.php', {
		method: 'get',
		asynchronous: true,
		evalScripts: true,
		parameters: "id=" + blockid + "&" + params
	});		
}

function showImg(imgurl,imgcaption){
	Lightview.show({href: imgurl, title: imgcaption, rel: 'image'});	
}
function lvFull(theurl){
	Lightview.show({href: theurl,rel: 'iframe',options: {topclose: true,fullscreen: true}}); 
}

function bla(id,sect,gid){
	new Ajax.Request('../sections/home/add_port.php', {
		  method: 'get',
		  parameters: 'f=2&id='+id+'&sect='+sect+'&g='+gid
	});
}
