function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
	thisfield.value = "";
	}
}

function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
	thisfield.value = defaulttext;
	}
}

var animating 	= false;
var speed		= 300;
var imageWidth	= 123;

jQuery(document).ready(function()
{
	Cufon.replace('h1, h2, h3, h4, #header_title, #menu li a, .cufonize', {fontFamily: 'Arial Rounded Bold'});
	
	jQuery(".vlak_content").hover(function(){
		jQuery(this).parent().parent().find(".vlak_ro").css("opacity", 0.5);
	}, function(){
		//jQuery(this).parent().parent().find(".vlak_ro").css("opacity", 0);	
	});
	
	jQuery(".vlak").hover(function(){
		jQuery(this).find(".vlak_ro").css("opacity", 0.5);
	}, function(){
		jQuery(this).find(".vlak_ro").css("opacity", 0);	
	});

	meerkat({
	  close: '.close',
	  //dontShow: '.close',
	  animation: 'slide',
	  animationSpeed: 500,
	  dontShowExpire: 0,
	  meerkatPosition: 'bottom',
	  //background: 'url("../images/meerkat/bg_image.png") repeat 0 0',
	  background: '#0b0b72 repeat 0 0',
	  removeCookie: '#showAd',
	  height: '300px'
	});
	
	jQuery(".webshop-form a").click(function(){
		jQuery(this).parent().submit();
//		e.preventDefault();
	});
	
});

Shadowbox.init({
	handleOversize:     'drag',
	resizeDuration:		0.35,
	fadeDuration:		0.10,
	overlayOpacity:		0.6,
	language:  	 		"nl",
	players:    		['img']
});

/*
function initScrollBars()
{
	jQuery(function(){
		jQuery('#content_scroll').jScrollPane({showArrows:true, wheelSpeed:60, scrollbarWidth:11, scrollbarMargin:15});
	});
}
*/

