var $j = jQuery.noConflict();
$j(document).ready(function() {


$j('#main_nav ul li').hover(
   function(){
     if( !$j(this).hasClass("current_page") ) {
          $j(this).addClass('nav_hover'); 
          }
      },
   function(){
     if( !$j(this).hasClass("current_page") ) {
          $j(this).removeClass('nav_hover'); 
          }
      }
   );
   
    $j('#rollover').hover(
		function(){
           $j(this).attr("src", "http://www.digitaluk.co.uk/__data/assets/image/0019/23419/ban_last_hover.gif");
        },
   	    function(){
           $j(this).attr("src", "http://www.digitaluk.co.uk/__data/assets/image/0017/22166/footer_logo_blue.gif");
        }
   );
   
    $j('#rhs_push_box1 a').hover(
		function(){
           $j(this).children('span').removeClass('push_box_button2').addClass('push_box_button2_2');
        },
   	    function(){
           $j(this).children('span').removeClass('push_box_button2_2').addClass('push_box_button2');
        }
   );

       $j('#in6_table a').hover(
		function(){
           $j(this).children('img').attr("src", "http://www.digitaluk.co.uk/__data/assets/image/0020/20909/transmitter_butt_ON.gif");
        },
   	    function(){
           $j(this).children('img').attr("src", "http://www.digitaluk.co.uk/__data/assets/image/0020/16193/transmitter_butt_OFF.gif");
        }
   );  

       $j('.arrow_button').hover(
        function(){
           $j(this).children('span.push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0019/14833/push_box_button_hover.jpg) no-repeat");
        },
           function(){
           $j(this).children('span.push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14832/push_box_button.jpg) no-repeat");
        }
   );

       $j('.search3').hover(
        function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0019/22159/blue_location_button.gif) no-repeat");
        },
           function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0013/18130/search_location.jpg) no-repeat");
        }
   );


       $j('.search4').hover(
        function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/22158/blue_find_button.gif) no-repeat");
        },
           function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0019/22438/find_button.gif) no-repeat");
        }
   );
/*
       $j('.arrow_button').toggle(
		function(){
           $j(this).children('span.push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0013/16321/button1_click.gif) no-repeat");
        },
   	    function(){
           $j(this).children('span.push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14832/push_box_button.jpg) no-repeat");
        }
   );
*/
   
       $j('#top_push_box2 p a').hover(
		function(){
		   $j(this).css("color","#dc0067");
           $j('#arrow_right').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0012/16320/arrow_right3_hover.gif) no-repeat");
        },
   	    function(){
		   $j(this).css("color","#636363");
           $j('#arrow_right').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0019/14743/arrow_right3.jpg) no-repeat");
        }
   );   
   
       $j('#arrow_right').hover(
		function(){
		   $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0012/16320/arrow_right3_hover.gif) no-repeat");
           $j('#top_push_box2 p a').css("color", "#dc0067");
        },
   	    function(){
		   $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0019/14743/arrow_right3.jpg) no-repeat");
           $j('#top_push_box2 p a').css("color", "#636363");
        }
   ); 

        $j('.in_push_box_content a').hover(
		function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0016/22165/button_hover.gif) no-repeat");
        },
   	    function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14832/push_box_button.jpg) no-repeat");
        }
   );
 
/*
      $j('.in_push_box_content a').toggle(
		function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0013/16321/button1_click.gif) no-repeat");
        },
   	    function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14832/push_box_button.jpg) no-repeat");
        }
   );  

*/ 
        $j('.gen_push_box2_bg a').hover(
		function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0016/22165/button_hover.gif) no-repeat");
        },
   	    function(){
           $j(this).children('span.in_push_box_button').css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14832/push_box_button.jpg) no-repeat");
        }
   );


/* postcode checker rhs module go button */

$j('button.search2').hover(
        function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/22167/go_button_hover.gif) no-repeat scroll 0%");
        },
           function(){
           $j(this).css("background", "url(http://www.digitaluk.co.uk/__data/assets/image/0018/14841/rhs_go_button.jpg) no-repeat scroll 0%");
        }
   );

/* cost and options subscriptions boxes - 2 scripts  + additional for  'i want to compare the different services' button*/
/* ie6 issue :/ */


$j('#in3_push_box2_content a').hover(
        function(){
           $j(this).removeClass().addClass('different_services_hover');
        },
           function(){
           $j(this).removeClass().addClass('different_services');
        }
   );


/* transmitter network new */

$j('.transmitter_rhs_pb2 button').hover(
			function(){
				$j(this).addClass('over');
			},
			function(){
				$j(this).removeClass('over');
			}
		);

         
});

