
$ (function() {

    var flashvars = {};
	var params = {
	wmode: "transparent"
	};
	var attributes = {};
	
	var path = "Assets/Specific/Flash/Home/preloader.swf";

	//swfobject.embedSWF(path, "flash-header-tall", "804", "320", "9.0.0","../../../Generic/Flash/expressInstall.swf", flashvars, params, attributes);

    var pathV3 = "Assets/Specific/Flash/Home/preloaderver3.swf";

	swfobject.embedSWF(pathV3, "flash-header-v3", "804", "320", "9.0.0","../../../Generic/Flash/expressInstall.swf", flashvars, params, attributes);

    $("#news").newsticker();
    
    $("#feed-team-big-lunch").hover(
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/lunch-over.gif");
      }, 
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/lunch.gif");
      }
    );

    $("#feed-ecoteams").hover(
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/ecoteams-over.gif");
      }, 
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/ecoteams.gif");
      }
    );
    $("#feed-team-energy").hover(
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/energy-over.gif");
      }, 
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/energy.gif");
      }
    );
    $("#team-swap").hover(
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/swap-over.gif");
      }, 
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/swap.gif");
      }
    );
    $("#team-a-b").hover(
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/a-b-over.gif");
      }, 
      function () {
        $(this).children("img").attr("src", "Assets/Specific/Images/Home/a-b.gif");
      }
    );	
});