<!--
	//  Handle special cases where we need different code 
	//  for Internet Explorer vs. Netscape navigator 
	var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	//  Handle all the FSCommand messages in a Flash movie  
	function mapUSN_DoFSCommand(command, args) 
	{ 
		// IE and Navgiator have slightly different document object models 
	  	// IE treats objects as members of "window" while in Navigator, 
	  	// embedded objects are members of "window.document" 
	  	//  Evaluate the command string and decide what to do 
	  	if ( command=="ShowLocation" ) 
		{ 
	  		ShowLocation( parseInt(args));
 			}	 
	}
	var intVisibleLocation = 0;
	
	function ClearBox()
	{
		if ( document.frmFind.txtZipCode.value == 'Zip Code' )
		{
			document.frmFind.txtZipCode.value = "";
		}
	}
	
	function ToggleState( lngStateID )
	{
		if ( objState = document.getElementById( 'state' + lngStateID ) )
		{
			if ( objState.style.display == 'none' )
			{
				objState.style.display = 'block';
			}
			else
			{
				objState.style.display = 'none';
			}
		}
	}
	
	function ShowLocation( intLocID )
	{
		var objDiv;
		if ( !document.getElementById )	{ return; }
		if ( ( intVisibleLocation > 0 ) && ( intVisibleLocation != intLocID ) )
		{
			if ( objDiv = document.getElementById( 'details' + intVisibleLocation ) )
			{
				objDiv.style.display = "none";
				intVisibleLocation = 0;
			}
		}
		if ( ( intLocID > 0 ) && ( intVisibleLocation != intLocID ) )
		{
			if ( objDiv = document.getElementById( 'details' + intLocID ) )
			{
				objDiv.style.display = "block";
				intVisibleLocation = intLocID;
			}
		}
		// display the form if there is no popup shown for a location
		if ( objDiv = document.getElementById( 'zipform' ) )
		{
			objDiv.style.visibility = ( intVisibleLocation == 0 ) ? "visible" : "hidden";
		}
	}
	// GetSwf
	// Get an item from the page by id, all set or name depending
	// on how the browser supports it
	function GetSwf( strId )
	{
		if ( document.all )
		{
			return document.all[ strId ];
		}
		else if ( document.getElementById )
		{
			return document.getElementById( strId );
		}
		else
		{
			return null;
		}
	}
	
	// FlashMouseOver
	// Go to the specified label within the flash movie
	function FlashMouseOver( ID, strMap )
	{
		var swf = GetSwf( strMap );
		if (swf)
		{
			swf.TGotoLabel( "mark" + ID, "markerOn" );
			swf.Stop( );
		}
	}
	
	// FlashMouseOut
	// Go to the specified label within the flash movie
	function FlashMouseOut( ID, strMap )
	{
		var swf = GetSwf( strMap );
		if (swf)
		{
			swf.TGotoLabel( "mark" + ID, "markerOff" );
			swf.Stop( );
		}
	}
//-->