Cufon.replace('h1', { 	
						fontFamily: 'arial-black',
						hover: true });
						
Cufon.replace('h2', { 	
						fontFamily: 'arial-black',
						hover: true });	
						
Cufon.replace('div.top-info p a', { 	
						fontFamily: 'arial-black',
						hover: true });

Cufon.replace('div.form-right span', { 	
						fontFamily: 'arial-black',
						hover: true });						


/* Sliders */
$(document).ready(function() {
$('.slider-content').each(function(i) { 
        $('.slider-content').cycle({
		  fx: 'scrollHorz',
		  timeout: 8000,
		  speed: 700
		})
	});
});

$(function() { 
	$(".menu").lavaLamp({ 
	fx: "linear", 
	speed: 150 
	})
});
$(document).ready(function() {
$(".project").hover(
  function() { $(this).children(".hover").show(250); },
  function() { $(this).children(".hover").hide(250); }
);
});

$(document).ready(function() {
$(".project").hover(
  function() { $(this).children(".caption").fadeIn(250); },
  function() { $(this).children(".caption").fadeOut(250); }
);
});

$(document).ready(function() {
$(".project a img").removeAttr("title");
});

$(document).ready(function() {
	var ua = $.browser;
  	if ( ua.mozilla && ua.version.slice(0,3) == "1.9.0" ) {
	$("#contact textarea").css( "height', '127px'" ); 
}});

$(document).ready(function() {
	var ua = $.browser;
  	if ( ua.mozilla ) {
	$(".form-center span.wpcf7-not-valid-tip").css( "top', '5px', !important'" ); 
}});

jQuery(function($){
   $(".captcha-257").Watermark("Skriv in koden nedan...","#FFF");
});
