
var $j = jQuery.noConflict();

$j(document).ready(function() {
      $j(".small_images_gallery img").imgpreload(function() {} );
      $j(".big_image_gallery").show();

      $j(".small_images_gallery img").click(function() {
	 var src = '<img src="' + $j(this).parent('a').attr("href") + '" />';
	 var big_img = $j(this).parents(".small_images_gallery").prev();
	 $j(big_img).fadeOut('slow',function() {
	    $j(big_img).html(src);
	    $j(big_img).fadeIn('slow');
	 }
	 );
	 return false;
      });

      /*Motor*/
      $j("body").attr('onLoad','start();');

      $j(".newWindow").click(function() {
	    window.open(this.href);
	    return false;
      });

      /*New window links*/
      $j(".newWindowLink").click(function() {
	      window.open(this.href);
	      return false;
	      });

});

