/*
  zoom of video window in tbd
  
  problems: the video must be paused while animation (--> must set up swf interaction)
*/

$(document).ready(function(){
  $("#embedplayer1").mouseover(function(){
    $(this).css({ width: 320, height : 240 });
    $("div#videoteaser").css({ top:-125 });
    //$("p#videoplayer1").css({ width: 400 });
  });
  $("#mob_frame").mouseover(function(){
    //$(this).css({ width: 320, height : 240, bottom:0 });
    //$(this).css({ width: 320, height : 240, bottom:0 });
    $("#embedmagic").css({ width: 320, height : 60, bottom:0 });
  });
  // video is shrinked when pointed to navigation:
  // video is also shrinked when pointed to "magic of brazil" button:
  $("#navigation ul").mouseover(function() {
    $("#embedplayer1").css({ width: 167, height : 90 });
    $("div#videoteaser").css({ top:0 });
  });
  // "magic of brazil" is shrinked when
  // - on navigation
  // - impressum link
  // - repertmap
  $("#navigation ul,#fuss a").mouseover(function() {
    $("#embedmagic").css({ width: 167, height : 30, bottom:0 });
  });
});
