$(document).ready(function(){
$('#print_button').mouseout(
 function() {
  $('#print_button img:eq(0)').attr("src", "/images/icons/count.gif");
  $('#addremove').css({'display' :'none'})
  $('#rollo').css({'display' :'block'})
  /*$('#print_button em').animate({opacity: "hide", top: "-60"}, "fast");*/
  $('#print_button a').css({
   'color' : '#bfc0c2'
  })
 }
).mouseover(
 function() {
  $('#print_button img:eq(0)').attr("src", "/images/icons/count_hover.gif");
	if($('#printBasket_total').html() != 0) {
		$('#totalp').html('Go to Print Basket to print the pages');
	} else {
		$('#totalp').html('You have not selected any pages for the basket');
	}
	if($('#printBasket_button a:eq(0)').html().toString() != '+') {
		$('#addremove').html('Remove this page from print basket.');
	} else {
		$('#addremove').html('Add this page to print basket');
	}
  $('#print_button a').css({'color' : '#7e8085'});
  $('#addremove').css({'display' :'block'})
  $('#rollo').css({'display' :'none'})
 /* $('#print_button em').animate({opacity: "show", top: "-60"}, "slow");*/
 }
)
$('#print_total').mouseout(
 function() {
  $('#print_total img:eq(0)').attr("src", "/images/icons/count.gif");
  if($('#printBasket_total').html() != 0) {
			$('#totalp').html('Go to Print Basket to print the pages');
		} else {
			$('#totalp').html('You have not selected any pages for the basket');
		}
		if($('#printBasket_button a:eq(0)').html().toString() != '+') {
			$('#addremove').html('Remove this page from print basket.');
		} else {
			$('#addremove').html('Add this page to print basket.');
		}
 /* $('#print_total em').animate({opacity: "hide", top: "-60"}, "fast");*/
  $('#totalp').css({'display' :'none'})
  $('#rollo').css({'display' :'block'})
  $('#print_total span').css({
   'color' : '#bfc0c2'
  })
  
 }
).mouseover(
 function() {
  $('#print_total img:eq(0)').attr("src", "/images/icons/count_hover.gif");
  $('#print_total span').css({'color' : '#7e8085'});
  $('#totalp').css({'display' :'block'})
  $('#rollo').css({'display' :'none'})
  /*$('#print_total em').animate({opacity: "show", top: "-60"}, "slow");*/
 }
)
/*$(".menu a").hover(function() {
$(this).next("em").animate({opacity: "show", top: "-60"}, "slow");
}, function() {
$(this).next("em").animate({opacity: "hide", top: "-60"}, "fast");
});*/
});
