
window.smfAnnouncements = [
	{
		subject: 'SMF 2.0.7 released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=517205.0',
		time: 'January 20, 2014, 09:48:07 PM',
		author: 'Oldiesmann',
		message: 'A patch has been released, addressing several bugs, including PHP 5.5 compatibility.  We urge all forum administrators to upgrade to SMF 2.0.7&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.6 and 1.1.19 security patches have been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=512964.0',
		time: 'October 22, 2013, 09:00:00 AM',
		author: 'Illori',
		message: 'Critical security patches have been released, addressing few vulnerabilities in SMF 2.0.x and SMF 1.1.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.5 security patches has been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=509417.0',
		time: 'August 12, 2013, 08:34:06 PM',
		author: 'Oldiesmann',
		message: 'A critical security patch has been released, addressing a few vulnerabilities in SMF 2.0.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.4 and 1.1.18 security patches have been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=496403.0',
		time: 'February 01, 2013, 05:27:00 PM',
		author: 'emanuele',
		message: 'Critical security patches have been released, addressing few vulnerabilities in SMF 2.0.x and SMF 1.1.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.3, 1.1.17 and 1.0.23 security patches have been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=492786.0',
		time: 'December 16, 2012, 11:41:05 PM',
		author: 'emanuele',
		message: 'Security patches have been released, addressing a vulnerability in SMF 2.0.x, SMF 1.1.x and SMF 1.0.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.2 and 1.1.16 security patches have been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=463103.0',
		time: 'December 23, 2011, 12:41:31 AM',
		author: 'Norv',
		message: 'Critical security patches have been released, addressing vulnerabilities in SMF 2.0.x and SMF 1.1.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.1 and 1.1.15 security patches have been released.',
		href: 'http://www.simplemachines.org/community/index.php?topic=452888.0',
		time: 'September 18, 2011, 04:48:18 PM',
		author: 'Norv',
		message: 'Critical security patches have been released, addressing vulnerabilities in SMF 2.0 and SMF 1.1.x. We urge all administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0 Gold',
		href: 'http://www.simplemachines.org/community/index.php?topic=421547.0',
		time: 'June 04, 2011, 05:00:00 PM',
		author: 'Norv',
		message: 'SMF 2.0 has gone Gold! Please upgrade your forum from older versions, as 2.0 is now the stable version, and mods and themes will be built on it.'
	},
	{
		subject: 'SMF 1.1.13, 2.0 RC4 security patch and SMF 2.0 RC5 released',
		href: 'http://www.simplemachines.org/community/index.php?topic=421547.0',
		time: 'February 11, 2011, 03:16:35 PM',
		author: 'Norv',
		message: 'Simple Machines announces the release of important security patches for SMF 1.1.x and SMF 2.0 RC4, along with the fifth Release Candidate of SMF 2.0. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 2.0 RC4 and SMF 1.1.12 released',
		href: 'http://www.simplemachines.org/community/index.php?topic=407256.0',
		time: 'November 01, 2010, 12:14:21 PM',
		author: 'Norv',
		message: 'Simple Machines is pleased to announce the release of the fourth Release Candidate of SMF 2.0, along with an important security patch for SMF 1.1.x. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 2.0 RC3 Public released',
		href: 'http://www.simplemachines.org/community/index.php?topic=369616.0',
		time: 'March 08, 2010, 06:03:11 PM',
		author: 'Aaron',
		message: 'Simple Machines is pleased to announce the release of the third Release Candidate of SMF 2.0. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 1.1.11 released',
		href: 'http://www.simplemachines.org/community/index.php?topic=351341.0',
		time: 'December 01, 2009, 05:59:19 PM',
		author: 'SleePy',
		message: 'A patch has been released, addressing multiple vulnerabilites.  We urge all forum administrators to upgrade to 1.1.11. Simply visit the package manager to install the patch. Also for those still using the 1.0 branch, version 1.0.19 has been released.'
	},
	{
		subject: 'SMF 2.0 RC2 Public released',
		href: 'http://www.simplemachines.org/community/index.php?topic=346813.0',
		time: 'November 08, 2009, 07:10:03 PM',
		author: 'Aaron',
		message: 'Simple Machines is very pleased to announce the release of the second Release Candidate of SMF 2.0. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 1.1.10 and 2.0 RC1.2 released',
		href: 'http://www.simplemachines.org/community/index.php?topic=324169.0',
		time: 'July 14, 2009, 07:05:19 PM',
		author: 'Compuart',
		message: 'A patch has been released, addressing a few security vulnerabilites.  We urge all forum administrators to upgrade to either 1.1.10 or 2.0 RC1.2, depending on the current version. Simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1.9 and 2.0 RC1-1 released',
		href: 'http://www.simplemachines.org/community/index.php?topic=311899.0',
		time: 'May 20, 2009, 08:40:41 PM',
		author: 'Compuart',
		message: 'A patch has been released, addressing multiple security vulnerabilites.  We urge all forum administrators to upgrade to either 1.1.9 or 2.0 RC1-1, depending on the current version. Simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0 RC1 Public Released',
		href: 'http://www.simplemachines.org/community/index.php?topic=290609.0',
		time: 'February 04, 2009, 11:10:01 PM',
		author: 'Compuart',
		message: 'Simple Machines are very pleased to announce the release of the first Release Candidate of SMF 2.0. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 1.1.8',
		href: 'http://www.simplemachines.org/community/index.php?topic=290608.0',
		time: 'February 04, 2009, 11:08:44 PM',
		author: 'Compuart',
		message: 'A patch has been released, addressing multiple security vulnerabilites.  We urge all forum administrators to upgrade to SMF 1.1.8&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1.7',
		href: 'http://www.simplemachines.org/community/index.php?topic=272861.0',
		time: 'November 07, 2008, 02:15:36 PM',
		author: 'Compuart',
		message: 'A patch has been released, addressing multiple security vulnerabilites.  We urge all forum administrators to upgrade to SMF 1.1.7&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1.6',
		href: 'http://www.simplemachines.org/community/index.php?topic=260145.0',
		time: 'September 07, 2008, 04:38:05 AM',
		author: 'Compuart',
		message: 'A patch has been released fixing a few bugs and addressing a security vulnerability.  We urge all forum administrators to upgrade to SMF 1.1.6&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1.5',
		href: 'http://www.simplemachines.org/community/index.php?topic=236816.0',
		time: 'April 20, 2008, 09:56:14 PM',
		author: 'Compuart',
		message: 'A patch has been released fixing a few bugs and addressing some security vulnerabilities.  We urge all forum administrators to upgrade to SMF 1.1.5&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0 Beta 3 Public Released',
		href: 'http://www.simplemachines.org/community/index.php?topic=228921.0',
		time: 'March 17, 2008, 03:20:21 PM',
		author: 'Grudge',
		message: 'Simple Machines are very pleased to announce the release of the first public beta of SMF 2.0. Please visit the Simple Machines site for more information on how you can help test this new release.'
	},
	{
		subject: 'SMF 1.1.4',
		href: 'http://www.simplemachines.org/community/index.php?topic=196380.0',
		time: 'September 24, 2007, 09:07:36 PM',
		author: 'Compuart',
		message: 'A patch has been released to address some security vulnerabilities discovered in SMF 1.1.3.  We urge all forum administrators to upgrade to SMF 1.1.4&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0 Beta 1 Released to Charter Members',
		href: 'http://www.simplemachines.org/community/index.php?topic=190812.0',
		time: 'August 25, 2007, 07:29:25 AM',
		author: 'Grudge',
		message: 'Simple Machines are pleased to announce the first beta of SMF 2.0 has been released to our Charter Members. Visit the Simple Machines site for information on what\'s new'
	},
	{
		subject: 'SMF 1.1.3',
		href: 'http://www.simplemachines.org/community/index.php?topic=178757.0',
		time: 'June 24, 2007, 09:52:40 PM',
		author: 'Thantos',
		message: 'A number of small bugs and a potential security issue have been discovered in SMF 1.1.2.  We urge all forum administrators to upgrade to SMF 1.1.3&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1.2',
		href: 'http://www.simplemachines.org/community/index.php?topic=149553.0',
		time: 'February 11, 2007, 08:35:45 AM',
		author: 'Grudge',
		message: 'A patch has been released to address a number of outstanding bugs in SMF 1.1.1, including several around UTF-8 language support. In addition this patch offers improved image verification support and fixes a couple of low risk security related bugs. If you need any help upgrading please visit our forum.'
	},
	{
		subject: 'SMF 1.1.1',
		href: 'http://www.simplemachines.org/community/index.php?topic=134971.0',
		time: 'December 17, 2006, 09:33:41 AM',
		author: 'Grudge',
		message: 'A number of small bugs and a potential security issue have been discovered in SMF 1.1. We urge all forum administrators to upgrade to SMF 1.1.1 - simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 1.1',
		href: 'http://www.simplemachines.org/community/index.php?topic=131008.0',
		time: 'December 02, 2006, 02:53:16 PM',
		author: 'Grudge',
		message: 'SMF 1.1 has gone gold!  If you are using an older version, please upgrade as soon as possible - many things have been changed and fixed, and mods and packages will expect you to be using 1.1.  If you need any help upgrading custom modifications to the new version, please feel free to ask us at our forum.'
	},
	{
		subject: 'SMF 1.0.9 and patch for SMF 1.1 RC3',
		href: 'http://www.simplemachines.org/community/index.php?topic=123285.0',
		time: 'October 29, 2006, 05:57:14 AM',
		author: 'Compuart',
		message: 'A security issue has been discovered in both SMF 1.0 and SMF 1.1. Therefore a patch has been released that will upgrade SMF 1.0.8 to 1.0.9 and update SMF 1.1 RC3. You are encouraged to update immediately, using the package manager or otherwise.'
	},
	{
		subject: 'SMF 1.1 RC3',
		href: 'http://www.simplemachines.org/community/index.php?topic=107112.0',
		time: 'August 21, 2006, 07:32:19 PM',
		author: 'Grudge',
		message: 'Release Candidate 3 of SMF 1.1 has been released! This is the final update to SMF 1.1 before it goes final - and includes UTF support as well as numerous bug fixes. Please read the announcement for details - and only upgrade if you are comfortable running software yet to go gold.'
	},
	{
		subject: 'SMF 1.0.8',
		href: 'http://www.simplemachines.org/community/index.php?topic=107135.0',
		time: 'August 21, 2006, 07:32:19 PM',
		author: 'Compuart',
		message: 'A security issue has been reported in PHP causing a vulnerability in SMF. A patch has been released to upgrade Simple Machines Forum from 1.0.7 to 1.0.8. You are encouraged to update immediately, using the package manager or otherwise.'
	},
	{
		subject: 'SMF 1.0.7 and patch for SMF 1.1 RC2',
		href: 'http://www.simplemachines.org/community/index.php?topic=78841.0',
		time: 'March 29, 2006, 05:32:12 PM',
		author: 'Compuart',
		message: 'A security issue has been discovered in both SMF 1.0 and SMF 1.1. Therefor a patch has been released that will upgrade SMF 1.0.6 to 1.0.7 and update SMF 1.1 RC2. You are encouraged to update immediately, using the package manager or otherwise.'
	},
	{
		subject: 'SMF 1.0.6',
		href: 'http://www.simplemachines.org/community/index.php?topic=68110.0',
		time: 'January 28, 2006, 06:36:25 AM',
		author: 'Grudge',
		message: 'SMF 1.0.6 has been released.  This release addresses a potential security issue as well as a few minor bugs found since the 1.0.5 release. You are encouraged to update immediately, using the package manager or otherwise. This update does not apply to the 1.1 line!'
	},
	{
		subject: 'Bug in Firefox 1.5',
		href: 'http://www.simplemachines.org/community/index.php?topic=66862.0',
		time: 'January 24, 2006, 08:09:45 AM',
		author: 'Grudge',
		message: 'There is a bug in Firefox 1.5 which can cause server issues for forums running SMF 1.1 (RC1/RC2). There is a simple fix which can be downloaded from the Simple Machines forum.'
	},
	{
		subject: 'SMF 1.1 RC2',
		href: 'http://www.simplemachines.org/community/index.php?topic=62731.0',
		time: 'December 31, 2005, 02:58:20 PM',
		author: 'Grudge',
		message: 'The second (and final) Release Candidate of SMF 1.1 has been released! Please read the announcement for details - and please update only if you are certain you are comfortable with software that hasn\'t gone gold yet. There is no package manager style update for this version.'
	}
];
if (window.smfVersion < "SMF 1.1")
{
	window.smfUpdateNotice = 'SMF 1.1 Final has now been released. To take advantage of the improvements available in SMF 1.1 we recommend upgrading as soon as is practical.';
	window.smfUpdateCritical = false;
}

if (document.getElementById("yourVersion"))
{
	var yourVersion = getInnerHTML(document.getElementById("yourVersion"));
	if (yourVersion == "SMF 1.0.4")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_1-0-5_package.tar.gz";
	else if (yourVersion == "SMF 1.0.5" || yourVersion == "SMF 1.0.6")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.7_1.1-RC2-1.tar.gz";
		window.smfUpdateCritical = false;
	}
	else if (yourVersion == "SMF 1.0.7")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_1-0-8_package.tar.gz";
	else if (yourVersion == "SMF 1.0.8")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1-0-9_1-1-rc3-1.tar.gz";
	else if (yourVersion == "SMF 1.0.9")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_1-0-10_patch.tar.gz";
	else if (yourVersion == "SMF 1.0.10" || yourVersion == "SMF 1.1.2")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.3_1.0.11.tar.gz";
	else if (yourVersion == "SMF 1.0.11" || yourVersion == "SMF 1.1.3" || yourVersion == "SMF 2.0 beta 1")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.12_1.1.4_2.0.b1.1.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.0.12" || yourVersion == "SMF 1.1.4" || yourVersion == "SMF 2.0 beta 3 Public")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.13_1.1.5_2.0-b3.1.zip";
	else if (yourVersion == "SMF 1.0.13" || yourVersion == "SMF 1.1.5")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.14_1.1.6.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.0.14" || yourVersion == "SMF 1.1.6")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.15_1.1.7.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.0.15" || yourVersion == "SMF 1.1.7")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.16_1.1.8.zip";
		window.smfUpdateCritical = false;
	}
	else if (yourVersion == "SMF 1.0.16" || yourVersion == "SMF 1.1.8" || yourVersion == "SMF 2.0 RC1")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.17_1.1.9_2.0-RC1-1.zip";
	else if (yourVersion == "SMF 1.0.17" || yourVersion == "SMF 1.1.9" || yourVersion == "SMF 2.0 RC1-1")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.18_1.1.10-2.0-RC1.2.zip";
	else if (yourVersion == "SMF 1.0.18" || yourVersion == "SMF 1.1.10")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.19_1.1.11.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.0.19" || yourVersion == "SMF 1.1.11")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.20_1.1.12.tar.gz";
	}
	else if (yourVersion == "SMF 1.0.20" || yourVersion == "SMF 1.1.12")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.21_1.1.13.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.14")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.15.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.1.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.15" || yourVersion == "SMF 1.0.21")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.22_1.1.16.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.1")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.2.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.16" || yourVersion == "SMF 1.0.22")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.23_1.1.17.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.17")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.18.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.2")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.3.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.3")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.4.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.4")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.5.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.18" || yourVersion == "SMF 2.0.5")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.19_2.0.6.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_1-1-1_patch.tar.gz";
	else if (yourVersion == "SMF 1.1.1")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_1-1-2_patch.tar.gz";
}

if (document.getElementById('credits'))
	setInnerHTML(document.getElementById('credits'), getInnerHTML(document.getElementById('credits')).replace(/anyone we may have missed/, '<span title="And you thought you had escaped the credits, hadn\'t you, Zef Hemel?">anyone we may have missed</span>'));
