// IE 6 / 5.5 Png Fix
$(document).ready(function(){
	$(document).pngFix();
});
// Image MouseOver
$(document).ready( function() {
 Rieder.rollover.init();
});
Rieder = {};
Rieder.rollover = {
	init: function() {
  this.preload();
  $(".over").hover(
   function () { $(this).attr( 'src', Rieder.rollover.newimage($(this).attr('src')) )},
   function () { $(this).attr( 'src', Rieder.rollover.oldimage($(this).attr('src')) )}			
  );
 },
 preload: function() {
 	$(window).bind('load', function() {
  $('.over').each( function( key, elm ) {
			$('<img>').attr( 'src', Rieder.rollover.newimage( $(this).attr('src') ) ); });
 	});
	},
 newimage: function(src) {
 	return src.substring( 0, src.search(/(\.[a-z]+)$/) ) + '_over' + src.match(/(\.[a-z]+)$/)[0];
 },
 oldimage: function(src){
		return src.replace(/_over\./, '.');
 }
};

