
// 'stacks' is the Stacks global object.
// All of the other Stacks related Javascript will 
// be attatched to it.
var stacks = {};


// this call to jQuery gives us access to the globaal
// jQuery object. 
// 'noConflict' removes the '$' variable.
// 'true' removes the 'jQuery' variable.
// removing these globals reduces conflicts with other 
// jQuery versions that might be running on this page.
stacks.jQuery = jQuery.noConflict(true);

// Javascript for stacks_in_11_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_11_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_11_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_11_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_11_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_11_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_11_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_11_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_11_page50').css('border-left-width');
		$('#stacks_in_11_page50').css({'border-width':0});	
		$('#stacks_in_11_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_11_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_11_page50 .boxgrid .cover img').width();
	$('#stacks_in_11_page50 .boxgrid').height(box_height);
	$('#stacks_in_11_page50 .boxgrid').width(box_width);
	$('#stacks_in_11_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_11_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_11_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_11_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_11_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_11_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_11_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_11_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_11_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_11_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_11_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_11_page50);


// Javascript for stacks_in_18_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_18_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_18_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_18_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_18_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_18_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_18_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_18_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_18_page50').css('border-left-width');
		$('#stacks_in_18_page50').css({'border-width':0});	
		$('#stacks_in_18_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_18_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_18_page50 .boxgrid .cover img').width();
	$('#stacks_in_18_page50 .boxgrid').height(box_height);
	$('#stacks_in_18_page50 .boxgrid').width(box_width);
	$('#stacks_in_18_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_18_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_18_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_18_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_18_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_18_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_18_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_18_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_18_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_18_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_18_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_18_page50);


// Javascript for stacks_in_27_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_27_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_27_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_27_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_27_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_27_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_27_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_27_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_27_page50').css('border-left-width');
		$('#stacks_in_27_page50').css({'border-width':0});	
		$('#stacks_in_27_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_27_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_27_page50 .boxgrid .cover img').width();
	$('#stacks_in_27_page50 .boxgrid').height(box_height);
	$('#stacks_in_27_page50 .boxgrid').width(box_width);
	$('#stacks_in_27_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_27_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_27_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_27_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_27_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_27_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_27_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_27_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_27_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_27_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_27_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_27_page50);


// Javascript for stacks_in_33_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_33_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_33_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_33_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_33_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_33_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_33_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_33_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_33_page50').css('border-left-width');
		$('#stacks_in_33_page50').css({'border-width':0});	
		$('#stacks_in_33_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_33_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_33_page50 .boxgrid .cover img').width();
	$('#stacks_in_33_page50 .boxgrid').height(box_height);
	$('#stacks_in_33_page50 .boxgrid').width(box_width);
	$('#stacks_in_33_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_33_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_33_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_33_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_33_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_33_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_33_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_33_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_33_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_33_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_33_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_33_page50);


// Javascript for stacks_in_40_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_40_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_40_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_40_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_40_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_40_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_40_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_40_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_40_page50').css('border-left-width');
		$('#stacks_in_40_page50').css({'border-width':0});	
		$('#stacks_in_40_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_40_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_40_page50 .boxgrid .cover img').width();
	$('#stacks_in_40_page50 .boxgrid').height(box_height);
	$('#stacks_in_40_page50 .boxgrid').width(box_width);
	$('#stacks_in_40_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_40_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_40_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_40_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_40_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_40_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_40_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_40_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_40_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_40_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_40_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_40_page50);


// Javascript for stacks_in_46_page50
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_46_page50 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_46_page50 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_46_page50').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_46_page50').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_46_page50').css('border-top-width');
		var bg_border_right = $('#stacks_in_46_page50').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_46_page50').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_46_page50').css('border-left-width');
		$('#stacks_in_46_page50').css({'border-width':0});	
		$('#stacks_in_46_page50 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_46_page50 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_46_page50 .boxgrid .cover img').width();
	$('#stacks_in_46_page50 .boxgrid').height(box_height);
	$('#stacks_in_46_page50 .boxgrid').width(box_width);
	$('#stacks_in_46_page50 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_46_page50 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_46_page50 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_46_page50 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_46_page50 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_46_page50 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_46_page50 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_46_page50 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_46_page50 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_46_page50 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_46_page50 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_46_page50);



