// define date objects for the meetings - will be used in checking when the meeting is in the past.
var BIYAug10 = new Date(2010,07,02);
var WinAug10 = new Date(2010,07,09);
var DISAug10 = new Date(2010,07,16);
var WebAug10 = new Date(2010,07,23);
var BIYSep10 = new Date(2010,08,06,19,00);
var WinSep10 = new Date(2010,08,13,19,00);
var DISSep10 = new Date(2010,08,20,19,00);
var WebSep10 = new Date(2010,08,27,19,00);
var BIYOct10 = new Date(2010,09,04,19,00);
var WinOct10 = new Date(2010,09,11,19,00);
var DISOct10 = new Date(2010,09,18,19,00);
var WebOct10 = new Date(2010,09,25,19,00);
var BIYNov10 = new Date(2010,10,01,19,00);
var WinNov10 = new Date(2010,10,08,19,00);
var DISNov10 = new Date(2010,10,15,19,00);
var WebNov10 = new Date(2010,10,22,19,00);
var BIYDec10 = new Date(2010,11,06,19,00);
var WinDec10 = new Date(2010,11,13,19,00);
var DISDec10 = new Date(2010,11,20,19,00);
var WebDec10 = new Date(2010,11,27,19,00);

// define constructor for SIG
function SIG(n, l, e) {
	this.name = n;		// name of SIG
	this.leader = l;	// name of leader/contact
	this.email = e;
	this.caption = SIG_caption;
}

function SIG_caption () {
	var n = this.name;
	var l = this.leader;
	var e = this.email;
	document.write("<div style=\"color:green;\">"+n+" &mdash; <a href=mailto:"+e+">contact"+"</a>/leader: "+l+"</div>");
}

function SIG_display () {
	var d = "<span style=\"font-weight:bold\">" + MDY(this.date) + "</span>";
	var n = (this.name == "")? "": "<br><span style=\"font-weight:bold\">Speaker: </span>" + this.name;
	var a = (this.afil == "")? "": ", " + this.afil;
	var t = (this.title == "")? "": "<br><span style=\"font-weight:bold\">Topic: </span>" + this.title;
	var s = (this.summary == "")? "":"<br><span style=\"color:red;\">" + this.summary + "</span>";
	if ((d+n+t) != "") {document.write("<div style=\"margin-top:3px; color:black; margin-bottom:6px;\">" +
	d + n + a + t + "</div>");}
}

// define constructor for meeting
function SIG_Meeting(d,n,a,t,s) {
	this.date = d; 	// date of meeting
	this.name = n; 	// name of speaker
	this.afil = a;	// afiliation of speaker
	this.title = t;	// title of talk
	this.summary = s; // summary of topic
	this.Display = SIG_display; 
	this.Brief = Display_Mtg;
}

var BIY = new SIG("Build It Yourself SIG", "Fred Townsend", "biysig&#64;svcs.net");
var Win = new SIG("Windows SIG", "Kevin Lynn", "jklynn&#64;sbcglobal.net");
var DIS = new SIG("Digital Imaging SIG", "George Hamma &amp; Richard Eggers", "disig&#64;svcs.net");
var Web = new SIG("Web SIG", "Maury Green", "mauryg3&#64;comcast.net");

// define meeting objects containing a date, speaker, speaker's afiliation, title, and summary. Uses the date objects created above.
var BIYAug2010 = new SIG_Meeting(BIYAug10,
	"",
	"",
	"",
	"");
var WinAug2010 = new SIG_Meeting(WinAug10,
	"",
	"",
	"",
	"");
var DISAug2010 = new SIG_Meeting(DISAug10,
	"",
	"",
	"",
	"");
var WebAug2010 = new SIG_Meeting(WebAug10,
	"",
	"",
	"",
	"");
var BIYSep2010 = new SIG_Meeting(BIYSep10,
	"No meeting",
	"",
	"Labor Day",
	"No meeting");
var WinSep2010 = new SIG_Meeting(WinSep10,
	"Kevin Lynn",
	"WinSIG Leader",
	"Receiving and recording HDTV with Windows 7 Media Center",
	"Kevin will demonstrate using a USB plug-in HDTV tuner to receive free off-the-air HDTV with a portable UHF TV antenna. He will also demonstrate recording and playback of TV shows using Windows Media Center (WMC), which allows you to watch, pause, rewind and record TV on your PC");
var DISSep2010 = new SIG_Meeting(DISSep10,
	"",
	"",
	"Open discussion.",
	"The September meeting will be an open discussion night for members to share images and/or short video clips and discuss techniques and problems with digital imaging.");
var WebSep2010 = new SIG_Meeting(WebSep10,
	"Maurice Green",
	"WebSIG",
	"Building Content for Your Drupal Website: CCK and Views",
	"Completing our discussion of content creation we will discuss the two most popular and important contributed modules in Drupal.  For those who require more specialized content forms there is the Content Creation Kit (CCK) which allows the webmaster to build new types from a variety of field types.");
var BIYOct2010 = new SIG_Meeting(BIYOct10,
	"Maury Green &amp; Robert White",
	"",
	"Hacking and Cracking",
	"Network and System Security");
var WinOct2010 = new SIG_Meeting(WinOct10,
	"Kevin Lynn and Don Heinsen",
	"",
	"Windows Home Server ver. 2 (Vail) ",
	"Windows Home Server (code name \"Vail\") is the version 2 release of Windows Home Server, now based on Windows Server ® 2008 R2. Windows Home Server is part of a long-term vision by Microsoft to create a new platform for the home.");
var DISOct2010 = new SIG_Meeting(DISOct10,
	"Kelly McCathran",
	"Certified Adobe Instructor",
	"Photoshop CS5 for Power Users",
	"In this session we will wow you with some new hot features of Photoshop CS5 and show off some powerful, yet under utilized tools. As always, Kelly will show off tips and tricks that work in many previous versions.");
var WebOct2010 = new SIG_Meeting(WebOct10,
	"",
	"",
	"",
	"");
var BIYNov2010 = new SIG_Meeting(BIYNov10,
	"",
	"",
	"",
	"");
var WinNov2010 = new SIG_Meeting(WinNov10,
	"Kevin Lynn",
	"",
	"",
	"");
var DISNov2010 = new SIG_Meeting(DISNov10,
	"Maury Green",
	"",
	"",
	"");
var WebNov2010 = new SIG_Meeting(WebNov10,
	"Maury Green",
	"",
	"",
	"");
var BIYDec2010 = new SIG_Meeting(BIYDec10,
	"Maury Green",
	"",
	"",
	"");
var WinDec2010 = new SIG_Meeting(WinDec10,
	"Kevin Lynn",
	"",
	"",
	"");
var DISDec2010 = new SIG_Meeting(DISDec10,
	"Maury Green",
	"",
	"",
	"");
var WebDec2010 = new SIG_Meeting(WebDec10,
	"Maury Green",
	"",
	"",
	"");

var BIYmtgs = new Array();
BIYmtgs.push(BIYAug2010,BIYSep2010,BIYOct2010,BIYNov2010,BIYDec2010);
var Winmtgs = new Array();
Winmtgs.push(WinAug2010,WinSep2010,WinOct2010,WinNov2010,WinDec2010);
var DISmtgs = new Array();
DISmtgs.push(DISAug2010,DISSep2010,DISOct2010,DISNov2010,DISDec2010);
var Webmtgs = new Array();
Webmtgs.push(WebAug2010,WebSep2010,WebOct2010,WebNov2010,WebDec2010);

