var actionurl = '?action=admin;area=packages;sa=download;get;package=';if (typeof(window.smfForum_sessionvar) == "undefined")
	window.smfForum_sessionvar = 'sesc';

if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0")
	window.smfLatestPackages = 'As was inevitable, a few small mistakes have been found in 1.0.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-1_update.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.1")
	window.smfLatestPackages = 'A few problems have been found in the package manager\'s modification code, among a few other issues.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-2_update.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.2")
	window.smfLatestPackages = 'A problem has been found in the system that sends critical database messages.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-3_package.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.3")
	window.smfLatestPackages = 'A few bugs have been fixed since SMF 1.0.3, and a problem with parsing nested BBC tags addressed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-4_package.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled. Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.4")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.4.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-5_package.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.5")
	window.smfLatestPackages = 'A bbc security issue has been identified in SMF 1.0.5.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.7_1.1-RC2-1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.6")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.6.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.7_1.1-RC2-1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.7")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.7.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-8_package.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';

else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.8")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.8.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1-0-9_1-1-rc3-1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.9")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.9.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-0-10_patch.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.10")
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.0.10.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.3_1.0.11.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.11")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.11 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.12_1.1.4_2.0.b1.1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.12.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.12")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.12 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.13_1.1.5_2.0-b3.1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.12.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.13")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.13 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.14_1.1.6.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.14.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.14")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.14. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.15_1.1.7.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.15.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.15")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.15. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.16_1.1.8.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.16.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.16")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.16. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.17_1.1.9_2.0-RC1-1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.17.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.17")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.17. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.18_1.1.10-2.0-RC1.2;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.18.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.18")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.18. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.19_1.1.11.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.19.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.19")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.19. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.20_1.1.12.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.20.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.20")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.20. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.21_1.1.13.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.21.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.21")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.0.21. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.22_1.1.16.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.22.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.22")
	window.smfLatestPackages = 'A security vulnerability has been identified in SMF 1.0.22. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.23_1.1.17.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.0.23.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.0.23")
	window.smfLatestPackages = 'SMF 1.0 was released to the world in December 2004 and has been supported for more than eight years. Starting from the 1st of January 2013 it will not receive security updates any more. Anyone still using a 1.0 release should investigate migrating to the lates SMF version. Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1 Beta 2" && !in_array("smf:smf_1-1-beta2-fix1", window.smfInstalledPackages))
	window.smfLatestPackages = 'A few bugs have been fixed since SMF 1.1 Beta 2, and a problem with parsing nested BBC tags addressed.  You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-1-beta2-fix1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily fix the problem.<br /><br />Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> or in the helpdesk if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1 RC2" && !in_array("smf:smf-1.0.7", window.smfInstalledPackages))
	window.smfLatestPackages = 'A security issue has been identified in SMF 1.1 RC2. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.7_1.1-RC2-1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to easily update yourself to the latest version.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1 RC2" && !in_array("smf:smf_1-1-rc2-2", window.smfInstalledPackages))
	window.smfLatestPackages = 'A bug in PHP causes a vulnerability in SMF 1.1 RC2-1. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-1-rc2-2_package.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to patch your version of 1.1 RC2 to 1.1 RC2-2.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1")
	window.smfLatestPackages = 'A number of small bugs and a security issue have been identified in SMF 1.1 Final. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-1-1_patch.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.1.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.1")
	window.smfLatestPackages = 'A number of bugs and a couple of low risk security issues have been identified in SMF 1.1.1 - and some improvements have been made to the visual verification images on registration. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_1-1-2_patch.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.2.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.2")
	window.smfLatestPackages = 'A number of bugs and a couple of low risk security issues have been identified in SMF 1.1.2 - and some improvements have been made to the package manager. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.3_1.0.11.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.3.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.3")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.3 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.12_1.1.4_2.0.b1.1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.4.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.4")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.4 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.13_1.1.5_2.0-b3.1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.5.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.5")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.5 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.14_1.1.6.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.6.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.6")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.6. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.15_1.1.7.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.7.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.7")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.7. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.16_1.1.8.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.8.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.8")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.8. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.17_1.1.9_2.0-RC1-1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.9.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.9")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.9. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.18_1.1.10-2.0-RC1.2.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.10.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.10")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.10. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.19_1.1.11.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.11.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.11")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.11. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.20_1.1.12.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.12.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.12")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.12. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.21_1.1.13.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.13.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.13")
	window.smfLatestPackages = 'A security vulnerability have been identified in SMF 1.1.13. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.14.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.14.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.14")
	window.smfLatestPackages = 'A security vulnerability have been identified in SMF 1.1.14. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.15.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.15.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.15")
	window.smfLatestPackages = 'A couple of security vulnerabilities have been identified in SMF 1.1.15. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.22_1.1.16.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.16.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.16")
	window.smfLatestPackages = 'A security vulnerability has been identified in SMF 1.1.16. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.23_1.1.17.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.17.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.17")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.17. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.18.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.18.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 1.1.18")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 1.1.18. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.19_2.0.6.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 1.1.18.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled if you use the full package.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0 beta 1")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0 beta 1 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.12_1.1.4_2.0.b1.1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 2.0 beta 1.1.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0 Beta 3 Public")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0 beta 3 as well as a few small bugs. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.13_1.1.5_2.0-b3.1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 2.0 beta 3.1.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0 RC1")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0 RC1. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.17_1.1.9_2.0-RC1-1.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 2.0-RC1-1.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0 RC1-1")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0 RC1-1. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.18_1.1.10-2.0-RC1.2.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your version of SMF to 2.0-RC1.2 .<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0 RC4"  && typeof(window.smfRC4patch) == "undefined")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0 RC4. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0-RC4_security.zip;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to install the security patch for SMF 2.0 RC4.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0")
	window.smfLatestPackages = 'A few security vulnerabilities have been identified in SMF 2.0. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to update your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.1")
	window.smfLatestPackages = 'A few security vulnerabilities and bugs in SMF 2.0.1 have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.2.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.2")
	window.smfLatestPackages = 'A security vulnerability and few bugs in SMF 2.0.2 have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.3.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.3")
	window.smfLatestPackages = 'A few security vulnerabilities in SMF 2.0.3 have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.4.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.4")
	window.smfLatestPackages = 'A few security vulnerabilities in SMF 2.0.4 have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.5.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.5")
	window.smfLatestPackages = 'A few security vulnerabilities and bugs in SMF 2.0.5 have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.1.19_2.0.6.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum.<br /><br />If you have any problems applying it, you can use the version posted on the downloads page - although, any modifications you have installed will need to be uninstalled.  Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) != "undefined" && window.smfVersion == "SMF 2.0.6")
	window.smfLatestPackages = 'PHP 5.5 compatibility issues and several other bugs have been fixed. You can install <a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.7.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">this patch (click here to install)</a> to fix your forum and update it to 2.0.7.<br /><br />If you have any problems applying it, you can try to use the upgrade file posted on the downloads page - although, any modifications you have installed will need to be uninstalled when you use that method.<br />Please post on the <a href="http://www.simplemachines.org/community/index.php">forum</a> if you need more help.';
else if (typeof(window.smfVersion) == "undefined")
	window.smfLatestPackages = 'For the package manager to function properly, please upgrade to the latest version of SMF.';
else
{
var smf_modificationInfo = {

	3860: {
		name: '@mention members 1.1.2',
		versions: ['77'],
		desc: '<div align="center"><strong>@mentions tag mod</strong><br />By: Dragooon (<a href="mailto:mail@dragooon.net" class="bbc_email">mail@dragooon.net</a>)<br />Licensed under: Simplified BSD (2-Clause) License <br />Source: <a href="http://github.com/Dragooon/smf-mentions" class="bbc_link" target="_blank">http://github.com/Dragooon/smf-mentions</a></div><br /><strong>About</strong><br /><hr />Allows members to tag others via @&lt;username&gt;, shows up under Profile and members can set to be notified via e-mail. Adds a new permission enabling membergroups to be granted permission to mention others. Supports active suggestions while mentioning in posts as well as quick reply.<br /><br /><strong>Third party libraries</strong><br /><hr /><ul class="bbc_list"><li><a href="https://github.com/ichord/Caret.js" class="bbc_link" target="_blank"><strong>Caret.js</strong></a>: Library for handling caret position, and offset relative to the document. Licensed under the MIT license</li><li><a href="https://github.com/ichord/At.js" class="bbc_link" target="_blank"><strong>At.js</strong></a>: Autocomplete library for handling mentions, emoticons etc. Licensed under the MIT license</li></ul><br /><strong>Changelog</strong><br /><hr /><br />Version 1.1.2:<br />- Some JS fixes<br />- Add option to enable mention&#039;s emails for existing users<br /><br />Version 1.1.1:<br />- Fix for saving admin settings<br />- Fix for mentions after editing post<br />- (Potential) fix for suggestions not working<br /><br />Version 1.1:<br />- Add active suggestions while mentioning someone, works in quick reply as well as full post page (normal and WYSIWYG editor).<br />- Add Scheduled Task for removing seen mentions before specified days<br />- Allow setting whether e-mail mentions should be enabled by default or not (defaulted to enable)<br />- Fix for making mentions case insensitive (@admin = @AdMIn = @adMIN =@Admin)<br />- Support names with &quot;@&quot; in them, simply mention them normally (@Test@member will work fine)<br />- Some code cleanup',
		file: 'smf-mentions-1.1.2.zip'
	},
	3856: {
		name: 'Recent Forum Topics on Boardindex 1.0',
		versions: ['77'],
		desc: '<span style="color: red;" class="bbc_color"><span style="font-size: 14pt;" class="bbc_size"><strong>Recent Forum Topics Mod on Boardindex</strong></span></span> <br /><br /><span style="color: red;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Description</span></strong></span><br /><br /><strong>For SMF 2.0.x</strong><br /><br />This mod will add Recent Forum Topics on the Boardindex.<br />Uses only SMF hooks so... no file edits.<br />In the settings you can enable/disable the mod, change the number of Recent Forum Topics per page, subject first/lastpost and many more...<br />This mod works with the Topic Solved Mod v1.1.1 and Simpleportal (Configuration <strong>Portal Mode =&gt; Front Page</strong>)<br /><br /><span style="color: red;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">License</span></strong></span><br /><br />&nbsp;* This SMF modification is subject to the Mozilla Public License Version<br />&nbsp;* 1.1 (the &quot;License&quot;); you may not use this SMF modification except in compliance with<br />&nbsp;* the License. You may obtain a copy of the License at<br />&nbsp;* <a href="http://www.mozilla.org/MPL/" class="bbc_link" target="_blank">http://www.mozilla.org/MPL/</a><br />&nbsp;<br /><span style="color: red;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Settings</span></strong></span><br /><br />- Admin-&gt;Configuration-&gt;Modification Settings-&gt;Recent Forum Topics<br /><br /><span style="color: red;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Languages</span></strong></span><br /><br />- English/utf8<br />- Request for more languages support, who will help me...<br /><br /><span style="color: red;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Changelog</span></strong></span><br /><br /><strong>Version 1.0 - May 03, 2014</strong><br />- Initial Release',
		file: 'RecentForumTopics.v1.0.zip'
	},
	3853: {
		name: 'GroupDocs.Assembly 1.0',
		versions: ['75', '77'],
		desc: 'GroupDocs.Assembly is an online document assembly application. The GroupDocs.Assembly Simple Machines mod allows you to add document assembly to Simple Machines forums.<br /><br />Take a DOC or PDF template, add fields, then use GroupDocs.Assembly to create an online questionnaire. Get your customers to complete the questionnaire and automatically create a new document that looks like the template but contains custom data. This approach makes it easy to manage and collect information for applications, contracts, invoices and many other types of documents. Because set-up and data collection is online, it is easy for anyone to use.<br /><br /><strong>Important:</strong> <a href="http://&quot;http://groupdocs.com/purchase/cloud-app-pricing&quot;" class="bbc_link" target="_blank">to use this mod, you need to have a GroupDocs plan.</a>.<br /><br /><strong>Key Benefits</strong><br /><br /><br /><ul class="bbc_list"><li><strong>Easy-to-use interface</strong>. Document assembly shouldn&#039;t be difficult so GroupDocs.Assebly&#039;s interface makes it as easy as possible with a convenient workflow and clear instructions that makes preparing complex documents painless.</li><li><strong>Save time by streamlining document creation</strong>. Instead of spending time entering user data and generating documents, get customers to enter their own data online and automatically generate documents. Templates can be re-used again and again. Notifications and automatic reminders let you get on with other work while GreoupDocs.Assembly keeps an eye on the document creation process. </li><li><strong>Use existing templates</strong>. Use the Microsoft Word or Adobe Acrobat PDF documents you already have as templates. You don&#039;t have to re-design your documents from scratch for them to work with GroupDocs.Assembly.</li><li><strong>Automate reminders</strong>. Don&#039;t worry about reminding your customers to complete forms: GroupDocs.Assembly can remind them for you.</li><li><strong>Native browser support</strong>. There is no need for Flash, Adobe Reader or any other 3rd party software installation client-side.</li></ul><br /><br /><strong>Supported File Formats</strong><br /><br /><br /><ul class="bbc_list"><li>Portable Document Format: PDF</li><li>Microsoft Word: DOC, DOCX</li></ul><br /><br /><strong>Installing the Mod</strong><br /><br /><strong>Before you proceed:</strong> please be aware that this mod can be used only by registered GroupDocs users. Before you can use the mod, you need to have an account. We offer a 14-day free evaluation so that you can try it before committing. More information about GroupDocs pricing can be found on the <a href="http://&quot;http://groupdocs.com/purchase/cloud-app-pricing&quot; target=&quot;_blank&quot;" class="bbc_link" target="_blank">GroupDocs website</a>.<br /><br />For detailed installation instructions, read the <a href="http://&quot;put link here&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;" class="bbc_link" target="_blank">GroupDocs.Assembly mod documentation</a>.<br /><br /><strong>Questions?</strong><br />Please feel free to <a href="http://&quot;http://groupdocs.com/corporate/contact&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;" class="bbc_link" target="_blank">contact us</a>!<br /><br />This mod is licensed under a <a href="http://opensource.org/licenses/GPL-3.0" class="bbc_link" target="_blank">GNU GENERAL PUBLIC LICENSE</a>',
		file: 'GroupDocs_Assembly.zip'
	},
	854: {
		name: 'Gravatar 0.1',
		versions: ['29'],
		desc: '<div align="center"><span style="color: red;" class="bbc_color"><span style="font-size: 16pt;" class="bbc_size"><strong><a href="http://www.gravatar.com/" class="bbc_link" target="_blank">Gravatar</a> support for SMF</strong></span></span></div><hr /><br /><span style="color: blue;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Introduction</span></strong></span><br />Gravatars are globally recognised avatars. Basically, you upload your avatar to the Gravatar site, and it will automatically appear on all blogs and forums that support Gravatar. Whenever you change your avatar, it will automatically change on all Gravatar-enabled sites.<br /><br />From the Gravatar site:<br /><em><strong>What is a gravatar?</strong><br />A gravatar, or globally recognized avatar, is quite simply an 80×80 pixel avatar image that follows you from weblog to weblog appearing beside your name when you comment on gravatar enabled sites.</em><br /><br /><span style="color: blue;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">How do I use this mod?</span></strong></span><br />Once you install this mod, it will add a few new options to the <em>Attachments and Avatars</em> section of the admin panel:<br /><hr /><img src="http://www.dansoftaustralia.net/images/screenshots/smfmods/gravatar_admin.png" alt="" width="500" height="124" class="bbc_img resized" /><br /><hr /><br />If the <strong>Use Gravatar for all users?</strong> option is enabled, Gravatar will be used for all users&#039; avatars, and the SMF avatar system will be disabled. If the option is disabled, the user will have a choice whether to use Gravatar or not:<br /><hr /><img src="http://www.dansoftaustralia.net/images/screenshots/smfmods/gravatar_user.png" alt="" class="bbc_img" /><br /><hr /><br /><span style="color: blue;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Support</span></strong></span><br />Support for this mod is given both in my forum (at <a href="http://www.daniel15.com/" class="bbc_link" target="_blank">http://www.daniel15.com/</a>), and in <a href="http://www.simplemachines.org/community/index.php?topic=179998.0" class="bbc_link" target="_blank">the mod&#039;s topic in the SMF Community Forum</a>.<br /><br /><span style="color: blue;" class="bbc_color"><strong><span style="font-size: 12pt;" class="bbc_size">Changelog</span></strong></span><br /><strong>0.1 Beta</strong><br />--------<br />Initial public release.',
		file: 'gravatar_0-1.zip'
	}};
var smf_latestModifications = [3860, 3856, 3853];

function smf_packagesMoreInfo(id)
{
	window.smfLatestPackages_temp = document.getElementById("smfLatestPackagesWindow").innerHTML;

	setInnerHTML(document.getElementById("smfLatestPackagesWindow"),
	'\
		<h3 style="margin: 0; padding: 4px;">' + smf_modificationInfo[id].name + '</h3>\
		<h4 style="padding: 4px; margin: 0;"><a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/' + id + '/' + smf_modificationInfo[id].file + ';' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">Install Now!</a></h4>\
		<div style="margin: 4px;">' + smf_modificationInfo[id].desc.replace(/<a href/g, '<a href') + '</div>\
		<div class="titlebg" style="padding: 4px; margin: 0;"><a href="javascript:smf_packagesBack();void(0);">(go back)</a></div>');
}

function smf_packagesBack()
{
	setInnerHTML(document.getElementById("smfLatestPackagesWindow"), window.smfLatestPackages_temp);
	window.scrollTo(0, findTop(document.getElementById("smfLatestPackagesWindow")) - 10);
}

window.smfLatestPackages = '\
	<div id="smfLatestPackagesWindow"style="overflow: auto;">\
		<h3 style="margin: 0; padding: 4px;">New Packages:</h3>\
		<img src="http://www.simplemachines.org/smf/images/package.png" width="102" height="98" style="float: right; margin: 4px;" alt="(package)" />\
		<ul style="list-style: none; margin-top: 3px; padding: 0 4px;">';

for (var i = 0; i < smf_latestModifications.length; i++)
{
	var id_mod = smf_latestModifications[i];

	window.smfLatestPackages += '<li><a href="javascript:smf_packagesMoreInfo(' + id_mod + ');void(0);">' + smf_modificationInfo[id_mod].name + '</a></li>';
}

window.smfLatestPackages += '\
		</ul>';

if (typeof(window.smfVersion) != "undefined" && (window.smfVersion < "SMF 1.0.6" || (window.smfVersion == "SMF 1.1 RC2" && !in_array('smf:smf-1.0.7', window.smfInstalledPackages))))
	window.smfLatestPackages += '\
		<h3 class="error" style="margin: 0; padding: 4px;">Updates for SMF:</h3>\
		<div style="padding: 0 4px;">\
			<a href="' + window.smfForum_scripturl + actionurl + 'http://custom.simplemachines.org/mods/downloads/smf_patch_1.0.7_1.1-RC2-1.tar.gz;' + window.smfForum_sessionvar + '=' + window.smfForum_sessionid + '">Security update (X-Forwarded-For header vulnerability)</a>\
		</div>';
else
	window.smfLatestPackages += '\
		<h3 style="margin: 0; padding: 4px;">Package of the Moment:</h3>\
		<div style="padding: 0 4px;">\
			<a href="javascript:smf_packagesMoreInfo(854);void(0);">Gravatar 0.1</a>\
		</div>';

window.smfLatestPackages += '\
	</div>';
}

function findTop(el)
{
	if (typeof(el.tagName) == "undefined")
		return 0;

	var skipMe = in_array(el.tagName.toLowerCase(), el.parentNode ? ["tr", "tbody", "form"] : []);
	var coordsParent = el.parentNode ? "parentNode" : "offsetParent";

	if (el[coordsParent] == null || typeof(el[coordsParent].offsetTop) == "undefined")
		return skipMe ? 0 : el.offsetTop;
	else
		return (skipMe ? 0 : el.offsetTop) + findTop(el[coordsParent]);
}

function in_array(item, array)
{
	for (var i in array)
	{
		if (array[i] == item)
			return true;
	}

	return false;
}
