var windowHandle = null

function PrintContent(){
	
	windowHandle = window.open('about:blank','printer','width=620,height=400');
    setTimeout('updateWindow()',1);
	
}

function updateWindow() {
    windowHandle.document.open();
	windowHandle.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	windowHandle.document.write('<html xmlns="http://www.w3.org/1999/xhtml">');
	windowHandle.document.write('<head>');
	windowHandle.document.write('<title>Fietsplatform</title>');
	windowHandle.document.write('<link href="/css/print.css" rel="stylesheet" type="text/css" />');
	windowHandle.document.write('</head>');
	windowHandle.document.write('<body onload="print();close()">');
    //Write Header to popup
	windowHandle.document.write('<img src="/public/image/overig/logo_slf_grey.gif" width="100" height="88" /><br />');
	//Write Title tot popup
   //windowHandle.document.write('<h1>' + document.getElementById('co').innerHTML + '</h1>');	
	//Write Content to popup
    windowHandle.document.write(document.getElementById('content').innerHTML);
	//Write Copyrights to poppup
    windowHandle.document.write('<p>Copyright 2008 Stichting Landelijk Fietsplatform</p>');	
    windowHandle.document.close();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

jQuery(document).ready(function(){

	jQuery("#nav li").hover(
		function(){ jQuery("ul", this).fadeIn("fast"); }, 
		function() { } 
	);
	if (document.all) {
		jQuery("#nav li").hoverClass ("sfHover");
	}
	
	jQuery('a.lightbox').lightBox();	
});

jQuery.fn.hoverClass = function(c) {
	return this.each(function(){
		jQuery(this).hover( 
			function() { jQuery(this).addClass(c);  },
			function() { jQuery(this).removeClass(c); }
		);
	});
};