<!--

/* MENU */

function pic_window(picfile, title, popis, picwidth, picheight){
	picheight += 100;
	window.open('pic_window.php?pic='+picfile+'&title='+title+'&popis='+popis+'', 'picwindow', 'width='+picwidth+',height='+picheight+'');
}

function pic_window2(picfile, title, picwidth, picheight){
	window.open('pic_window2.php?pic='+picfile+'&title='+title+'', 'picwindow', 'width='+picwidth+',height='+picheight+'');
}

function pic_window3(picfile, picwidth, picheight){
	window.open('pic_window.php?pic='+picfile, 'picwindow', 'width='+picwidth+',height='+picheight+'');
}


/* funkce, ktera jednak vypise mail pres JS, cimz blokne boty a jednak pouzije entity, cimz je to jeste lepsi :) */
function js_protect_email(var1,var2,var3,var4)
{	
	var zavinac = "&#64";
	var mailto = "mai&#108;&#116;&#111;&#58;";
	var e_mail = var1+zavinac+var2;	
	var title = "title='"+e_mail+"'";
	if (var4 == null)
	{
		var4 = e_mail;
	}
	
	document.write("<a href='"+mailto+e_mail+var3+"'"+title+">"+var4+"</a>");
}							







//-->