// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function OpenPopup(sPicURL)
{    window.open("http://www.ggweb.nl/popup.php?"+sPicURL, "Vergroting", "resizable=0,HEIGHT=220,WIDTH=220");
} 
function changeImage(Obj)
{
	if( document.getElementById('big') ) 
	{
		document.getElementById('big').src = Obj.src;
	}
}
function goToPage(page)
{
	window.location.href = page;
}
// image rollovers
$(document).ready(function(){
	$(".rollover").click(function(){
		$("#big_image").hide().attr({"src": $(this).attr("longdesc"), "title": $("> img", this).attr("title")});
		unchecked = "/files/image/icons/icon_unchecked.gif";
		checked = "/files/image/icons/icon_checked.gif";
		$(".rollover").attr({"src": unchecked});
		$(this).attr({"src": checked});
		return false;
	});
	$("#big_image").load(function(){$("#big_image:hidden").fadeIn("slow")});
	jQuery("#bekroond").animate({opacity: '+=0'}, 1500).fadeIn(4000);
});
