// This file contains intellectual property and artistic creations 
// by Dennis Sandow and is copyright 2000-2010 by the author. 
// For use only on websites maintained by Dennis Sandow, or with
// specific permission.  Do not remove this notice.

var FormBoxWidth=450, seloptsList='', FormFrags=new Array(); 
for (x=1; x < FormList.length; x += 1 ){
    FormFrags=FormList[x].split('|'); nextPref='';
    OPX = FormFrags[0];
    ulWord = FormFrags[1]; 
    AddWord=FormFrags[2]; if ( AddWord ) { AddWord=' '+AddWord; };
    if (OPX.charAt(0) == '-') { OPX = OPX.substr(1,99) ; };
    switch (OPX ){
      case ('P'): nextPref='‡‡&nbsp; '; break;
      case ('O'): nextPref='§§&nbsp; '; break;
      case ('D'): nextPref='&nbsp;&nbsp;&nbsp; '; break
      default: nextPref=''
    };
    switch(OPX) {
      case ('D'): break;
      default: seloptsList=seloptsList+'<option value='+x+'>'+nextPref+ulWord+AddWord ;
    };
};
var foText = '<form name=formspop onload=fp.focus() onSubmit="goForms(fp[fp.selectedIndex].value); return false">'+
    '<center>§§ means Submit OnLine<br>‡‡ means Print and Mail<br>'+
    '<select name=fp onChange="goForms(fp[fp.selectedIndex].value); return false">'+seloptsList+
    '</select> then <input type="Submit" value="Click here"></center></form>'+
    '<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;' ; 
function FormsPop(popAlign){ 
  if ( isPrint ) { window.status='This feature is not active on the Printable Page'; return true;};
  if (popAlign == 'LEFT' ) popAlign=LEFT; else popAlign=CENTER ;
  overlib(foText,TIMEOUT,20000,STICKY,CAPTION,'Useful Forms on-line',CLOSETEXT,'Cancel',popAlign,WIDTH,FormBoxWidth,SNAPX,50,STATUS,'Pop up the list of on-line forms');
  return true;
};
function goForms(arg){ 
  FormFrags=FormList[arg].split('|'); 
  linkURL = FormFrags[3];
  OffCounter = FormFrags[4]; 
  if ( linkURL ) { cClick();
    if ( OffCounter ) { NewWd(linkURL,OffCounter); } else { NewWd(linkURL); };
    return;
  };
  window.alert('Select a form or Cancel'); return;
};
// dropin:
// <script type="text/javascript" src="%%43%%%%49%%formlist.js"></script>
// <script type="text/javascript" src="%%43%%%%49%%formspop.js"></script>
// <a href="javascript:void(0)" onMouseover="return FormsPop('LEFT')" class=h>%%85%%\s<b>\sUseful\sforms</b>\s%%85%%</a></td>

