function loadImage(thefilename,alt) {
	var bigimage = document.getElementById("bigImage");
	linkul=thefilename.replace(new RegExp("_medie_"), "_mare_");
	bigimage.innerHTML='<a href="javascript:;" onclick="popitup(&quot;/foto.php?poza='+linkul+'&quot;,&quot;Foto&quot;,980,700,&quot;yes&quot;)"><img src="'+thefilename+'" alt="'+alt+'" /></a>';
}