function getUpdate(type,p1,p2) {
	$('#nav').toggleClass("play", type == "state" && p1 == "0");
};
function PlayPause(e) {
	if(document.getElementById(e)!=undefined) document.getElementById(e).sendEvent('playpause');
}
function slide_init() {
	$('#slidewrap .main').hover(
      function () {
        $('#nav').fadeIn('slow');
      }, 
      function () {
        $('#nav').stop(true,true).fadeOut('slow');
      }
    );
}