// home slider videos
function loadHomeVideo2()
{
		if (! (Modernizr.video && Modernizr.video.h264)){
		
			Shadowbox.open({
				content:    '/systems/flash/video/NOSLATE_cliff_diver_HD_Fin.flv',
				player: "flv",
				height:     363,
				width:      640,
                                onOpen: function(elem) {
                                }
			});
		
		}else{
		
		
			Shadowbox.open({
				content:    '<video src="/systems/flash/video/NOSLATE_cliff_diver_HD_Fin.mp4" poster="flash/video/NOSLATE_cliff_diver_HD_Fin.jpg" width="640" height="360" controls="controls" ></video>',
				player: "html",
				height:     363,
				width:      640,
                                onOpen: function(elem) {
                                }
			});
		
		}

                pageTracker._trackEvent('Video', 'Play Video', 'Play Greener Approach Video'); 
}

function loadHomeVideo3()
{
	Shadowbox.open({
        content:    "<object width='468' height='263'><param name='geVideo' value='http://www.ge.com/thegeshow/swfs/genericGEShowVideoPlayer.swf?'></param><param name='allowfullscreen' value='true'/><param name='allowscriptaccess' value='always'/><param name='FlashVars' value ='geShowRootUrl=http://www.ge.com/thegeshow/&videoId=677532030001&title=Paths of Flight &titleLink=http://www.ge.com/thegeshow/flight/#ch1&hasShare=false'/><embed src='http://www.ge.com/thegeshow/swfs/genericGEShowVideoPlayer.swf?' type='application/x-shockwave-flash' FlashVars = 'geShowRootUrl=http://www.ge.com/thegeshow/&videoId=677532030001&title=Paths of Flight &titleLink=http://www.ge.com/thegeshow/flight/#ch1&hasShare=false' allowfullscreen='true' allowscriptaccess='always' width='468' height='263'></embed></object>",
		player:     "html",
        height:     266,
        width:      468,
        onOpen: function(elem) {
        }
    });
    pageTracker._trackEvent('Video', 'Play Video', 'Play Vision for the Future Video'); 
}


var loadHomeVideo4 = function() {
	if (! (Modernizr.video && Modernizr.video.h264)){
		
			Shadowbox.open({
				content:    '/systems/flash/video/GE_Animation_vers14_prores.flv',
				player: "flv",
				height:     219,
				width:      720,
                                onOpen: function(elem) {
                                }
			});
		
		}else{
		
		
			Shadowbox.open({
				content:    '<video src="/systems/flash/video/GE_Animation_vers14_prores.mp4" poster="flash/video/GE_Animation_vers14_prores.jpg" width="720" height="216" controls="controls" ></video>',
				player: "html",
				height:     219,
				width:      720,
                                onOpen: function(elem) {
                                }
			});
		
		}

                pageTracker._trackEvent('Video', 'Play Video', 'Play Future Awaits Video'); 
};
swfobject.embedSWF("flash/geaviationsystems_home_flash.swf", "HomepageAnimation", "740", "349", "8.0.0", "flash/expressInstall.swf",{},{},{},function(e){if(!e.sucess){$('#HomepageAnimationAlt').show();}});

