function closeBL(){
	$('box_dark').setStyle('display','none');
	$('box_light').setStyle('display','none');
	$('show').setStyle('display','none');
	$('show').erase();
	document.getElementsByTagName('html')[0].style.overflow='auto';
}

function visinaOkna(){
	var myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myHeight = document.body.clientHeight;
	}
	
	var sirina = Math.round(myHeight * 0.6);
	var visina = sirina; //Math.round(sirina * 0.75);

	$('box_light').setStyle('height', 1);
	$('box_light').setStyle('width', 1);

	$('show').setStyle('width', sirina);
	$('show').setStyle('height', visina);
	
	$('show').setStyle('margin-left', -Math.round(sirina / 2));
	$('show').setStyle('margin-top', -Math.round(visina / 2));
	
	return myHeight;
}