

$(document).ready(function(){


  if (window.DD_belatedPNG)
    DD_belatedPNG.fix('.pngimg');

  // The next 4 lines is some javascript to stop IE from displaying the img alt attributes
  // when you mouse over images. To display the alt attributes,
  //  If you leave this in place, your ALT attributes are still readable by the search engines.
  
  //var tmpalt;
  //$("img").hover( 
   // function(){ tmpalt = $(this).attr( "alt" ); $(this).attr( "alt", "" ); },
  // function(){ $(this).attr( "alt", tmpalt ); });


  

  function getFlashVideo(div) {
    var flashVideo = ($('#'+div+' [name="'+div+'-video"]')[0]) ?
                      $('#'+div+' [name="'+div+'-video"]')[0] :
                            ((window[div+'-video']) ?
                              window[div+'-video'] : document[div+'-video']);
    return flashVideo;
  }

});

