HTML correction
[weblabels.fsf.org.git] / my.fsf.org / 20121219 / files / widget.js
CommitLineData
5a920362 1/*
2 * widget.js -- Fundraising web widget
3 * Copyright (c) 2007 Creative Commons
4 * Copyright (c) 2007 Free Software Foundation, Inc.
5 *
6 * Modified by the FSF in November 2007 to make it FSF-specific.
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * A copy of the GNU Lesser General Public License is available at
19 * <http://www.gnu.org/licenses/lgpl-3.0.html>.
20 */
21
22var amount_raised = "$119,133.42";
23var progress_bar_image = "http://static.fsf.org/fsforg/graphics/2012thermometer.png";
24
25document.write("<link href=\"http://www.fsf.org/graphics/widget2012fundraiser/campaignwidget.css?1.0.1\" rel=\"stylesheet\" type=\"text/css\" />");
26document.write("");
27document.write("<div id=\"fsf_campaign_widget\" class=\"" + fsf_widget_size + "\">");
28document.write("<div id=\"fsf_campaign_widget_bg\"><div id=\"fsf_campaign_widget_bg_logo\">");
29document.write("<h1 id=\"fsf_widget_title\"><span><a href=\"http://www.fsf.org\">Free Software Foundation</a></span></h1>");
30document.write("<p style='text-align:center;'>Help us amplify your voices for software freedom. We've raised " + amount_raised + " so far!</p>");
31document.write("<div id=\"donate\">");
32document.write("<img src=\"" + progress_bar_image + "\">");
33document.write("<p><a href=\"http://my.fsf.org/associate/support_freedom\">Donate now!</a></p>");
34document.write("</div>");
35document.write("");
36document.write("</div></div>");
37document.write("</div>");
38document.write("");