// JavaScript Document

if (navigator.appVersion.search("MSIE 7") != -1) {
 document.write("<style>");
 document.write("@import url(\"ie.css\");");
 document.write("</style>");
}

function sizeText(size) {
		if (size == 1) {
				document.getElementById("subcontent").style.fontSize = "100%";
				document.getElementById("subnav").style.fontSize = "100%";
		}
		if (size == 2) {
				document.getElementById("subcontent").style.fontSize = "125%";
				document.getElementById("subnav").style.fontSize = "80%";
		}
		if (size == 3) {
				document.getElementById("subcontent").style.fontSize = "140%";
				document.getElementById("subnav").style.fontSize = "75%";
		}
}


function getFlash() {
	document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"852\" height=\"500\" title=\"LutherCare - Lutherans in Community Ministry\">");
	document.write("<param name=\"movie\" value=\"images/luthercare.swf\" />");
    document.write("<param name=\"quality\" value=\"high\" />");
	document.write("<param name=\"wmode\" value=\"transparent\" />");
    document.write("<embed src=\"images/luthercare.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"852\" height=\"500\" wmode=\"transparent\" style=\"z-index:0;\"></embed></object>");
}

function getFlashMovie() {
	document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"720\" height=\"520\">");
    document.write("<param name=\"movie\" value=\"movie/movie.swf\" />");
    document.write("<param name=\"quality\" value=\"high\" />");
    document.write("<embed src=\"movie/movie.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"720\" height=\"520\"></embed></object>");
}