




$(document).ready(init());

function init()
{
	var swf = swfobject.embedSWF("ratato/Ratato.swf", "content", "100%", "100%", "9.0.0", "expressInstall.swf", {},{bgcolor:"#0b0b0b"},{},swfobjectResponse);
}

function swfobjectResponse(e)
{
	if(e.success){
		document.body.style.overflow = "hidden"; // scrollbugfix, if flash hide scroller, if html use scroller
	}
}




var worksView = false;
function worksOpen(){
	
	worksView = !worksView;
	if(worksView){
		jQuery("#content").css("width", "50%");
	}else{
		jQuery("#content").css("width", "100%");
	}
	
}

function setWidth(width){
	jQuery("#content").css("width", width+"%");
}






/*
$('#content').animate(
	{
		width: '-=50',
		height: 'toggle'
	}, 
	5000, function(){});
}



function test()
{
$('li').animate({
  height: '50%'
},
{
  step: function(now, fx) {
    var data = fx.elem.id + ' ' + fx.prop + ': ' + now;
    $('body').append('<div>' + data + '</div>');
  }
});

}
*/

/*
jQuery(document).ready(function($) {
  resizeHandler();
});
*/


