//function InitSlideShow() 
//{
 $(document).ready(function() {
 
    if ($("div.big_image").length > 0) {
     
     $(document).ready(function() {

         $("div.big_image").cycle({
             fx: 'fade',
             speed: 2000,
             timeout: 5000,
             pager: "div.navigation",
             activePagerClass: "active"
         });
        
        });

        $("div.navigation a").text("");
    }
    
    $("div.tournament a[rel^='prettyPhoto']").prettyPhoto({
			show_title: false, /* true/false */
			allow_resize: true, /* Resize the photos bigger than viewport. true/false */
			counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
			theme: 'pp_default', /* pp_default / light_rounded / dark_rounded / light_square / dark_square / facebook */
			overlay_gallery: false, /* If set to true, a gallery will overlay the fullscreen image on mouse over */
			social_tools: false
		});
        
    $("div.blue_left_form div.FormPanel input[type=text]").focus(function(){
      var sMatch = $(this).attr("class")+"*" ;      
      if ($(this).val()==sMatch)   $(this).val("");       
    })
    .blur(function(){
      var sMatch = $(this).attr("class")+"*";
      if ($(this).val()==''){$(this).val(sMatch);}         
    });
    
    $("div.blue_left_form div.FormPanel textarea.Opmerkingen").focus(function(){
      if ($(this).val()=="Opmerkingen...")   $(this).val("");       
    })
    .blur(function(){
      if ($(this).val()==''){$(this).val("Opmerkingen...");}         
    });
    
    $("div.sitemap ul.CMSSiteMapList span").remove();

 });
//}
