this.nfgBaseUrl					= escape(document.location).indexOf("miami.com") < 0 ? "/" : "http://www.networkforgood.org/"
this.nfgTopic					= "hurricane"
this.nfgImgDir					= this.nfgBaseUrl + "offsitepromotion/miamiherald/current/images/"
this.nfgTopicImgWidth			= 101
this.nfgTopicImgHeight			= 101
this.nfgTopicRightImgSrc		= this.nfgImgDir + this.nfgTopic + "_" + "right.jpg"
this.nfgTopicLeftImgSrc			= this.nfgImgDir + this.nfgTopic + "_" + "left.jpg"
this.nfgTopicRightImgAlt		= " "
this.nfgTopicLeftImgAlt			= " "
this.nfgTopicRightHref			= this.nfgBaseUrl + "topics/animal_environ/hurricanes/?seg=14"
this.nfgTopicLeftHref			= this.nfgBaseUrl + "topics/animal_environ/hurricanes/?seg=14#action"
this.nfgTopicHrefImgSrc			= this.nfgImgDir + "btn_go.gif"
this.nfgTopicHrefImgAlt			= "Go!"
this.nfgTopicHrefImgWidth		= 14
this.nfgTopicHrefImgHeight		= 5
this.nfgTopicRightTitle			= "Information Saves Lives"
this.nfgTopicLeftTitle			= "Take Action"
this.nfgTopicRightText			= "Learn what you can do to help protect yourself and your community.<br>&nbsp;"
this.nfgTopicLeftText			= "Support disaster relief and the people who respond.<br>&nbsp;"
this.nfgTopicFooterImgSrc		= this.nfgImgDir + this.nfgTopic + "_footer.gif"
this.nfgTopicFooterImgWidth		= 330
this.nfgTopicFooterImgHeight	= 19
this.nfgTopicFooterImgAlt		= "A community service of The Miami Herald.\nPowered by Network for Good."
this.nfgTopicHeaderImgSrc		= this.nfgImgDir + this.nfgTopic + "_header.gif"
this.nfgTopicHeaderImgWidth		= 273
this.nfgTopicHeaderImgHeight	= 19
this.nfgTopicHeaderImgAlt		= "Hurricane Preparedness: Are you ready?"

function nfgGetText(nfgTopicSide) {
	if (nfgTopicSide == "Left") {
		nfgTopicTitle 	= this.nfgTopicLeftTitle
		nfgTopicText	= this.nfgTopicLeftText
	} else if (nfgTopicSide == "Right") { 
		nfgTopicTitle 	= this.nfgTopicRightTitle
		nfgTopicText	= this.nfgTopicRightText
	}
	document.write('<span class="nfgBannerTitleText" id="nfgBanner' + nfgTopicSide + 'TitleText">' + nfgTopicTitle + '</span>')
	document.write('<p class="nfgBannerText" id="nfgBanner' + nfgTopicSide + 'Text">' + nfgTopicText + '</p>')
}
function nfgGetImage(nfgTopicSide) {
	var nfgTopicImgSrc
	var nfgTopicImgAlt
	var nfgTopicImgWidth	= this.nfgTopicImgWidth
	var nfgTopicImgHeight	= this.nfgTopicImgHeight
	switch(nfgTopicSide) {
		case "Left" :
			nfgTopicImgSrc	= this.nfgTopicLeftImgSrc
			nfgTopicImgAlt	= this.nfgTopicLeftImgAlt
			break
		case "Right" :
			nfgTopicImgSrc = this.nfgTopicRightImgSrc
			nfgTopicImgAlt = this.nfgTopicRightImgAlt
			break
		case "Header" :
			nfgTopicImgSrc		= this.nfgTopicHeaderImgSrc
			nfgTopicImgAlt		= this.nfgTopicHeaderImgAlt
			nfgTopicImgWidth	= this.nfgTopicHeaderImgWidth
			nfgTopicImgHeight	= this.nfgTopicHeaderImgHeight
			break
		case "Footer" :
			nfgTopicImgSrc		= this.nfgTopicFooterImgSrc
			nfgTopicImgAlt		= this.nfgTopicFooterImgAlt
			nfgTopicImgWidth	= this.nfgTopicFooterImgWidth
			nfgTopicImgHeight	= this.nfgTopicFooterImgHeight
			break			
	}
	document.write('<img src="' + nfgTopicImgSrc +'" height="' + nfgTopicImgHeight + ' width="' + nfgTopicImgWidth + '" alt="' + nfgTopicImgAlt + '">')
}
function nfgGetLink(nfgTopicSide) {
	if (nfgTopicSide == "Left") {
		nfgTopicHref = this.nfgTopicLeftHref
	} else if (nfgTopicSide == "Right") {
		nfgTopicHref = this.nfgTopicRightHref
	}
	document.write('<div id="nfgBanner' + nfgTopicSide + 'Button" title="' + nfgTopicHrefImgAlt + '" onclick="window.location=\'' + nfgTopicHref + '\'">')
	document.write('<a href="' + nfgTopicHref + '"><img src="' + nfgTopicHrefImgSrc +'" width="' + nfgTopicHrefImgWidth + ' " height="' + nfgTopicHrefImgHeight + '" alt="' + nfgTopicHrefImgAlt + '" border="0"></a>')
	document.write('</div>')
}