
jQuery(function( $ ){
	var thumb = $( "#thumb_1" );     
	$( "#billboard1" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});


jQuery(function( $ ){
	var thumb = $( "#thumb_2" );     
	$( "#billboard2" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_3" );     
	$( "#billboard3" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_4" );     
	$( "#billboard4" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_5" );     
	$( "#billboard5" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_6" );     
	$( "#billboard6" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_7" );     
	$( "#billboard7" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_8" );     
	$( "#billboard8" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_9" );     
	$( "#billboard9" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_10" );     
	$( "#billboard10" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_11" );     
	$( "#billboard11" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_12" );     
	$( "#billboard12" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

$(document).ready(
	function(){
		$("img.a_billboard").hover(
			function() 
			{
				$(this).stop().animate({"opacity": "0"}, "slow");
			},
			function() {
				$(this).stop().animate({"opacity": "1"}, "slow");
			}
		);
	}
);

// MAGAZINES

jQuery(function( $ ){
	var thumb = $( "#thumb_1" );     
	$( "#magazines1" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});


jQuery(function( $ ){
	var thumb = $( "#thumb_2" );     
	$( "#magazines2" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_3" );     
	$( "#magazines3" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_4" );     
	$( "#magazines4" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_5" );     
	$( "#magazines5" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_6" );     
	$( "#magazines6" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_7" );     
	$( "#magazines7" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_8" );     
	$( "#magazines8" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_9" );     
	$( "#magazines9" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_10" );     
	$( "#magazines10" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});

jQuery(function( $ ){
	var thumb = $( "#thumb_11" );     
	$( "#magazines11" ).hover(
		function( event ){
			if (thumb.is( ":visible" )){
			// Hide - slide up.
			 thumb.slideToggle( 500 );
			}
			else {
			// Show - slide down.
			 thumb.slideToggle( 500 );
			}
		}
	);
});


$(document).ready(
	function(){
		$("img.a_magazines").hover(
			function() 
			{
				$(this).stop().animate({"opacity": "0"}, "slow");
			},
			function() {
				$(this).stop().animate({"opacity": "1"}, "slow");
			}
		);
	}
);

