function prevedi_email(email){
	email = str_replace(email, '{dot}','.');
	email = str_replace(email, '{at}','@');
	document.write('<'+'a href="mailto:'+email+'">'+email+'</a>');
}
function slika_email(email){
	email = str_replace(email, '{dot}','.');
	email = str_replace(email, '{at}','@');
	document.write('<'+'a href="mailto:'+email+'" class="lemail"><img src="images/email.gif" alt="email" title="'+email+'" /></a>');
}
function str_replace(string, search, replace){
	while(true){
		pos = string.indexOf(search);
		if(pos == -1) break;
		string = string.substr(0, pos) + replace 
			+ string.substr(pos+search.length);
	}
	return string;
}
