/**
 *  --------------------------------------------------------------------------------------
 *  Navigator Scripts
 *  ----------------------------------------------------
 *  Modified	February 17, 2009
 *  @author	Bree Emmerson <bree@navigatormm.com>
 *  ----------------------------------------------------
 *
 *  --------------------------------------------------------------------------------------
 */
jQuery.noConflict();

jQuery(function() {
  jQuery('a[rel*="gallery"]').lightBox({
  	overlayBgColor: '#000000',
	overlayOpacity: 0.8,
	imageLoading: 'http://slimline.com/images/lightbox/lightbox-ico-loading.gif',
	imageBtnClose: 'http://slimline.com/images/lightbox/lightbox-btn-close.gif',
	imageBtnPrev: 'http://slimline.com/images/lightbox/lightbox-btn-prev.gif',
	imageBtnNext: 'http://slimline.com/images/lightbox/lightbox-btn-next.gif',
	imageBlank: 'http://slimline.com/images/lightbox/lightbox-blank.gif',
	containerResizeSpeed: 400,
	txtImage: 'Photo',
	txtOf: 'of',
	keyToClose: 'c',
	keyToPrev: 'p',
	keyToNext: 'n'
   });
});

jQuery(function()
 {	
	var _height=jQuery('.contentArea').innerHeight();
	jQuery('.leftCol').css('height',_height);
	jQuery('.rightCol').css('height',_height);
 });


function ReSizeSideBars(){
   new_height=jQuery('.contentArea').innerHeight();
   jQuery('.leftCol').css('height',new_height);
   jQuery('.rightCol').css('height',new_height);
}
function AddToFabList(id,type,path){
       
       jQuery.post(path+'/add_to_fab.php',
	       {id:id,
               type:type}
	       ,function(result){
		//alert(result);
	       });
}

function ShowProductImg()
{	
	
	jQuery.blockUI({ message: jQuery('#divProductDig'),
		css: { 
		padding: '15px', 
		backgroundColor: '#FFFFFF', 
		opacity: '.9', 
		color: '#000000',
		top:  '10px', 
		left: (jQuery(window).width() - jQuery('#divProductDig').width()) /2 + 'px', 
		width: jQuery('#divProductDig').width()
	}}); 

}
function ShowProductEnggImg()
{	
	
	jQuery.blockUI({ message: jQuery('#divProductEnggDig'),
		css: { 
		padding: '15px', 
		backgroundColor: '#FFFFFF', 
		opacity: '.9', 
		color: '#000000',
		top:  '10px', 
		left: (jQuery(window).width() - jQuery('#divProductEnggDig').width()) /2 + 'px', 
		width: jQuery('#divProductEnggDig').width()
	}}); 

}