//Array of officers of the club.  11 x positions, name, phones, email ID, email ISP
//Used in meet_officers.htm
var Officers = [
["President:","Geoff Taylor","home 9844 2041, mobile 0428 319 478<br>","taylorfamily","netspace.net.au"],
["Secretary:","Ian Abell","home 9879 4367, mobile 0419 396 816<br>","ian","abell.ws"],
["Treasurer:","David Dobbs","home 9872 4515, work 9872 5822<br>fax 9872 5129, mobile 0413 669 399<br>","david.dobbs15","gmail.com"],
["1st Vice President:","David Dobbs","home 9872 4515, work 9872 5822<br>fax 9872 5129, mobile 0413 669 399<br>","david.dobbs15","gmail.com"],
["2nd Vice President:","John Boyle","home 9844 3120, mobile 0409 561 283<br>","kerrieandjohnboyle","gmail.com"],
["3rd Vice President:","David Englefield","home 9435 7263<br>","djeandcje","bigpond.com"],
["Immediate Past President:","Bill Gerritsen","home 9434 3270, work 9432 5166<br>mobile 0429 325 166<br>","bill.gerritsen","bigpond.com.au"],
["Tail Twister:","Lauri Hilakari","home 9840 7335, mobile: 0419 594 366<br>","lhilakari","hotmail.com"],
["Lion Tamer:","Brian Wales","home 9844 1986, mobile 0416 629 011<br>","diss","alphalink.com.au"],
["Membership Chairman:","Jenni Dean","home 9879 9058,<br>","jaedee49","hotmail.com"],
["Public Officer:","David Dobbs","home 9872 4515, work 9872 5822<br>fax 9872 5129, mobile 0413 669 399<br>","david.dobbs15","gmail.com"]
]
/*
//Array of member names and awards. Note no comma after last sub array
//Used in presiden.htm Members section
//AS OF 2/1/2012 this is no longer USED. Instead inormation is from MySQL database
var Member = [
["Ian", "Abell", "(L)(C)(MJF)(LVA)(SA)"],
["Trevor", "Barr", "(JDR)"],
//["John", "Baxter", ""],
["Charles", "Brincat", ""],
["John", "Boyle", ""],
["Ron", "Cuthbert", "(MJF)(L)"],
["Dominic", "Cruz", ""],
["Jayant", "Dagore", ""],
["Garry", "Clues", "(JMA)(MJF)"],
["David", "Dobbs", "(MJF)(JDR)(SA)"],
["Bill", "Gerritsen", ""],
//["George", "Girgis", ""],
["Lauri", "Hilakari", "(LVA)"],
["Geoffrey", "Wood", ""],
["Peter", "Watts", "(C)(JDR)(MJF)(BCA)"],
["Brian", "Wales", "(LVA)"],
["Chris", "Viney", ""],
["Geoffrey", "Taylor", "(LVA)(WTF)(MJF)(JMA)"],
["David", "Tapper", ""],
["Daniel", "Singh", ""],
["Ian", "Shugg", "(L)"],
["Carl", "Sanders", "(JDR)"],
["Tony", "Rowe", ""],
["Denis", "Robertshaw", "(LVA)(JDR)"],
["Dieter", "Retz", "(MJF)(LVA)(JMA)"],
["Liz", "Prewett", ""],
//["Danny", "Pennacchio", ""],
["John", "Mitton", "(MJF)"],
["Pete", "Moloney", ""],
["John", "Papas", ""],
["David", "Englefield", ""],
//["Andrew", "Follows", ""],
["Robert", "Klaij", ""],
["Garry", "Miller", ""],
["Jon", "Elam", ""],
["Andrew", "Crossley", ""],
//["Greg", "McNamara", ""],
["Robyn", "Wheatley", ""],
["Jenni", "Dean", ""],
["Albert", "Mijat", ""],
["Jock", "Macneish","(H)"],
["Sam", "Mechkaroff", ""]
]
//Used to sort array in ascending order of surnames
function mySorting(a,b) {
	a = a[1];
	b = b[1];
	return a == b ? 0 : (a < b ? -1 : 1);
}
*/
function mail(account, domain, realname)
{
  document.write("<a href='mai" + "lto:" + account + "&#64;" + domain + "'><img border='0' src='images/mail.gif' \
    alt='[EMail]' width='15' height='12' /><font color='#660099'>" + realname + "</font></a>");
}

function xmail(account, domain)
{
  document.write("<a href='mai" + "lto:" + account + "&#64;" + domain + "'><img border='0' src='images/mail.gif' \
    alt='[EMail]' width='15' height='12' /><font color='#660099'>" + account + "&#64;" + domain + "</font></a>");
}
//
//  document.write("<a href='mai" + "lto:" + account + "&#64;" + domain + "'><img border='0' src='mail.gif' \
//    alt='[EMail]' width='15' height='12' /><font color='#660099'>" + account + "<img align=middle border='0' src='at-1.gif' \
//    alt='@' width='15' height='15' />" + domain + "</font></a>");
function zmail(account, domain, subject)
{
	var link = unescape("%6D%61%69%6C%74%6F%3A") + account + unescape("%40") + domain + "?subject=" + subject;
	window.location.href = link;	
}

function Login(){
var done=0;
var ntrikey=document.login.password.value;
ntrikey=ntrikey.toLowerCase();
if (ntrikey==unescape("%73%65%74%75%6E%69%6D")) { window.location="procedures.htm"; done=1; }
if (done==0) { window.location="index.htm"; }
}
function setFocus() {
document.login.password.focus();
}


function newWindow(url, height, width) {
	 var left   = screen.width/2  - (width/2);
	 var top    = screen.height/2 - (height/2);
	 var params = 'width='+width+', height='+height;
	 params += ', top='+top+', left='+left;
	 params += ', directories=no';
	 params += ', location=no';
	 params += ', menubar=no';
	 params += ', resizable=no';
	 params += ', scrollbars=yes';
	 params += ', status=no';
	 params += ', toolbar=no';
	 newwin=window.open(url,'', params);
	 if (url=='pdf/indemnity.pdf') {
		 setTimeout("EnableChkBox()",270000);		//4.5 minutes
	 } 
}

function playSound(soundfile) {
	document.getElementById('dummy').innerHTML=
	 '<embed src='+soundfile+' hidden="true" autostart="true" loop="false" />';
	setTimeout("EnableChkBox()",285000);			//4 minutes 45 seconds
}	
function EnableChkBox() {
	chkbox=document.getElementById('okay');			//enable if this document viewed or listened to in itds_application.php
	if(chkbox != null) {chkbox.disabled = false;}
}

