
<!-- Begin
/*----------------------------------------------------------------------------------------
|
|        Halt Script by Josh Miller
|        written for City of Elmira Website
|        @ http://www.cityofelmira.net
|
-------------------------------------------------------------------------------------------*/ 

function address(){
	document.write("<input type='hidden' value='&#104;&#97;&#108;&#116;&#64;&#99;&#105;&#116;&#121;&#111;&#102;&#101;&#108;&#109;&#105;&#114;&#97;&#46;&#110;&#101;&#116;' name='to'>");
	document.write("<input type='hidden' value='EPD Tipline List' name='toname'>");
}

function submitButton(){
	document.write("<input type='submit' value='Submit'>")
}


function HaltInstructions(){
		document.write("        <table border='0' cellpadding='0' cellspacing='0' width='150'>        						");
		now=new Date();hours=now.getHours();
		if (hours > 22 || hours < 5){
			document.write("<tr><td class='rightbar'>&nbsp;CURFEW ALERT</td></tr>        						");
			document.write("<tr><td class='righttext'>It is past 11:00pm:  Do you know where your children are?  Curfew is in effect in the City of Elmira until 5:00am.</td></tr>					");
		}
		document.write("<tr><td class='emergency'><br><br>EMERGENCY -Dial 911<br><br></td></tr>");
		document.write("<tr><td class='emergency'>Tips: Dial 271-HALT<br><br><br><br><br><br></td></tr>");
		document.write("<tr><td class='rightbar' >&nbsp;Details about people:</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Name</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Race/Sex</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Age/Date of Birth</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Height/Weight/Build</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Last Known Address</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Parents/Family/Spouse<br><br></td></tr>");
		document.write("<tr><td class='rightbar' >&nbsp;Details about places:</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Address</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Intersecting Streets</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Color</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Owner/Tenant<br><br></td></tr>");
		document.write("<tr><td class='rightbar' >&nbsp;Details about vehicles:</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;License Plate Number</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Make/Model</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Color/Body Style</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Number of doors<br><br></td></tr>");
		document.write("<tr><td class='rightbar' >&nbsp;Other details:</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;People</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Places</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Actions</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Any other useful details</td></tr>");

	document.write("</table>");
}

function validate(theForm){
	if (theForm.subject.value == ""){
		alert("Please include a subject so we can better use your tip.");
		theForm.subject.focus();
		return (false);
	}

	if (theForm.info.value == ""){
		alert("Please include a tip.");
		theForm.info.focus();
		return (false);
	}


	msg="I UNDERSTAND:" +'\n'+'\n'+ "Submitting this information online may not elicit an immediate response.  Since it is anonymous we will have no way to reply." +'\n'+'\n'+ "IF IT IS AN EMERGENCY THAT REQUIRES AN IMMEDIATE RESPONSE, CALL 911" +'\n'+'\n'+ "If you would like to leave an anonymous message by phone, please call 271-HALT (271-4258)."
	var flag=confirm(msg);
	return (flag);
}	//end function















//-->

