// JavaScript Document
function send_tell_a_friend(theForm){
	var get_str;
   for (i = 0; i < theForm.length; i++){
	   if((theForm.elements[i].type == 'checkbox' || theForm.elements[i].type == 'radio') && !theForm.elements[i].checked) continue; //if it's a check box, make sure it's checked, the value is always the value regardless of if it's checked.
	   if(theForm.elements[i].value == '' || "undefined" == theForm.elements[i].value || theForm.elements[i].value == null) continue;
      get_str += "&"+escape(theForm.elements[i].name) + '='+escape(theForm.elements[i].value);
   }
	get_str = trim(get_str,'&');
	if(get_str)	do_dynamic_js('/javascript/tell_a_friend.php?'+get_str);
}

//include the dynamic js functions:
document.write('<scr'+'ipt type=\'text/javascript\' src=\'http://images.lancasteronline.com/javascript/dynamic.js\'></scr'+'ipt>');

//include the dhtml js functions:
document.write('<scr'+'ipt type=\'text/javascript\' src=\'http://images.lancasteronline.com/javascript/dhtml.js\'></scr'+'ipt>');

//include the trim js functions:
document.write('<scr'+'ipt type=\'text/javascript\' src=\'http://images.lancasteronline.com/javascript/trim.js\'></scr'+'ipt>');