<!--<CACHEEXPIRY>9/14/2010 11:40:43 PM</CACHEEXPIRY> -->
var Co_Translations = {};
Co_Translations.Language = "en";
Co_Translations.PageDirection = "ltr";
Co_Translations.LeftAlign = "Left";
Co_Translations.RightAlign = "Right";
Co_Translations.LikeWhatYouveRead = 'Like What You\'ve Read?';
Co_Translations.Subject = 'Subject';
Co_Translations.CharactersRemaining = 'Characters Remaining';
Co_Translations.Name = 'Name';
Co_Translations.DisplayNameAsAnonymous = 'Display my name as anonymous.';
Co_Translations.Email = 'Email';
Co_Translations.Phone = 'Phone';
Co_Translations.City = 'City';
Co_Translations.Submit = 'Submit';
Co_Translations.SubmitComment = 'Submit Comment';
Co_Translations.StateCountry = 'State/Country';
Co_Translations.IndicatesRequiredField = '* indicates a required field';
Co_Translations.PostingGuidlines = 'Posting Guidelines';
Co_Translations.PleaseContactMeForMoreInfo = 'Please have someone contact me for more information';
Co_Translations.WeWillNotDisplayYourEmailAddress = 'We will not display your email address online.';
Co_Translations.AllowMyCommentToBePublic = 'Allow my comments to be publicly read.';
Co_Translations.KeepMyMessagePrivate = 'Keep my message private for Jay\'s family only.';
Co_Translations.DoNotPublishThisMessage = 'Please do not publish this message.';
Co_Translations.YouMayPublishMyExperience = 'You may publish my experience online.';
Co_Translations.PleaseEmailMeWhenNewCommentsArePosted = 'Please email me when new comments are posted';
function doCommentPromo(P_Partner_link, AID)
{
}
function DoOptin()
{
	document.write('<tr><td colspan="2"><div style="font-size:12px;" id="optin_message"><TABLE cellpadding="0" cellspacing="0" border="0" class="h4"><tr><td valign="top"><input type="checkbox" value="true" name="OptIn" checked></td><td  style="padding-left:3px;"><font color="gray"> Please add me to Chabad House-Lubavitch\'s email list.</font></td></tr></table></div></td></tr>');
}
function doCommentFormHeader()
{
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" dir="ltr"><tr><td><table class="commentForm" border="0" align="center" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="8" height="9" align="left" valign="top"><img src="http://w2.clhosting.org/images/new/feedbackTL.gif" width="8" height="9"></td>');
	document.write('<td width="100%" height="9" background="http://w2.clhosting.org/images/new/feedbackT.jpg" style="background-repeat: repeat-x; "></td>');
	document.write('<td width="8" height="9" align="right" valign="top"><img src="http://w2.clhosting.org/images/new/feedbackTR.gif" width="8" height="9"></td>');
	document.write('</tr><tr>');
	document.write('<td width="8" background="http://w2.clhosting.org/images/new/feedbackL.jpg" style="background-repeat:repeat-y; "></td>');
	document.write('<td width="100%" valign="top" background="http://w2.clhosting.org/images/new/feedbackBG.jpg" style="padding-left:3px; padding-right:3px;">');
}
function doCommentFormFooter()
{
	document.write('<td width="8" align="right" valign="top"  background="http://w2.clhosting.org/images/new/feedbackR.jpg" style="background-repeat:repeat-y; ">&nbsp;</td>');
	document.write('</tr><tr>');
	document.write('<td width="8" height="9" valign="top"><img src="http://w2.clhosting.org/images/new/feedbackBL.gif" width="8" height="9"></td>');
	document.write('<td width="100%" height="9" background="http://w2.clhosting.org/images/new/feedbackB.jpg" style="background-repeat: repeat-x;"></td>');
	document.write('<td width="8" height="9" align="right" valign="top"><img src="http://w2.clhosting.org/images/new/feedbackBR.gif" width="8" height="9"></td>');
	document.write('</tr></table></td></tr></table>');
}
function Do_Comment_Form(default_values, no_design, rf_verb, rf_textbox)
{
	var max_length = 1000;
	var include_phone = false;
	var show_call_option = false;
	var privacy_popup = true;
	var script_name = Request.script_name();
	var query_string = Request.Querystring();

	document.writeln('<form style="margin-top:0px;" name="feedbackForm" method="post" action="' + script_name + query_string + '&1=1#comment">');
	document.writeln('<table cellSpacing=2 cellPadding=0 align=center border=0 dir="' + Co_Translations.PageDirection + '" id="co_comments_form">');
	if (!no_design)
	{
		document.writeln('<tr>');
		document.writeln('<td colspan="2">');
		document.writeln('<span class="commentsFormHeader">' + rf_verb + '</span></td>');
		document.writeln('</tr>');
	}

	
	document.writeln('<tr>');
	document.writeln('<td colspan="2" height="4"></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td class="credits" vAlign="top" noWrap align="' + Co_Translations.RightAlign + '"><b>' + Co_Translations.Subject + ':</b></td>');
	document.writeln('<td class="credits"><input class="commentsformInput" style="width: 235px;" name="subject2" type="text" class="formbox" id="subject22" size="51" maxlength="50" value="' + default_values.subject + '"></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td class="credits" vAlign="top" align="' + Co_Translations.RightAlign + '"><b>' + rf_textbox + ':</b></td>');
	document.writeln('<td class="credits"><textarea class="commentsformInput" style="width: 235px;height:130px;" name="textarea2"' + (max_length > 0 ? ' onkeyup="textCounter(this,document.getElementById(\'counterCell\'),' + max_length +');"' : '') + '>' + default_values.message + '</textarea>');
	if (max_length > 0)
	{
		document.writeln('<br />&nbsp;&nbsp;<span id="counterCell">' + max_length + '</span>&nbsp;' + Co_Translations.CharactersRemaining);
	}
	document.writeln('</td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td colspan="2" height="8"></td>');
	document.writeln('</tr>');

	document.writeln('<tr>');
	document.writeln('<td class="credits"width="25%" align="' + Co_Translations.RightAlign + '"><b>' + Co_Translations.Name + '*:</b></td>');
	document.writeln('<td width="295"><input class="commentsformInput" style="width: 235px;" required name="name2" type="text" class="formbox" id="name22" size="51" maxlength="50" value="' + (default_values.full_name != '' ? default_values.full_name : '') + '"></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td align="' + Co_Translations.RightAlign + '"></td>');
	document.writeln('<td class="credits" style="font-size: 10px" vAlign="center" width="295" valign="top"><input id="checkbox2" type="checkbox" value="1" name="checkbox2"' + (default_values.anonymous == '1' ? ' checked' : '') + '> <label for="checkbox2">' + Co_Translations.DisplayNameAsAnonymous + '</label></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td class="credits" align="' + Co_Translations.RightAlign + '"><b>' + Co_Translations.Email + '*:</b></td>');
	document.writeln('<td width="295"><input class="commentsformInput" style="WIDTH: 235px" name="middlename" required value="' + (default_values.email != '' ? default_values.email : '') + '"><input type="hidden" name="email2" value=""/></td>');
	document.writeln('</tr>');
	
	if (include_phone)
	{
		document.writeln('<tr>');
		document.writeln('<td class="credits" align="' + Co_Translations.RightAlign + '"><b>' + Co_Translations.Phone + ':</b></td>');
		document.writeln('<td><input type="text" name="phone" class="commentsformInput" style="width=100px;" size="20"></td>');
		document.writeln('</tr>');
		if (show_call_option)
		{
			document.writeln('<tr>');
			document.writeln('<td></td>');
			document.writeln('<td class="credits"><input type="checkbox" name="CallMe" id="call_me" value="ON"><label for="call_me">' + Co_Translations.PleaseContactMeForMoreInfo + '</label></td>');
			document.writeln('</tr>');
		}
	}
	
	document.writeln('<tr>');
	document.writeln('<td class="credits" align="' + Co_Translations.RightAlign + '"><b>' + Co_Translations.City + '*:</b></td>');
	document.writeln('<td class="credits"><input class="commentsformInput" style="WIDTH: 80px" name="city2" id="city22" value="' + default_values.city + '"> &nbsp; <b>' + Co_Translations.StateCountry + ':</b><input class="commentsformInput" style="WIDTH: 64px" name="state2" id="state22" value="' + default_values.state + '"></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td colspan="2" height="2"><img height="2" border="0" width="1" src="/images/global/spacer.gif"></td>');
	document.writeln('</tr>');
	
	document.writeln('<tr>');
	document.writeln('<td></td>');
	document.writeln('<td class="credits" valign="top">' + Co_Translations.IndicatesRequiredField + '<br>');
	if (privacy_popup)
	{
		document.writeln('<div style="FONT-SIZE: 10px; TEXT-ALIGN: ' + Co_Translations.RightAlign + '"><a onclick="window.open(\'/global/popup/default.asp?imagename=/Images/Global/small-top.gif&amp;aid=114560\',\'schroeder98\',\'width=500,height=500,resizable,status=no,scrollbars=yes\'); return false;" href="javascript:void(0)">' + Co_Translations.PostingGuidlines + '</a></div>');
	}
	else
	{
		document.writeln('<br>' + Co_Translations.WeWillNotDisplayYourEmailAddress);
	}
	document.writeln('</td>');
	document.writeln('</tr>');
	
	if (Co_Translations.Language == 'en')
		{
		document.writeln('<tr>');
		document.writeln('<td colspan="2" class="credits" valign="top" align="center"><input type="checkbox" value="true" id="chk_subscribe" checked name="CommentSubscribe"> <label for="chk_subscribe">' + Co_Translations.PleaseEmailMeWhenNewCommentsArePosted + '</label></td>');
		document.writeln('</tr>');
		}
		
	document.writeln('<tr align="middle">');
	document.writeln('<td class="credits" align="center" style="PADDING-TOP: 7px" vAlign="top" colSpan="2"><input type="image" onmouseover="MM_swapImage(\'commentSubmit\',\'\',\'http://w2.clhosting.org/images/new/commentSubmitover.gif\',1)" onmouseout="MM_swapImgRestore()" height="17" alt="' + Co_Translations.Submit + '" title="' + Co_Translations.SubmitComment + '" onclick="return validateForm(this.form);" src="http://w2.clhosting.org/images/new/commentSubmit.gif" width="78" border="0"	name="commentSubmit" id="commentSubmit"></a></td>');
	document.writeln('</tr>');
		DoOptin();
	document.writeln('</table>');
	document.writeln('<input type="hidden" name="submitted" value="true"><input type="hidden" name="formName" value="feedbackForm">');
	document.writeln('</form>');
}
