function __ale( _field, _label, _custom ) {
	if ( _field.focus )
		_field.focus();
	alert( _custom ? _custom : ( '\'' + _label + '\' is required.' ) );
	return false;
	}
function __hea( _bac ) {
	if ( _tim )
		clearTimeout( _tim );
	_idx = _bac ? ( _idx ? ( _idx - 1 ) : ( _hea.hs.length - 1 ) ) : ( ( _idx == ( _hea.hs.length - 1 ) ) ? 0 : ( _idx + 1 ) );
	document.getElementById( 'headline' ).innerHTML = '<a href="' + _hea.hs[ _idx ][ 0 ] + '">' + _hea.hs[ _idx ][ 1 ] + '</a>';
	_tim = setTimeout( __hea, 5000 );
	};
function __nav( _obj ) {
	var _i, _str;
	_str = '';
	for ( _i in _obj )
		if ( _obj[ _i ][ 1 ] )
			_str += '<a href="' + _obj[ _i ][ 1 ] + '">' + _obj[ _i ][ 0 ] + '</a><span>/</span>';
		else
			_str += _obj[ _i ][ 0 ];
	document.write( _str );
	}
function __onl() {
	_uacct = 'UA-2221054-1';
	urchinTracker();
	}
function __sta( _s ) {
	var _ca, _label, _other, _us;
	_ca = document.getElementById( 'state-ca' );
	_label = document.getElementById( 'state-label' );
	_other = document.getElementById( 'state-other' );
	_us = document.getElementById( 'state-us' );
	if ( _s.options[ _s.selectedIndex ].value == 'Canada' ) {
		_other.style.display = _us.style.display = 'none';
		_label.innerHTML = 'Province';
		_ca.style.display = 'block';
		}
	else if ( _s.options[ _s.selectedIndex ].value == 'United States' ) {
		_ca.style.display = _other.style.display = 'none';
		_label.innerHTML = 'State';
		_us.style.display = 'block';
		}
	else {
		_ca.style.display = _us.style.display = 'none';
		_label.innerHTML = 'State/Province';
		_other.style.display = 'block';
		}
	};
function __val_enews( _f ) {
	if ( _f.email.value.match( /@.+\./ ) )
		return true;
	else {
		alert( 'Please provide your email address.' );
		if ( _f.email.value.match( / / ) )
			_f.email.value = '';
		_f.email.focus();
		return false;
		}
	};
function __val_reg( _f ) {
	if ( _f.first_name.value )
		if ( _f.last_name.value )
			if ( _f.username.value )
				if ( _f.password.value )
					if ( _f.password.value == _f.verify_password.value )
						if ( _f.email.value )
							if ( _f.phone.value )
								if ( _f.title.value )
									if ( _f.company.value )
										if ( _f.country.selectedIndex ) {
											if ( ( _f.country.options[ _f.country.selectedIndex ].value == 'Canada' ) && ( ! _f.state_ca.selectedIndex ) )
												return __ale( _f.state_ca, 'Province' );
											else if ( ( _f.country.options[ _f.country.selectedIndex ].value == 'United States' ) && ( ! _f.state_us.selectedIndex ) )
												return __ale( _f.state_us, 'State' );
											}
										else return __ale( _f.country, 'Country' );
									else return __ale( _f.company, 'Company' );
								else return __ale( _f.title, 'Title' );
							else return __ale( _f.phone, 'Phone' );
						else return __ale( _f.email, 'Email' );
					else return __ale( _f.password, '', 'Password and verify password do not match.' );
				else return __ale( _f.password, 'Password' );
			else return __ale( _f.username, 'Username' );
		else return __ale( _f.last_name, 'Last Name' );
	else return __ale( _f.first_name, 'First Name' );
	return true;
	};