









//$(function() {
	//		$(window).resize(function() {
		//		window.location.reload();
		//});
			//});


runOnLoad(function(){



$('.Email').safermailto();  // email spam voorkomen, let op: aangepast voor Fabervanderende!!!

//*Cluetips 


$("#GrM a").Tooltip({ 
 track: true, 
    delay: 0, 
    showURL: false, 
    showBody: " - ", 
    extraClass: "pretty", 
    fixPNG: true, 
    opacity: 0.95, 
    left: -120 ,
	top:-70
});

//*Sifr 

 $('#Zen h1').flash(
        { 
            src: 'js/scalasans.swf', 
            flashvars: { 
			
                css: [
                    
                    '* { color: #666666; }',
                    'a { color: #0099CC; text-decoration: none; }',
                    'a:hover { text-decoration: underline; }'
					
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );
	

	
	//$("#GrM, #ContentContainer").vjustify();
	//$("#Blox .Inhoud, #Blox .GreenBlock").vjustify();

   //$('.EqualThis').vjustify();
   
 
	 
  // $(document).pngFix(); // fix png transparency for ie < 7




   	// move that bloody footer
	
			var GridHeight = 0;
			var GridHeightNews = 0;

	
			if ( $("#GrS_c1-c6").length > 0 ) 
			{
				var GridHeight = $('#GrS_c1-c6').innerHeight();
			}
			
			
			if ( $("#GrS_c1-c4").length > 0 ) 
			{
				var GridHeightNews = $('#GrS_c1-c4').innerHeight();
			}
			

			
				var PageHeight = $(document).height();
				$('#PageContainer').height(PageHeight+60);
		  
		   // end move





});

 
 //$(document).ready(function() {
 







 //});