
if (typeof UBAMConfig == "undefined") {
	var UBAMConfig = (function () {
		
		var assetpath = "http://library.kelloggs.com/ubam/assets/", 
			msgwidth = 600,
			msgheight = 400,
			timerheight = 23,
			counterwidth = 30;
		
		return {
			maxseconds: 900,
			timerwhen: 30,
			ycenteroffset: 20,
			counterwidth: counterwidth,
			
			redirect: true,
			redirecturl: "http://www.getyourmoveon.com",
			
			overlaystyle: {position: "absolute", top: "0", left: "0", zIndex: "998", background: "#aac783", display: "none"},
			
			msgboxstyle: {position: "absolute", zIndex: "999", marginLeft: Math.round(0 - msgwidth / 2) + "px", marginTop: Math.round(0 - msgheight / 2) + "px", background: "#fff", display: "none"},
			
			msghtml: 	'<img src="' + assetpath + 'ubam_message_us_en_redirect.jpg" usemap="#ubam-map" style="border: none" />' +
						'<map id="ubam-map" name="ubam-map">' +
						'<area shape="rect" coords="190,110,516,150" href="#" onmouseover="document.getElementById(\'ubam-btn1\').style.display=\'block\';" onmouseout="document.getElementById(\'ubam-btn1\').style.display=\'none\';" onclick="UBAM.quit();this.blur();return false;">' +
						'<area shape="rect" coords="190,166,540,192" href="#" onmouseover="document.getElementById(\'ubam-btn2\').style.display=\'block\';" onmouseout="document.getElementById(\'ubam-btn2\').style.display=\'none\';" onclick="UBAM.redirect();this.blur();return false;">' +
						'<area shape="rect" coords="190,208,330,230" href="#" onmouseover="document.getElementById(\'ubam-btn3\').style.display=\'block\';" onmouseout="document.getElementById(\'ubam-btn3\').style.display=\'none\';" onclick="UBAM.dismiss();this.blur();return false;">' +
						'</map>' +
						'<img id="ubam-btn1" src="' + assetpath + 'ubam_arrow.jpg" style="position: absolute; top: 98px; left: 161px; display: none;"/>' +
						'<img id="ubam-btn2" src="' + assetpath + 'ubam_arrow.jpg" style="position: absolute; top: 153px; left: 161px; display: none;"/>' +
						'<img id="ubam-btn3" src="' + assetpath + 'ubam_arrow.jpg" style="position: absolute; top: 194px; left: 161px; display: none;"/>',
						
			msgstyle: {background : "transparent url(" + assetpath + "ubam_loading.gif) no-repeat 50% 50%", width: msgwidth + "px", height: msgheight + "px"},
			
			footerhtml: '<p>&reg;, &trade;, &copy; ' + (new Date()).getFullYear() + ' Kellogg NA Co. | <a href="http://www.kelloggcompany.com/privacy.aspx" target="_blank" style="color: #000">Privacy</a> | <a href="http://www.kelloggcompany.com/legal.aspx" target="_blank" style="color: #000">Legal</a></p>',
			
			footerstyle: {position: "absolute", top: "402px", left: "0", font: "10px arial, helvetica, sans-serif", color: "#000"},
			
			logostyle: {position: "absolute", bottom: "25px", left: "25px", zIndex: "1"},

			timerlblhtml: 'Countdown to Get Your Move On',
			timercounterhtml: '<span style="display: block; padding: 4px 5px 0 0;">%m:%s</span>', // %m and %s will be replaced with minutes and seconds (minutes only appear if timerwhen > 59)
			timerbgstyle: {margin: "5px 0", height: timerheight + "px", background: "url(" + assetpath + "ubam_timer_bg.gif) repeat-x", position: "relative", font: "bold 12px arial, helvetica, sans-serif", lineHeight: "1"},
			timerbarstyle: {position: "absolute", zIndex: "2", height: timerheight + "px", right: counterwidth + "px", background: "url(" + assetpath + "ubam_timer_bar.gif) repeat-x"},
			timerlblstyle: {position: "absolute", zIndex: "3", top: "5px", left: "0", textAlign: "center", fontStyle: "italic", color: "#000"},
			timercounterstyle: {position: "absolute", zIndex: "4", right: "0", width: counterwidth + "px", height: timerheight + "px", background: "#4d4e4e", color: "#fff", fontSize: "14px", textAlign: "right"}
		};

	}) (); // self-invoking!
}

