	//
	function attach_onclick_event( e, a ) {
		if ( e.addEventListener ) {
			e.addEventListener( 'click', a, false );
		}
		else if ( e.attachEvent ) {
			e.attachEvent( 'onclick', a );
		}
	}
	
	function remove_onclick_event( e, a ) {
		if ( e.removeEventListener ) {
			e.removeEventListener( 'click', a, false );
		} 
		else if ( e.detachEvent ) {
			e.detachEvent( 'onclick', a );
		}
	}
	//
	
	//
	function validate_paper_search( f ) {
		var z = f.zip_code.value;
		if ( !z 
				|| z.replace( /\s/g, '' ) == '' 
				|| z == 'Enter ZIP Code' 
				|| z.match( /\D/ ) ) {
			alert( 'Please enter a ZIP code to search.' );
			return false;
		}
	}
	//

