
window.smfAnnouncements = [
	{
		subject: 'SMF 2.1.2 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=582201.0',
		time: '09 May, 2022 r., godz. 12:33:55',
		author: 'Sesquipedalian',
		message: 'SMF 2.1.2 includes security updates and numerous bug fixes. We recommend updating as soon as possible.'
	},
	{
		subject: 'SMF 2.1.1 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=580657.0',
		time: '11 February, 2022 r., godz. 20:25:59',
		author: 'Sesquipedalian',
		message: 'SMF 2.1.1 restores support for PHP 7.0–7.2.'
	},
	{
		subject: 'SMF 2.1.0 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=580585.0',
		time: '09 February, 2022 r., godz. 12:45:53',
		author: 'Sesquipedalian',
		message: 'SMF 2.1 is here! Please upgrade to start enjoying all the benefits of our new recommended version as soon as possible.'
	},
	{
		subject: 'SMF 2.0.19 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=579982.0',
		time: '21 December, 2021 r., godz. 16:45:41',
		author: 'Sesquipedalian',
		message: 'SMF 2.0.19 includes security updates and several bug fixes. We recommend updating as soon as possible.'
	},
	{
		subject: 'SMF 2.1 RC4 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=578135.0',
		time: '10 July, 2021 r., godz. 11:14:15',
		author: 'Suki',
		message: 'Simple Machines is pleased to announce SMF 2.1 RC4. This fourth release candidate brings a number of bugfixes and improvements over SMF 2.1 RC3.'
	},
	{
		subject: 'SMF 2.0.18 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=576577.0',
		time: '01 February, 2021 r., godz. 13:55:41',
		author: 'Suki',
		message: 'SMF 2.0.18 adds compatibility to PHP 7.4 version as well as fixes a few bugs in 2.0.17. We recommend updating as soon as possible.'
	},
	{
		subject: 'SMF 2.1 RC3 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=575228.0',
		time: '15 October, 2020 r., godz. 06:16:48',
		author: 'Suki',
		message: 'Simple Machines is pleased to announce SMF 2.1 RC3. This third release candidate brings a number of bugfixes and improvements over SMF 2.1 RC2.'
	},
	{
		subject: 'SMF 2.0.17 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=571067.0',
		time: '30 December, 2019 r., godz. 19:43:24',
		author: 'Sesquipedalian',
		message: 'SMF 2.0.17 fixes a bug in 2.0.16 that could cause significant performance issues when retrieving RSS feeds, and fixes some warning messages that could appear when using SSI.php. We recommend updating as soon as possible.'
	},
	{
		subject: 'SMF 2.0.16 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=570986.0',
		time: '27 December, 2019 r., godz. 19:44:07',
		author: 'Sesquipedalian',
		message: 'SMF 2.0.16 fixes some important security issues and adds support for the EU\'s General Data Protection Regulation (GDPR) requirements.'
	},
	{
		subject: 'SMF 2.1 RC2 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=566669.0',
		time: '30 March, 2019 r., godz. 12:27:45',
		author: 'Sesquipedalian',
		message: 'Simple Machines is pleased to announce SMF 2.1 RC2. This second release candidate brings a number of bugfixes and improvements over SMF 2.1 RC1.'
	},
	{
		subject: 'SMF 2.1 RC1 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=564881.0',
		time: '04 February, 2019 r., godz. 20:02:47',
		author: 'Sesquipedalian',
		message: 'Simple Machines is proud to announce the first release candidate of the next version of SMF, which contains many bugfixes and a number of new features since 2.1 Beta 3.'
	},
	{
		subject: 'SMF 2.0.15 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=557176.0',
		time: '19 November, 2017 r., godz. 21:03:58',
		author: 'Colin',
		message: 'A patch has been released, addressing a few vulnerabilities in SMF 2.0.14 and fixing several bugs as well. We urge all forum administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.1 Beta 3 released',
		href: 'https://www.simplemachines.org/community/index.php?topic=554301.0',
		time: '31 May, 2017 r., godz. 21:21:59',
		author: 'Colin',
		message: 'Simple Machines is proud to announce the third beta of the next version of SMF, which contains many bugfixes and a few new features since 2.1 Beta 2.'
	},
	{
		subject: 'SMF 2.0.14 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=553855.0',
		time: '14 May, 2017 r., godz. 17:23:46',
		author: 'Colin',
		message: 'A patch has been released, addressing a few vulnerabilities in SMF 2.0.13 and fixing several bugs as well. We urge all forum administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.13 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=551061.0',
		time: '04 January, 2017 r., godz. 19:00:00',
		author: 'Oldiesmann',
		message: 'A patch has been released, addressing a few vulnerabilities in SMF 2.0.12 and fixing several bugs as well. We urge all forum administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.12 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=548871.0',
		time: '27 September, 2016 r., godz. 07:00:00',
		author: 'CoreISP',
		message: 'A patch has been released, addressing a vulnerability in SMF 2.0.11 and fixing several bugs as well. We urge all forum administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.11 has been released',
		href: 'https://www.simplemachines.org/community/index.php?topic=539888.0',
		time: '18 September, 2015 r., godz. 22:56:19',
		author: 'Oldiesmann',
		message: 'A patch has been released, addressing a vulnerability in SMF 2.0.10. We urge all forum administrators to upgrade as soon as possible. Just visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.1 Beta 2 released',
		href: 'https://www.simplemachines.org/community/index.php?topic=538198.0',
		time: '16 July, 2015 r., godz. 17:45:30',
		author: 'Oldiesmann',
		message: 'Simple Machines is proud to announce the second beta of the next version of SMF, which contains many bugfixes and a few new features since 2.1 Beta 1!'
	},
	{
		subject: 'SMF 2.0.10 and 1.1.21 have been released.',
		href: 'https://www.simplemachines.org/community/index.php?topic=535828.0',
		time: '24 April, 2015 r., godz. 10:09:00',
		author: 'Oldiesmann',
		message: 'A patch has been released, addressing a few bugs in SMF 2.0.x and SMF 1.1.x. We urge all forum administrators to upgrade to SMF 2.0.10 or 1.1.21&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.1 Beta 1 released',
		href: 'https://www.simplemachines.org/community/index.php?topic=530233.0',
		time: '20 November, 2014 r., godz. 19:40:06',
		author: 'Oldiesmann',
		message: 'Simple Machines is proud to announce the first beta of the next version of SMF, with many improvements and new features!'
	},
	{
		subject: 'SMF 2.0.9 and 1.1.20 security patches have been released.',
		href: 'https://www.simplemachines.org/community/index.php?topic=528448.0',
		time: '02 October, 2014 r., godz. 19:13:50',
		author: 'Oldiesmann',
		message: 'Critical security patches have been released, addressing a 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.8 released.',
		href: 'https://www.simplemachines.org/community/index.php?topic=524016.0',
		time: '18 June, 2014 r., godz. 10:11:32',
		author: 'Oldiesmann',
		message: 'A patch has been released, addressing memory issues with 2.0.7, MySQL 5.6 compatibility issues and a rare memberlist search bug. We urge all forum administrators to upgrade to SMF 2.0.8&mdash;simply visit the package manager to install the patch.'
	},
	{
		subject: 'SMF 2.0.7 released.',
		href: 'https://www.simplemachines.org/community/index.php?topic=517205.0',
		time: '20 January, 2014 r., godz. 21:48:07',
		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: 'https://www.simplemachines.org/community/index.php?topic=512964.0',
		time: '22 October, 2013 r., godz. 09:00:00',
		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: 'https://www.simplemachines.org/community/index.php?topic=509417.0',
		time: '12 August, 2013 r., godz. 20:34:06',
		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: 'https://www.simplemachines.org/community/index.php?topic=496403.0',
		time: '01 February, 2013 r., godz. 17:27:00',
		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: 'https://www.simplemachines.org/community/index.php?topic=492786.0',
		time: '16 December, 2012 r., godz. 23:41:05',
		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: 'https://www.simplemachines.org/community/index.php?topic=463103.0',
		time: '23 December, 2011 r., godz. 00:41:31',
		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: 'https://www.simplemachines.org/community/index.php?topic=452888.0',
		time: '18 September, 2011 r., godz. 16:48:18',
		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: 'https://www.simplemachines.org/community/index.php?topic=421547.0',
		time: '04 June, 2011 r., godz. 17:00:00',
		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: 'https://www.simplemachines.org/community/index.php?topic=421547.0',
		time: '11 February, 2011 r., godz. 15:16:35',
		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: 'https://www.simplemachines.org/community/index.php?topic=407256.0',
		time: '01 November, 2010 r., godz. 12:14:21',
		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: 'https://www.simplemachines.org/community/index.php?topic=369616.0',
		time: '08 March, 2010 r., godz. 18:03:11',
		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: 'https://www.simplemachines.org/community/index.php?topic=351341.0',
		time: '01 December, 2009 r., godz. 17:59:19',
		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: 'https://www.simplemachines.org/community/index.php?topic=346813.0',
		time: '08 November, 2009 r., godz. 19:10:03',
		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: 'https://www.simplemachines.org/community/index.php?topic=324169.0',
		time: '14 July, 2009 r., godz. 19:05:19',
		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: 'https://www.simplemachines.org/community/index.php?topic=311899.0',
		time: '20 May, 2009 r., godz. 20:40:41',
		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: 'https://www.simplemachines.org/community/index.php?topic=290609.0',
		time: '04 February, 2009 r., godz. 23:10:01',
		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: 'https://www.simplemachines.org/community/index.php?topic=290608.0',
		time: '04 February, 2009 r., godz. 23:08:44',
		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: 'https://www.simplemachines.org/community/index.php?topic=272861.0',
		time: '07 November, 2008 r., godz. 14:15:36',
		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: 'https://www.simplemachines.org/community/index.php?topic=260145.0',
		time: '07 September, 2008 r., godz. 04:38:05',
		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: 'https://www.simplemachines.org/community/index.php?topic=236816.0',
		time: '20 April, 2008 r., godz. 21:56:14',
		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: 'https://www.simplemachines.org/community/index.php?topic=228921.0',
		time: '17 March, 2008 r., godz. 15:20:21',
		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: 'https://www.simplemachines.org/community/index.php?topic=196380.0',
		time: '24 September, 2007 r., godz. 21:07:36',
		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: 'https://www.simplemachines.org/community/index.php?topic=190812.0',
		time: '25 August, 2007 r., godz. 07:29:25',
		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: 'https://www.simplemachines.org/community/index.php?topic=178757.0',
		time: '24 June, 2007 r., godz. 21:52:40',
		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: 'https://www.simplemachines.org/community/index.php?topic=149553.0',
		time: '11 February, 2007 r., godz. 08:35:45',
		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: 'https://www.simplemachines.org/community/index.php?topic=134971.0',
		time: '17 December, 2006 r., godz. 09:33:41',
		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: 'https://www.simplemachines.org/community/index.php?topic=131008.0',
		time: '02 December, 2006 r., godz. 14:53:16',
		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.'
	}
];
if (window.smfVersion < "SMF 2.1")
{
	window.smfUpdateNotice = 'SMF 2.1.0 has now been released. To take advantage of the improvements available in SMF 2.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.19" || yourVersion == "SMF 2.0.8")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.20_2.0.9.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 1.1.20" || yourVersion == "SMF 2.0.9")
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.21_2.0.10.zip";
	else if (yourVersion == "SMF 2.0.10")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.11.zip";
		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";
	else if (yourVersion == "SMF 2.0.11")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.12.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.12")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.13.zip";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.13")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.14.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.14")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.15.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.15")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.16.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.16")
	{
		window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.17.tar.gz";
		window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.17")
	{
	window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.18.tar.gz";
	window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.0.18")
	{
	window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.19.tar.gz";
	window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.1.0")
	{
	window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_2-1-1_patch.tar.gz";
	window.smfUpdateCritical = true;
	}
	else if (yourVersion == "SMF 2.1.1")
	{
	window.smfUpdatePackage = "http://custom.simplemachines.org/mods/downloads/smf_2-1-2_patch.tar.gz";
	window.smfUpdateCritical = true;
	}
}

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>'));
