/* * Copyrighted by Paul Saunders, 2008. * * Redistribution and use of any content in source and/or binary forms, * with or without modification, are permitted provided that the following * conditions are met: * * Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * The name of Paul Saunders and the names of my contributors may not be used to * endorse or promote products derived from this software without specific * prior written permission. * * The content of this web site and the software herein is provided by the * copyright holders and contributors "as is" and any express or implied * warranties, including, but not limited to, the implied warranties of * merchantability and fitness for a particular purpose are disclaimed. * In no event shall the copyright owner or contributors be liable for any * direct, indirect, incidental, special, exemplary, or consequential damages * (including, but not limited to, procurement of substitute goods or services; * loss of use, data, or profits; or business interruption) however caused and * on any theory of liability, whether in contract, strict liability, or tort * (including negligence or otherwise) arising in any way out of the use of * this software, even if advised of the possibility of such damage. */ // IMPORTANT --The event text cannot contain double quotes (") or commas (,) // A total of four (4) events per day will be displayed in the calendar // More than that will display when the day is clicked. // Day Events: // Must have four parameters: "", "Day of Week", "Event", "Event Description" // Use three letter abbreviations for day of week (Sun, Mon, Tue, Wed, Thu, Fri, Sat) // For example: "", "Wed", "Wednesday only event" AddEvent("", "Wed", "Weekly event", "A sample weekly event on Wednesday"); AddEvent("", "Mon", "Weekly event", "A sample weekly event on Monday"); // Date Events: // Must have four parameters: "Date", "", "Event", "Event Description" // First 8 characters in yyyymmdd format for single date events // First 8 characters in 0000mmdd format for every year events // For example: "00000101", "", "New Year"s Day", "New Year"s Day" // For example: "20080827", "", "Event", "Sample event" AddEvent("00000101", "", "New Year's Day", "New Year's Day"); AddEvent("00001225", "", "Christmas Day", "Christmas Day"); AddEvent("20090122", "", "Sample 1", "A sample 1 event...blah...blah...blah"); AddEvent("20090222", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090322", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090422", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090522", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090622", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090722", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090822", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20090922", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20091022", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20091122", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20091222", "", "Sample 2", "A sample 2 event...blah...blah...blah"); AddEvent("20091012", "", "Sample 1", "Sample event #1...blah...blah...blah"); AddEvent("20091012", "", "Sample 2", "Sample event #2...blah...blah...blah"); AddEvent("20091012", "", "Sample 3", "Sample event #3...blah...blah...blah"); AddEvent("20091012", "", "Sample 4", "Sample event #4...blah...blah...blah"); AddEvent("20091025", "", "Sample", "A sample event...blah...blah...blah"); AddEvent("20091112", "", "Sample 1", "Sample event #1...blah...blah...blah"); AddEvent("20091112", "", "Sample 2", "Sample event #2...blah...blah...blah"); AddEvent("20091125", "", "Sample", "A sample event...blah...blah...blah"); AddEvent("20091125", "", "Sample", "A sample event...blah...blah...blah"); AddEvent("20091212", "", "Sample 2", "Sample event #1...blah...blah...blah"); AddEvent("20091212", "", "Sample 2", "Sample event #2...blah...blah...blah"); AddEvent("20091225", "", "Sample", "A sample event...blah...blah...blah");