2 * widget.js -- Fundraising web widget
3 * Copyright (c) 2007 Creative Commons
4 * Copyright (c) 2007 Free Software Foundation, Inc.
6 * Modified by the FSF in November 2007 to make it FSF-specific.
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.
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.
18 * A copy of the GNU Lesser General Public License is available at
19 * <http://www.gnu.org/licenses/lgpl-3.0.html>.
22 var amount_raised
= "$119,133.42";
23 var progress_bar_image
= "http://static.fsf.org/fsforg/graphics/2012thermometer.png";
25 document
.write("<link href=\"http://www.fsf.org/graphics/widget2012fundraiser/campaignwidget.css?1.0.1\" rel=\"stylesheet\" type=\"text/css\" />");
27 document
.write("<div id=\"fsf_campaign_widget\" class=\"" + fsf_widget_size
+ "\">");
28 document
.write("<div id=\"fsf_campaign_widget_bg\"><div id=\"fsf_campaign_widget_bg_logo\">");
29 document
.write("<h1 id=\"fsf_widget_title\"><span><a href=\"http://www.fsf.org\">Free Software Foundation</a></span></h1>");
30 document
.write("<p style='text-align:center;'>Help us amplify your voices for software freedom. We've raised " + amount_raised
+ " so far!</p>");
31 document
.write("<div id=\"donate\">");
32 document
.write("<img src=\"" + progress_bar_image
+ "\">");
33 document
.write("<p><a href=\"http://my.fsf.org/associate/support_freedom\">Donate now!</a></p>");
34 document
.write("</div>");
36 document
.write("</div></div>");
37 document
.write("</div>");