$(function(){
	$('span.email').each(function(){
		obj = $(this);
		code = obj.attr('email');
		text = obj.html();
		text = text.replace('[at]', '@');
		text = text.replace('[punt]', '.');
		emailadres='<a href="mailto:'+unescape(code)+'">'+text+"<a/>";
		obj.html(emailadres);
	});
});

function isset(  ) {
    var a=arguments; var l=a.length; var i=0;
    
    if (l==0) { 
        throw new Error('Empty isset'); 
    }
    
    while (i!=l) {
        if (typeof(a[i])=='undefined' || a[i]===null) { 
            return false; 
        } else { 
            i++; 
        }
    }
    return true;
}
