
function getWhatImage(condition,message) {
	var content = "";
	var today = new Date()
	var thisSec = today.getSeconds()
	var now = ( thisSec ) % 2
	if ( condition == "snow" ) {
		content = '<div id=\"Motto\" style=\"position:absolute; visibility:visible; overflow:hidden; width:520px; height:96px; left: 520px; top: 84px; z-index:5; \">'
		content += '<font class=\"t13\" color=\"#660011\">'
		content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"48\">'
		content += '<i>Connecting all generations to Jesus, His Word and each other; <br>'
		content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"72\">'
		content += 'Reflecting His Love in Word and deed.</i></font></div>'
		content += '<div id=\"Body\" style=\"position:absolute; visibility:visible; overflow:hidden; width:750px; height:586px; left: 150px; top: 80px; z-index:1; \">'
		content += '<img src=\"elements/snowed-in.jpg\" width=\"750\" height=\"586\" alt=\"\"></div>'
		content += '<div id=\"Sky\" style=\"position:absolute; visibility:visible; overflow:hidden; width:180px; height:586px; left:900px; top: 80px; z-index:1;\">'
		content += '<img src=\"elements/sky-snow.jpg\" width=\"180\" height=\"60\" alt=\"\"></div>'
		content += '<div id=\"BodyMessage\" style=\"position:absolute; visibility:visible; overflow:hidden; width:450px; height:300px; left:300px; top:125px; z-index:6; \">'
		content += '<p class=\"notice\"><font class=v16 color=\"#110099\"><b><i>' + message + '</i></b></font></p>'
		content += '<img alt="" src=\"elements/pixel.gif\" width=1 height=1 vspace=2><br></div>'
		}
	else if ( condition == "ice" ) {
		content = '<div id=\"Motto\" style=\"position:absolute; visibility:visible; overflow:hidden; width:520px; height:96px; left: 520px; top: 84px; z-index:5; \">'
		content += '<font class=\"t13\" color=\"#660011\">'
		content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"48\">'
		content += '<i>Connecting all generations to Jesus, His Word and each other; <br>'
		content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"72\">'
		content += 'Reflecting His Love in Word and deed.</i></font></div>'
		content += '<div id=\"Body\" style=\"position:absolute; visibility:visible; overflow:hidden; width:750px; height:586px; left: 150px; top: 80px; z-index:1; \">'
		content += '<img src=\"elements/iced-in.jpg\" width=\"750\" height=\"586\" alt=\"\"></div>'
		content += '<div id=\"Sky\" style=\"position:absolute; visibility:visible; overflow:hidden; width:180px; height:586px; left:900px; top: 80px; z-index:1;\">'
		content += '<img src=\"elements/sky-ice.jpg\" width=\"180\" height=\"60\" alt=\"\"></div>'
		content += '<div id=\"BodyMessage\" style=\"position:absolute; visibility:visible; overflow:hidden; width:450px; height:300px; left:300px; top:125px; z-index:6; \">'
		content += '<p class=\"notice\"><font class=v16 color=\"#110099\"><b><i>' + message + '</i></b></font></p>'
		content += '<img alt="" src=\"elements/pixel.gif\" width=1 height=1 vspace=2><br></div>'
		}

	else {
		if ( now ) {
			content = '<div id=\"Motto\" style=\"position:absolute; visibility:visible; overflow:hidden; width:520px; height:96px; left: 520px; top: 84px; z-index:5; \">'
			content += '<font class=\"t13\" color=\"#660011\">'
			content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"48\">'
			content += '<i>Connecting all generations to Jesus, His Word and each other; <br>'
			content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"72\">'
			content += 'Reflecting His Love in Word and deed.</i></font></div>'
			content += '<div id=\"Body\" style=\"position:absolute; visibility:visible; overflow:hidden; width:750px; height:586px; left: 150px; top: 80px; z-index:1; \">'
			content += '<img src=\"elements/churchentry2.jpg\" width=\"750\" height=\"586\" alt=\"\"></div>'
			content += '<div id=\"Sky\" style=\"position:absolute; visibility:visible; overflow:hidden; width:180px; height:586px; left:900px; top: 80px; z-index:1;\">'
			content += '<img src=\"elements/sky2.jpg\" width=\"180\" height=\"60\" alt=\"\"></div>'
			}
		else {
			content = '<div id=\"Motto\" style=\"position:absolute; visibility:visible; overflow:hidden; width:520px; height:96px; left: 520px; top: 84px; z-index:5; \">'
			content += '<font class=\"t13\" color=\"#660011\">'
			content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"16\">'
			content += '<i>Connecting all generations to Jesus, His Word and each other; <br>'
			content += '<img alt=\"\" src=\"elements/pixel.gif\" width=\"1\" height=\"1\" hspace=\"30\">'
			content += 'Reflecting His Love in Word and deed.</i></font></div>'
			content += '<div id=\"Body\" style=\"position:absolute; visibility:visible; overflow:hidden; width:750px; height:586px; left: 150px; top: 80px; z-index:1; \">'
			content += '<img src=\"elements/churchentry5c.jpg\" width=\"750\" height=\"586\" alt=\"\"></div>'
			content += '<div id=\"Sky\" style=\"position:absolute; visibility:visible; overflow:hidden; width:180px; height:586px; left:900px; top: 80px; z-index:1;\">'
			content += '<img src=\"elements/sky5c.jpg\" width=\"180\" height=\"60\" alt=\"\"></div>'
			}
		}
	return(content);
	}

