// Write the email request page//   f contains reference to the formfunction writeForm(f) {	// path to pop-up page	var popPage=f.action;	// form data to send	popPage+="?";	var i = f.getElementsByTagName('input');	for (var j=0;j<i.length;j++) {		if(i[j].value) popPage+=i[j].name+"="+encodeURIComponent(i[j].value)+"&";	}	//alert(popPage);	// open pop-up window	var emailPg = window.open(popPage,"emailPg","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=yes,width=200,height=200,left=100,top=100");	return false;}function D(id){   var d=null;   if (document.getElementById) d=document.getElementById(id);   else if (document.all) d=document.all[id];   return d;}// add encodeURIComponent to old javascript implementations *KLUDGE*if (typeof(encodeURIComponent)=='undefined') {	function encodeURIComponent(tx) {		return escape(tx);	}}