//main js file


	    
jQuery(document).ready(function() {

	/* jQuery("#background").fullBg();*/
	
	

/* This is basic - uses default settings */
	jQuery("a.image").fancybox();
	/* Using custom settings */
	//jQuery("a#inline").fancybox({
	//	'hideOnContentClick': true
	//});
	/* Apply fancybox to multiple items */
	/*jQuery("a.group").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});*/

/*
		    jQuery("#body-background").ezBgResize();
		

		jQuery(window).bind("resize", function(){
		    jQuery("#body-background").ezBgResize();
		    */
		
/*
jQuery(window).load(function() {
jQuery("#footer").pinFooter();
});

jQuery(window).resize(function() {
jQuery("#footer").pinFooter();
});
*/



});
function load_catalog_detail(detail_url){
		jQuery.ajax({
			url: detail_url,
			type: "POST",
			timeout: 30000,
			success: function (XMLHttpRequest,data, textStatus) {
				jQuery(".mod_catalogreader").html(XMLHttpRequest);
				
			},
			error: function (XMLHttpRequest, textStatus, errorThrown) {},
			beforeSend: function(request){},
			complete: function(request,status){},
			dataFilter: function (data, type) {return data;}
		});
	};



