$(window).load(function() {
	$('#slider').nivoSlider({
		effect:"boxRandom",
    animSpeed:800,
    pauseTime:4000,
    startSlide:0,
    controlNav:false
   });
});

$(function(){
	/* uniform */
	$("#attach").uniform();

	/* value*/
	$('#email').val('e-mail');
	$('#email').focus(function(){
		if($(this).val() == 'e-mail') $(this).val('');
	});
	$('#email').blur(function(){
		if($(this).val() == '') $(this).val('e-mail');
	});

	$('#comment').val('comment');
	$('#comment').focus(function(){
		if($(this).val() == 'comment') $(this).val('');
	});
	$('#comment').blur(function(){
		if($(this).val() == '') $(this).val('comment');
	});
}); 


