/*********************************************
 * Special Order bvba
 * (c) Ken Pimontel, ken at specialorder dot be
 * Purpose: Base JQ script settings
 *
 * NOTES
 * From base site 0003
 *
 * DEPENDENCIES
 *
 * TODO
 *
 * HISTORY
 * Last change <!-- hhmts start -->2010-05-07 14:22:27<!-- hhmts end -->
 * 090331 ADDED Topmenu li:not(.active)
 * 090331 UPDATE SideMenu-T2 afgewerkt
 * 090327 ADDED auto form label width
 * 090327 ADDED a.box
 * 090120 First version
 *********************************************/


 // Logging function - kan je gebruiken in de chain. $("blabla").log("Wat je wil zeggen").fadeofzo...
jQuery.fn.log = function (msg) {
      console.log("%s: %o", msg, this);
      return this;
  };

jQuery.fn.fancybox.defaults.path = 'http://nethome.be/_js/fancybox-1.2.1/';
$(document).ready(function() {
	 $("a.box").fancybox({
	 	'hideOnContentClick': true,
	 	'zoomSpeedIn': 500,
	 	'zoomSpeedOut': 500,
	 	'frameWidth': 500,
	 	'frameHeight': 600,
	 	'overlayShow': true,
	 	'overlayOpacity': 0.75
	 	});
 });

 // Footer-img
$(document).ready(function(){
	$("#footer").fadeTo("slow", 0.6); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	$("#footer").hover(function(){
		$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
		},function(){
		$(this).fadeTo("fast", 0.6); // This should set the opacity back to 60% on mouseout
	});
});

