/* validate form */
function valField(id)
{
	
	if(document.getElementById(id).value == "")
	{
		document.getElementById(id).value = 'Not filled';
		document.getElementById(id).style.color = '#FF0000';
	}
	
	
}


function focusField(id)
{
		document.getElementById(id).focus();
}



/* navigate to... */
function goTo(url)
{
	location = url;
}


/* history page */
function naviback()
{
	history.back();
}

/* Image Counter for browsing true the album */
var teller = 0;
function nxtImages()
{
	document.getElementById('dvNaviBlok').style.visibility = "visible";
	var howMany = document.images.length;
	var defHowMany = howMany -1;
	var imgAdres = new Array();
	if(teller ++ >= defHowMany)
	{
		teller = 1;
	}
	document.getElementById('tstImg').src = document.images[teller].src;
	document.getElementById('myP').innerHTML = teller;
}

