$(document).ready(function(){

   if( /MSIE ((5\.5)|[6])/.test( navigator.userAgent ) && navigator.platform == "Win32" ) {
      sheets = document.styleSheets[0].rules;
      for( i = 0; i < sheets.length; i++ ) {
         obj = sheets[i].style;
         if( arr = /url\((\s*\S+\.png\s*)\)\s*/.exec( obj.backgroundImage.toLowerCase() ) ) {
            obj.backgroundImage = 'url(/i/p.gif)';
            obj.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + arr[1] + "'" + ( obj.backgroundRepeat != 'no-repeat' ? ", sizingMethod='scale'" : ", sizingMethod='crop'" ) + ")";
         }
      }
   }
});

$(window).load(function(){

	if( $(".z-slide") ) {
		$(".z-slide").find("table").inDyCarousel();
	}

	$(".z-arrowl").each(function() {

		$(this).hover(
			function() {
				$(this).addClass("activel");
			},
			function() {
				$(this).removeClass("activel");
			}
		);
   });

   	$(".z-arrowr").each(function() {
		$(this).hover(
			function() {
				$(this).addClass("activer");
			},
			function() {
				$(this).removeClass("activer");
			}
		);
   });

});



