<!--

function organization_newDocument( iDocument, sPath, sTitle, sDate )
{
  this.aPath[ iDocument ]  = sPath;
  this.aTitle[ iDocument ] = sTitle;
  this.aDate[ iDocument]   = sDate;	
}

function organization_setDocument( iDocument )
{
  this.iDocument = iDocument;
}

function organization_selDocument( iDocument )
{
  for (g = 0; g < documents.length; g++)
  {
    if ( documents.options[g].value == iDocument )
      documents.selectedIndex = g;
  }
}

function organization_pickDocument( sDocument )
{
  if ( sDocument == "0" )
    exit;

  this.setDocument( parseInt( sDocument ) );
  this.updtDocument();	
}

function organization_updtDocument()
{
  document_doc.href      = this.aPath[ this.iDocument ] + this.sDoc;
  document_img.src       = this.aPath[ this.iDocument ] + this.sImg;
}

function organization_bldDocument()
{
  sWidth  = "180";   
  sHeight = "240";	
	
  document.writeln("<table border='0' cellpadding='0' cellspacing='0' align='center' width='100%'>");
  document.writeln("<tr><td width='100%'>");

document.writeln("<table border='0' cellpadding='0' cellspacing='0' align='center' width='180' height='240'>");
  document.writeln("<tr><td width='100%' colspan='3'>");
  document.writeln("<table id='photo_table' border='1' cellpadding='0' cellspacing='0' align='center' width='" + sWidth + "' height='" + sHeight + "'><tr><td>");
  document.writeln("<a     id='document_doc' href='" + this.aPath[ this.iDocument ] + this.sDoc + "' target='_blank'>");
  document.writeln("<img name='document_img' src='"  + this.aPath[ this.iDocument ] + this.sImg + "' alt ='Click to Open Document' border='0' width='" + sWidth + "' height='" + sHeight + "'></a>");
  document.writeln("</td></tr></table>");
  document.writeln("</td></tr>");
  document.writeln("</table>");		
	
  document.writeln("</td></tr>");	
  document.writeln("<tr><td><p align='center'><b><font id='text_head' face='Arial' size='2'></font></b></td></tr>");		
  document.writeln("<tr><td><p align='center'><em><font id='text_foot' face='Arial' size='2'></font></em></td></tr>");	
  document.writeln("</table>");	
}

function organization()
{
  this.aPath        = new Array();
  this.aTitle       = new Array();
  this.aDate        = new Array();	

  this.iDocument    = 0;

  this.sDoc         = ".pdf";
  this.sImg         = ".jpg";

  this.fontName     = "Arial";
  this.fontSize     = "2";

  this.setDocument  = organization_setDocument;
  this.selDocument  = organization_selDocument;

  this.newDocument  = organization_newDocument;
  this.bldDocument  = organization_bldDocument;

  this.pickDocument = organization_pickDocument;
  this.updtDocument = organization_updtDocument;	
}

//-->
