// The address# variables can be a single address separated by three lines, two separated by a blank space (address2='&nbsp;'), or three with
// the entire address comprising the variable value (ie address1='<u>Main Address:</u><br />P.O. Box 1234<br />City name, St 12345<br />').
// Also if your address has a suite number, add that in for line 2 (ie address2='P.O. Box 1234<br />Suite A')

var address1 = '<u>Mailing Address:</u>';
var address2 = 'P.O. Box 782047';
var address3 = 'Orlando, Fl 32878-2047';
var phone = '321.251.6067';
var fax = '321.206.3512';

var Email = new Array (
  new EmailDef("General email", "", "info@onlyprofile.org"),
  new EmailDef("Report abuse", "", "abuse@onlyprofile.org"),
  new EmailDef("Ideas for our site", "", "ideas@onlyprofile.org"),
  new EmailDef("Investment relations", "", "invest@onlyprofile.org"),
  new EmailDef("Partnership", "", "partner@onlyprofile.org"),
  new EmailDef("Customer service", "", "service@onlyprofile.org"),
  new EmailDef("Tech support", "", "support@onlyprofile.org"),
  new EmailDef("Webmaster", "", "web@onlyprofile.org")
);


function EmailDef(str01, str02, str03) {
// This is the object constructor function.  It defines the object prototype for the array Properties.
  this.Team = str01;				// defines team user belongs (General, Installation, etc)
  this.Name = str02;				// defines the team name
  this.Addr = str03;				// defines team email address
}




function emailWrite() {
   var i;

   document.write("<ul>");
   document.write("<li>"+address1+"</li><li>"+address2+"</li><li>"+address3+"</li><li>&nbsp;</li><li>"+phone+" [phone]</li><li>"+fax+" [facsimile]</li><li>&nbsp;</li>");
   for (i=0; i<Email.length; i++) {
	document.write("<li>" +  Email[i].Team + "</li>");
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion < 8) { document.write("<br />"); }
	document.write("<li class=\"email\"><a href=\"mailto:" + Email[i].Addr + "\">" + Email[i].Name + " [" + Email[i].Addr + "]</a></li>");
   }
   document.write("</ul>");
}
