function NoSpam(account,domain) {
    document.location.href = "mailto:" + account + "@" + domain;
}

function toggleTab(mid) {
	if(mid=='topStiri') {
		document.getElementById('tBox1').style.background='url(/tpl/default/ziare-img/box_tab1_on.jpg)';
		document.getElementById('tBox2').style.background='url(/tpl/default/ziare-img/box_tab2_off.jpg)';
		document.getElementById('topStiri').style.display = '';
		document.getElementById('comm_news').style.display = 'none';
	} else {
		document.getElementById('tBox1').style.background='url(/tpl/default/ziare-img/box_tab1_off.jpg)';
		document.getElementById('tBox2').style.background='url(/tpl/default/ziare-img/box_tab2_on.jpg)';
		document.getElementById('topStiri').style.display = 'none';
		document.getElementById('comm_news').style.display = '';
	}
}

function ShowInfos(id) {
    switch(id) {
        case 'currency':
            document.getElementById('currency').style.display = '';
            document.getElementById('weather').style.display = 'none';
            document.getElementById('horoscope').style.display = 'none';
            break;
        case 'weather':
            document.getElementById('currency').style.display = 'none';
            document.getElementById('weather').style.display = '';
            document.getElementById('horoscope').style.display = 'none';
            break;
        case 'horoscope':
            document.getElementById('currency').style.display = 'none';
            document.getElementById('weather').style.display = 'none';
            document.getElementById('horoscope').style.display = '';
            break;
    }
}
function ShowHideUtils(id, status) {
    switch(status) {
        case 'on':
            document.getElementById(id).style.display = '';
            break;
        case 'off':
            document.getElementById(id).style.display = 'none';
            break;
    }
}
function ShowHideTip(id, status) {
    switch(status) {
        case 'on':
            document.getElementById(id).style.display = '';
            break;
        case 'off':
            document.getElementById(id).style.display = 'none';
            break;
    }
}
<!--
if (top.frames.length > 0)
{
top.location=self.location;
}
//--> 
