<!--
self.onerror = function() {return true;}

// Object Definition
if (parseInt(navigator.appVersion.substring(0,1))>=3) 
{	Arrow = new Image();
	home = new Image();
	home2 = new Image();
	svc = new Image();
	hme = new Image();
	hme2 = new Image();
	btm = new Image();
	btm2 = new Image();
}

// Initializes layers and methods
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = (document.getElementById)? true:false


if (screen.width == 800) 
		document.writeln("<LINK HREF='KSBC.css' REL='stylesheet' TYPE='text/css'>");
	else
		document.writeln("<LINK HREF='KSBCLarge.css' REL='stylesheet' TYPE='text/css'>");


// Visibility toggling for NS4/6 and IE
function show(id) {
        if (ns4) document.layers[id].visibility = "show"
			else if (ie4) document.all[id].style.visibility = "visible"
				else if (ns6) document.getElementById(id).style.visibility = "visible"		}
function hide(id) {
        if (ns4) document.layers[id].visibility = "hide"
			else if (ie4) document.all[id].style.visibility = "hidden"
				else if (ns6) document.getElementById(id).style.visibility = "hidden"	}

// Image Definitions
function init() {
	if (ns4) Arrow = document.ArrowDiv
	if (ie4) Arrow = ArrowDiv.style
	if (ns6) Arrow = document.getElementById('ArrowDiv').style

	if (ie4) home = homeDiv.style
	if (ns4) home = document.homeDiv
	if (ns6) home = document.getElementById('homeDiv').style

	if (ie4) home2 = homeDiv2.style
	if (ns4) home2 = document.homeDiv2
	if (ns6) home2 = document.getElementById('homeDiv2').style

	if (ie4) svc = servDiv.style
	if (ns4) svc = document.servDiv
	if (ns6) svc = document.getElementById('servDiv').style

	if (ie4) hme = svcDiv.style
	if (ns4) hme = document.svcDiv
	if (ns6) hme = document.getElementById('svcDiv').style

	if (ie4) hme2 = svcDiv2.style
	if (ns4) hme2 = document.svcDiv2
	if (ns6) hme2 = document.getElementById('svcDiv2').style

	if (ie4) btm = btmDiv.style
	if (ns4) btm = document.btmDiv
	if (ns6) btm = document.getElementById('btmDiv').style

	if (ie4) btm2 = btmDiv2.style
	if (ns4) btm2 = document.btmDiv2
	if (ns6) btm2 = document.getElementById('btmDiv2').style
	}

// DOM Recognition for visibility
	if (document.layers) {
		visible = 'show';
		hidden = 'hide';
	} else if (document.all) {
		visible = 'visible';
		hidden = 'hidden';
	} else if (document.getElementById) {
		visible = 'visible';
		hidden = 'hidden';
	}

function getPastorPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCPastorPicSm.jpg' alt='King Solomon Baptist Church Finance'>");
	else
		document.writeln("<img src='images/KSBCPastor2.jpg' alt='King Solomon Baptist Church Finance'>");
}


function getMinistryPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCMinistriesPicSm.jpg' alt='King Solomon Baptist Church Finance'>");
	else
		document.writeln("<img src='images/KSBCMinistriesPics.jpg' alt='King Solomon Baptist Church Finance'>");
}
function getFinancePic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCFinancePicSm.jpg' alt='King Solomon Baptist Church Finance'>");
	else
		document.writeln("<img src='images/KSBCFinancPics.jpg' alt='King Solomon Baptist Church Finance'>");
}

function getMissionPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCMissionPicSm.jpg' alt='King Solomon Baptist Church Mission'>");
	else
		document.writeln("<img src='images/KSBCMissionPic.jpg' alt='King Solomon Baptist Church Mission'>");
}

function getChurchPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCChurchPicSm.jpg' alt='King Solomon Baptist Church Events'>");
	else
		document.writeln("<img src='images/KSBCChurchPic.jpg' alt='King Solomon Baptist Church Events'>");
}

function getEventPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCEventPicSm.jpg' alt='King Solomon Baptist Church Events'>");
	else
		document.writeln("<img src='images/KSBCEventPic.jpg' alt='King Solomon Baptist Church Events'>");
}

function getMapPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCMapPicSm.jpg' alt='King Solomon Baptist Church Site Map'>");
	else
		document.writeln("<img src='images/KSBCMapPic.jpg' alt='King Solomon Baptist Church Site Map'>");
}
function getContactPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCContactSm.jpg' alt='King Solomon Baptist Church Contact'>");
	else
		document.writeln("<img src='images/KSBCContactPic.jpg' alt='King Solomon Baptist Church Contact'>");
}
function getServicePic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCServicesPicSm.jpg' alt='King Solomon Baptist Church Services'>");
	else
		document.writeln("<img src='images/KSBCServicesPic.jpg' alt='King Solomon Baptist Church Services'>");
}
function getYouthPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCYouthPicSm.jpg' alt='King Solomon Baptist Church Youth Ministry'>");
	else
		document.writeln("<img src='images/KSBCYouthPic.jpg' alt='King Solomon Baptist Church Youth Ministry'>");
}
function getFaithPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/FaithPicSm.jpg' alt='King Solomon Baptist Church Faith Statement'>");
	else
		document.writeln("<img src='images/FaithPic.jpg' alt='King Solomon Baptist Church Faith Statement'>");
}
function getDeaconPic() {
if (screen.width <= 800) 
		document.writeln("<img src='images/KSBCDeaconPicsSm.jpg' alt='King Solomon Baptist Church Deacons'>");
	else
		document.writeln("<img src='images/KSBCDeaconPics.jpg' alt='King Solomon Baptist Church Deacons'>");
}

function openWin(URL)
	{
		slideWindow=window.open(URL,"theWindow","toolbar=no,width=559,height=279,left=0,top=0,status=no,scrollbars=no,resize=no,menubar=no");
	}

	function openDesignWin(URL)
	{
		designWindow=window.open(URL,"siteWin","toolbar=yes,left=0,top=0,status=yes,scrollbars=yes,resizable,menubar=yes");
	}

//-->
