// **************************************************************************************************************************

// Futuroom.cz - Clear input value after onclick

// --------------------------------------------------------------------------------------------------------------------------
// **************************************************************************************************************************

function clearValue(action,id)

{
	var focusOrBlur=action;
	
	var cesta=document.getElementById(id);
	
	if (focusOrBlur=="focus")

	{
	
		if (cesta.value == cesta.defaultValue)
	
		{
	
			cesta.value="";
	
		}

	}

	if (focusOrBlur=="blur")

	{
	
		if (cesta.value == "")
	
		{
	
			cesta.value=cesta.defaultValue;
	
		}

	}

};