function forms1() 
{
	var n = document.getElementById("form1");
	if (n.style.display == "block") 
		{
			n.style.display='none';
		} 
		else 
		{
			n.style.display='block';
		}	
}

function reload_code(value)
{
    var rndval = new Date().getTime(); 
    document.getElementById('reload_id').src='/3_int/kcaptcha/index.php?'+value+'='+rndval;
}

function letters() 
{
	var n = document.getElementById("let");
	if (n.style.display == "block") 
		{
			n.style.display='none';
		} 
		else 
		{
			n.style.display='block';
		}	
}

function but1_menu(value, png)
{
	var rndval = new Date().getTime();
	var png_path = ''; 
	if (png == 8)
	{
		png_path = 'png8/';
	}	
	document.getElementById('foto1menu'+value).src='/4_grafics/' + png_path + 'but2.png?';//+rndval;
	//document.getElementById('foto1menu'+value).src='/4_grafics/but2_left.png?';//+rndval;
	//document.getElementById('foto2menu'+value).src='/4_grafics/but2_center.png?';//+rndval;
	//document.getElementById('foto3menu'+value).src='/4_grafics/but2_right.png?';//+rndval;
	$('.shadow_menu'+value).css("color", "white");
}
function but2_menu(value, png)
{
	var rndval = new Date().getTime();
	var png_path = '';
	if (png == 8)
	{
		png_path = 'png8/';
	}
	document.getElementById('foto1menu'+value).src='/4_grafics/' + png_path + 'but1.png?';//+rndval;
	//document.getElementById('foto1menu'+value).src='/4_grafics/but1_left.png?';//+rndval;
	//document.getElementById('foto2menu'+value).src='/4_grafics/but1_center.png?';//+rndval;
	//document.getElementById('foto3menu'+value).src='/4_grafics/but1_right.png?';//+rndval;
	$('.shadow_menu'+value).css("color", "#ffdf4e");
}

function buy() 
{
	var n = document.getElementById("order_foto");
	if (n.style.display == "block") 
		{
			n.style.display='none';
		} 
		else 
		{
			n.style.display='block';
		}	
}


/* added 10-06-09 START*/

function lighting_on()
{
	$('#anons_p').css("visibility","visible");
	window.setTimeout(function() {lighting_off()}, 2000);	
	//window.setTimeout(function() {lighting_on_temp()}, 150);
	
}
function lighting_off()
{
	$('#anons_p').css("visibility","hidden");
}
function lighting_on_temp()
{
	$('#anons_p').css("zvisibility","visible");
}
window.setInterval(function() {lighting_on()}, 3000);

/* added 10-06-09 END*/
