$(document).ready(function()
{
	if($('textarea.ckeditor').length > 0)
	{
		$('textarea.ckeditor').each(function()
		{
			var oFCKeditor = new FCKeditor(this.name) ;
			oFCKeditor.BasePath = urlPath + 'scripts/fckeditor/';
			oFCKeditor.Height = '500px';
			oFCKeditor.ReplaceTextarea();
		});	
	}
	
	if($('input.focus').length == 1)
	{
		$('input.focus').focus();
	}
});

function mouseMovement($container, $image)
{
	$($container).attr('src', baseURL + '' + $image + '');
}

function searchClick($container)
{
	if($($container).val() == 'Zoeken') 
	{
		$($container).val('');
	}	
		
	$($container).removeClass('search_nonactive');
	$($container).addClass('search_active');
}

function searchBlur($container)
{
	if($($container).val() == '') 
	{ 
		$($container).val('Zoeken'); 
	}	
	
	$($container).removeClass('search_active');
	$($container).addClass('search_nonactive');
}

