$(document).ready( function() {


	
	  sortTable($('table#sortable'));
	  $('.preis').each(function(){
	  	var tx= $(this).text();
	  	$(this).text(tx+",- €");
	  });
  Bildladen();
	
});
function Bildladen() {
	obj=$("#slideBanner");

	obj.fadeOut('3000', function() {
		obj.load("http://hoins-intermusik.de/php/ajax.php?rotba=1", function(response,status,xhr) {
			obj.fadeIn('3000');
		});
	});
	setTimeout('Bildladen()','5000');

}

function gr8() {
	var obj = $('#prodBild');
	var obj2=document.getElementById('prodBild');
	if (obj2.style.width == '270px')
		obj.animate({
			width:'100px'
		},2000);
	else
		obj.animate({
			width:'270px'
		},2000);
}

function einblenden() {
	$('#anfrage_slidebox').toggle('500');
}

function changeMyBut() {
	$('#button').css("background-image", "url(../images/anfrage_send_active.png)");
}
