var showedDot = true;
function time() {
	vr = new Date();
	zeroMin = '';
	zeroHor = '';
	if (vr.getMinutes() < 10) zeroMin = '0';
	if (vr.getHours() < 10) zeroHor = '0';
	document.getElementById('timeShow').innerHTML =  zeroHor + vr.getHours() + (showedDot===true?':':' ') + zeroMin + vr.getMinutes();
	showedDot = !showedDot;
//	alert(document.getElementById('timeShow').innerHTML
	setTimeout("time()",500)
}


function overSlider(img) {
	document.getElementById('slider' + img).style.position = 'relative';
	document.getElementById('slider' + img).style.border = 'solid 3px #F79239';
	document.getElementById('slider' + img).style.margin = '-3px -3px -3px -3px';
	document.getElementById('img-' + img).style.display = 'none';
	document.getElementById('img-a-' + img).style.display = 'block';
}

function outSlider(img) {
	document.getElementById('slider' + img).style.position = '';
	document.getElementById('slider' + img).style.border = 'none';
	document.getElementById('slider' + img).style.margin = '0';
	document.getElementById('img-' + img).style.display = 'block';
	document.getElementById('img-a-' + img).style.display = 'none';
}

function overBiblio(id) {
	document.getElementById('biblio' + id).style.background = '#F1F1F1';
}

function outBiblio(id) {
	document.getElementById('biblio' + id).style.background = '#FFFFFF';
}

function overDir(id) {
	document.getElementById(id).style.background = '#FFFFFF';
}

function outDir(id) {
	document.getElementById(id).style.background = '#EFEFEF';
}
