function AllFieldsFilled(submittedForm) {
var fieldsNotRequired = new Array()
var fieldCaption = new Array()
/* BEGIN AUTHOR SPECS */
// If you remove any form fields from below you must remove the corresponding
// entry from here.
fieldsNotRequired['fontface'] = true
fieldsNotRequired['music'] = true
fieldsNotRequired['notify'] = true
fieldCaption['to[0]'] = "Recipient\'s name"
fieldCaption['to_email[0]'] = "Recipient\'s email address"
fieldCaption['to[1]'] = "Recipient\'s name"
fieldCaption['to_email[1]'] = "Recipient\'s email address"
fieldCaption['to[2]'] = "Recipient\'s name"
fieldCaption['to_email[2]'] = "Recipient\'s email address"
fieldCaption['from'] = "Your name"
fieldCaption['from_email'] = "Your email address"
fieldCaption['message'] = "The message"
/* END AUTHOR SPECS */
return RequiredFieldsFilled(submittedForm,fieldsNotRequired,fieldCaption)
}
// This javascript was adapted from phpBB
function addEmoticon(text) {
text = ' ' + text + ' ';
if (document.sc_form.message.createTextRange && document.sc_form.message.caretPos) {
var caretPos = document.sc_form.message.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.sc_form.message.focus();
} else {
document.sc_form.message.value += text;
document.sc_form.message.focus();
}
}
كل سنه وانتى طيبه وعقبال 100 سنه اسعد من بعض