function MM_jumpMenu(targ,selObj,restore){ //v3.0
 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
 if (restore) selObj.selectedIndex=0;
}

function none () {
  ;
}

 function winPopup(nf,w,h) {
   var l = Math.floor((screen.width-w)/2);
   var t = Math.floor((screen.height-h)/2);
   window.open(nf,"new_win","width=" + w + ",height=" + h + ",top=" + t + ",left=" + l + ",resizable=no,modal=yes,center=yes;scroll=no;status=no");
 }

function getHtml (idfrom ,idto) {
  if (opener) {
	  alert (opener.document.all[idfrom].innerHTML);

    document[idto].innerHTML = opener.document[idfrom].innerHTML;

  }
}


  // JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}
  // JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}

function goSubmit (f,v) {
     var reEmail = /^.+\@.+\..+$/
    if ( reEmail.test(v.value) == false ) {
      alert ("Proper email is required to modify or delete data");  
      v.focus();
    } else {
      f.fetch.value = v.value; 
      f.submit(); 
    }
}

