﻿jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
//  if($.browser.msie){
//    $("#footer").css({"margin-top":"-365px"});
//  }
})
function map(){
    jQuery.facebox(function($) { 
        jQuery.facebox({ ajax: 'map.html' })
    })
}
function contact(){
    jQuery.facebox(function($) { 
        jQuery.facebox({ ajax: 'contact.html' })
    })
}
function linkOver(){
    $(".link").css({"color":"blue", "cursor":"hand"});
}
function linkOut(){
    $(".link").css({"color":"red", "cursor":"pointer"});
}
function confirm(text){
    alert(text);
    return text + " back";
}
function newsVid() {
    
    jQuery.facebox(function($) { 
        jQuery.facebox({ ajax: 'newsVid.html' })
    })
}
function sendTracking(page)
{
    pageTracker._trackEvent("page", page);
}
function menuDnld() {
    pageTracker._trackEvent("Menu", "downloaded");
}
function playNewsVid() {
    

}
$(document).bind('reveal.facebox', function() {
  

    flashvars = { file: '/Flash/video/RS_show_450_388.flv' };
    params = {
        allowfullscreen: 'false',
        allowscripteaccess: 'always',
        wmode: 'opaque'
    };
    attributes = {};
    swfobject.embedSWF('Flash/mediaplayer/player.swf', 'vidplayer', '450', '338', '9', 'Flash/expressInstall.swf', flashvars, params, attributes);

})
