/**
* Copyright (c)2008 44 Interactive. All Rights Reserved.
*
* SVN File: $Id: base.js 72 2008-06-05 12:06:42Z Mike Neugebauer $
* @author $Author: Mike Neugebauer $
* @version $Revision: 72 $
* @lastrevision $Date: 2008-06-05 07:06:42 -0500 (Thu, 05 Jun 2008) $
* @modifiedby $LastChangedBy: Mike Neugebauer $
* @lastmodified $LastChangedDate: 2008-06-05 07:06:42 -0500 (Thu, 05 Jun 2008) $
* @filesource $URL: svn+ssh://miken@svnhost/svnhome/base/branches/nextstage/cms_js/base.js $
*/

	function startupWalkover( )
	{
	var flashvars = {};
	var params = {};
	params.wmode = "transparent";
	var attributes = {
		id:"walkoverVideo"
	};
	swfobject.embedSWF("/flash/tk_walkover1.swf", "video", "350", "250", "9.0.0", "expressInstall.swf", flashvars, params, attributes);


	}

function lightitup1( ) {
	lightitup(1,3100);
}

function lightitup2( ) {
	lightitup(2,3900);
}

function lightitup3( ) {
	lightitup(3,2500);
}

function lightitup( numIn, timeIn ) {

switch ( numIn )
{
	case 1:	sublit( 5, timeIn ); break;
	case 2:	sublit( 2, timeIn ); sublit( 3, timeIn ); sublit( 4, timeIn ); break;
	case 3:	sublit( 8, timeIn ); break;

	default: break;
}

}

function sublit( numIn, timeIn ) {
MM_swapImage('Image' + numIn,'','images/b' + numIn + 'lit.jpg',1);
setTimeout( "MM_swapImage('Image" + numIn+ "','','images/b" + numIn + ".jpg',1);", timeIn );
}

function videoDone( ) {
	document.getElementById( 'walkover').style.display = 'none';
	document.getElementById( 'walkover').style.visibility = 'hidden';
}



