var CloudsOfHope = window.CloudsOfHope || {}
CloudsOfHope.Badge = function() {
	var sCss = "css";
	var sHtml = "<a href='http://cloudsofhope.com/about/donate/' title='Support Clouds of Hope in giving Hope.' style='border:none;'><img src='http://assets.variedmedia.net/3/coh_ap_js_09.png' alt='Support Clouds of Hope in giving Hope.' height='148' width='148' /></a>";
	function GetCss() {
		var oHead = document.getElementsByTagName('head')[0];
		var oCssStyle = document.createElement('style');
		oCssStyle.setAttribute('type', 'text/css');
		if (oCssStyle.styleSheet) {
			oCssStyle.styleSheet.cssText = sCss;
		} else {
			oCssStyle.appendChild(document.createTextNode(sCss));
	}
	oHead.appendChild(oCssStyle);
};
function GetHtml() {
	var oElement = document.getElementById('script-id');
			var oDiv = document.createElement('div');
		oElement.parentNode.insertBefore(oDiv, oElement).innerHTML = sHtml;
		};
	return {
		Init : function() {
			if (document.getElementById && document.createTextNode) {
				//GetCss();
				GetHtml();
			}
		}
	};
}();
CloudsOfHope.Badge.Init();