Cufon.replace('#menu a',  { fontFamily: 'Trajan Pro', hover:true });
Cufon.replace('#tmenu a',  { fontFamily: 'Trajan Pro', hover:true });
$(".scrollable").scrollable({ vertical: true, mousewheel: true });
$(document).ready( function(){
$('#mp3').flash(
			{
				swf: 'player_mp3.swf',
				width: 200,
				height: 20,
				flashvars: {
					movie: 'player_mp3.swf',
					bgcolor: '#000000',
					mp3: 'test1.mp3',
					autoplay: 1,
					loop: 1,
					skin: '1.jpg'
				}
			}
		);
$(document).pngFix();
$('#slideshow').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '522px' });
ajx();
$(document).pngFix();
function ajx() { 
$('.ajax').click(function(){
id=$(this).attr("href");
id=id.replace("#","");
 $('#wrap').children().fadeOut('slow',function(){
 $('#contentBox').html('<div id="wrap"></div><img src="gfx/loading.gif" style="margin-top:220px;" id="load" />');
 $('#wrap').load(id,function(){$(".scrollable").scrollable({ vertical: true, mousewheel: true });$(document).pngFix();ajx();$(document).pngFix();$("#load").fadeOut('fast');}).hide().fadeIn('slow',function(){tb_init('a.thickbox');$('#slideshow').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '522px' });});
 });
 return false; 
 }) 
 };

});
