function initInputs()
{
	var inputs = document.getElementsByTagName("input");
	for (var i = 0; i < inputs.length; i++ )
	{
		if(inputs[i].type == "text")
		{
			inputs[i].valueHtml = inputs[i].value;
			inputs[i].onfocus = function ()
			{
				if(this.valueHtml == this.value)
					this.value = "";
			}
			inputs[i].onblur = function ()
			{
				this.value != ""? this.value = this.value: this.value = this.valueHtml;
			}
		}
	}
}

$(function(){

$('#jsddm > ul > li').hover(function(){
	$(this).find('ul').css('visibility', 'visible');
	$(this).addClass('hover');
}, function(){
	setTimeout(hidemenu($(this)),500);
});

$('#header .container').cycle();

});


function hidemenu(meny){
meny.removeClass('hover');
meny.find('ul').css('visibility', 'hidden');
}
