<!--
function show(el)
{
	if(document.getElementById("info").style.display=="none")
		{
			el.innerHTML=" - info";
			document.getElementById("info").style.display="";
		}
	else
		{
			el.innerHTML="+ info";
			document.getElementById("info").style.display="none";
		}	
}

var m	= 124;
function l()
{
	var a = parseInt(document.getElementById("bot").style.left);
	if(st <= a)
		document.getElementById("bot").style.left = a - m;
}
function r()
{
	var a = parseInt(document.getElementById("bot").style.left);
	if(a < 0)
		document.getElementById("bot").style.left = a + m;
}

function printflash(src, w, h)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'" VIEWASTEXT>');
document.write('<param name="movie" value="'+src+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="wmode" value="opaque">');
document.write('<embed src="'+src+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="opaque">');
document.write('</object>');	
}

function validMail(strEmail) //if valid mail - return true
{
	var r, re;
	var email = new String(strEmail);
	re = /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/ig;
	if(email.search(re)==0) 
		return true;
	else
		return false;	
}

function check(el)
{
	if(el.value!="")
		document.getElementById("errmes").innerHTML="";
}

function validform()
{
	if(document.contact.name.value=="")
	{
	//alert("Insert name");
	document.getElementById("errmes").innerHTML="Insert name";
	document.contact.name.focus();
	return false;
	}
	if(!validMail(document.contact.email.value))
	{
	//alert("Insert email address");
	document.getElementById("errmes").innerHTML="Insert email address";
	document.contact.email.focus();
	return false;
	}	
	if(document.contact.note.value=="")
	{
	//alert("Insert text");
	document.getElementById("errmes").innerHTML="Insert text";
	document.contact.note.focus();
	return false;
	}
	document.contact.submit();
	return true;
}
//-->
