// make sure two div objects exists on page where error function is used// call as //		return errorDisplay(errMsg,options);	function errorDisplay(errorMsg,options) {		if(!options)		options = 0;					errDispObj = document.getElementById('signupErrorsText');	if (errorMsg!='') {			if ( errDispObj ) {			errMsg = errorMsg.replace(/\n/g,"<br>");;	// copy locally as we are going to do some additional formatting			document.getElementById('signupErrorsText').innerHTML=errMsg;			document.getElementById('signupErrors').style.display='inline';		} else 			alert(errorMsg);		if ( options == 1 )	// i want to be able to bitwise check this			window.parent.location.href='#top';				return false;			} else {		if ( errDispObj ) {			document.getElementById('signupErrors').style.display='none';		}		return true;			}}