\")");*/
//if(securityError == 0){
if (errors) {
alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = false
//return false
//document.MM_returnValue = (errors == '');
}else{
//return true
document.MM_returnValue = true
}
//}else{
//document.MM_returnValue = false
//}
}
function processCaptcha(){
args1=processCaptcha.arguments;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
var http = new ActiveXObject("Microsoft.XMLHTTP");
}else{
var http = new XMLHttpRequest();
}
//valStr = validationString
process();
var nocache = 0;
function process(){
var urlchallenge= Recaptcha.get_challenge();
var urlresponse= Recaptcha.get_response();
nocache = Math.random();
http.open('get', 'captcha.cfm?challenge='+urlchallenge+'&response='+urlresponse+'&nocache='+nocache);
http.onreadystatechange = insertReply;
http.send(null);
}
function insertReply(){
if(http.readyState == 4){
document.getElementById("content").innerHTML = http.responseText
var response = http.responseText;
var validCheck = response.match('security');
if (validCheck >= 0){
//validate other fields
var i,p,q,nm,test,num,min,max,errors='';
for (i=0; i<(args1.length-2); i+=3) {
test=args1[i+2]; val=MM_findObj(args1[i]);
if (val) {
nm=args1[i];
if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) {
p=val.indexOf('@');
if (p<1 || p==(val.length-1))
errors+='- '+document.getElementById("error" + nm.substring(8,nm.length)).innerHTML+' must contain an e-mail address.\n';
} else
if (test!='R') {
num = parseFloat(val);
if (isNaN(val))
errors+='- '+document.getElementById("error" + nm.substring(8,nm.length)).innerHTML+' must contain a number.\n';
if (test.indexOf('inRange') != -1) {
p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if ( min > num || max < num)
errors+='- '+document.getElementById("error" + nm.substring(8,nm.length)).innerHTML+' must contain a number between '+min+' and '+max+'.\n';
}
}
}else
if (test.charAt(0) == 'R'){
errors += '- '+document.getElementById("error" + nm.substring(8,nm.length)).innerHTML+' is required.\n';
}
}
}
//end of valiadting field
// if errors then show errors otherwise submit.
if (errors) {
alert('The following error(s) occurred:\n'+errors);
Recaptcha.reload();
}else{
document.surveyform.submit();
}
//var ret = MM_validateForm(valStr)
//document.getElementById("surveyform").onSubmit=function(){MM_validateForm(valStr);return document.MM_returnValue};
//document.surveyform.submit();
//alert(ret)
}else{
Recaptcha.reload();
}
}
}
}
function pausecomp(millis)
{
var date = new Date();
var curDate = null;
do { curDate = new Date(); }
while(curDate-date < millis);
}
//-->
SAVE THE DATE...Celebrity Roast to honor Dr. Joseph "Doc" Mattioli on Wednesday, Oct. 20, at Paradise Stream Resort in Mount Pocono. Click here for more information.
Monroe County Youth Program Inventory Project
The United Way of Monroe County, in partnership with Pocono Alliance
and Community Partners of the Poconos, is looking for additional youth programs
to be included in a new online resource. Programs can include
after-school, weekend, and/or summer activities for young people ages 12 to
19. Providers have until August 1 to enter their data via the United Way’s
Web site.
The Monroe County Youth Program Inventory Project kicked off
last fall and has been collecting information since February. Data on
approximately 30 local agencies/organizations has been gathered to date.
When the inventory is done, the resource will be available to the community as
both a hard copy publication and through Pocono Alliance’s PoconoInfo Web site,
www.poconoinfo.org. This database will
be available by September.
The Monroe County Youth Program Inventory Project has been
funded with a $12,278 Community Service Block Grant from the American Recovery
and Reinvestment Act. This grant covers expenses such as project coordination
and administration and Web site fees. The initiative also has the backing and
support of the Monroe County Commissioners.
Seven students from Pocono Mountain East High School and
Evergreen Community Charter School are involved in the project’s
implementation. They are helping to research existing programs and contact
youth program providers to enter their services online.
United Way’s TeenWorks program is a sponsor of the joint
initiative and is providing stipends for the students who are helping with the
database. Participating students also have the chance to win prizes donated by
local businesses.
Youth program providers/agencies can input their information
securely online. First call the United Way office for the password at 570-629-5657. Then click the "Youth Inventory" button on the left.