//var oldBlockContent;

function showHandVideo()
{
    if (swfobject.hasFlashPlayerVersion ("9.0.0") && swfobject && swfobject.embedSWF)
    {
        // store old content
        oldBlockContent = $('homeBlock2').innerHTML;

        // replace
	swfobject.createSWF ({ data : '/flash/hand327x207.swf', width : 327, height : 207 }, { wmode : "transparent", menu : "false", bgcolor : "#ffffff" }, 'homeBlock2Flash');
    }
}
function hideHandVideo()
{
	// restore old content, will be fired by flash through ExternalInterface
	swfobject.removeSWF ('homeBlock2Flash');

	$('homeBlock2').update (oldBlockContent);
}
function showXander()
{
	swfobject.createSWF ({ data : '/flash/xander327x207.swf', width : 327, height : 207 }, { wmode : "transparent", menu : "false", bgcolor : "#ffffff" }, 'homeBlock0Flash');
}

Event.observe (window, 'load', function () {
	//showHandVideo ();
        //showXander();
});

// replace on document load
// document.observe('dom:loaded', showHandVideo);
