<html>
<link rel="stylesheet" href="josh.css">
<body bgcolor="#FFFFFF">

		<div id="Description">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">onbeforeactivate</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">n/a</span> IE <span class="emphasis">6(Win)</span> DOM <span class="emphasis">n/a</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal"></p>
					</td><td valign="top" nowrap class="requirements">Bubbles: Yes; Cancelable: Sometimes&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Fires just before an object is to become the active object. Giving an
object focus makes it active, but a rendered element can be the
active element without having focus. Only one element at a time may
be active. See the <span class="literal">setActive( )</span> method of shared
objects in Chapter 9. If an element received
focus, related events fire in the following sequence:
<span class="literal">onbeforeactivate</span>, <span class="literal">onactivate</span>,
and <span class="literal">onfocus</span>.
</p>
							</td>
						</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
						<tr>
							<td colspan="2"><p>			If you cancel the <span class="literal">onbeforeactivate</span> event, the
element does not become active, nor does it receive focus, but only
if the intended focus action occurs from explicit user action
(clicking and tabbing). An element blocked from receiving focus
causes the focus to go to another element: to the next focusable
element in tabbing order (when the user tabs to the blocked element)
or to the next outermost focusable parent element in the document
tree (when a user clicks on the blocked element). Activating or
giving focus to an element via the <span class="literal">setActive( )</span> or
<span class="literal">focus( )</span> methods cannot be blocked by canceling
this event.
</p>
							</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="typicaltargets"><span class="title">Typical Targets</span></td>
				</tr>
				<tr>
					<td colspan="2"><p>			All rendered elements, plus the <span class="literal">document</span> and
<span class="literal">window</span> objects.
</p>
					</td>
				</tr>
			</table>
		</div>
</body>
</html>