// JavaScript Document
function show_heading1(){
	document.getElementById("heading1").style.visibility = "visible";
}

function hide_heading1(){
	document.getElementById("heading1").style.visibility = "hidden";
}


function show_heading2(){
	document.getElementById("heading2").style.visibility = "visible";
}

function hide_heading2(){
	document.getElementById("heading2").style.visibility = "hidden";
}

function show_heading3(){
	document.getElementById("heading3").style.visibility = "visible";
}

function hide_heading3(){
	document.getElementById("heading3").style.visibility = "hidden";
}

function show_heading4(){
	document.getElementById("heading4").style.visibility = "visible";
}

function hide_heading4(){
	document.getElementById("heading4").style.visibility = "hidden";
}


function show_heading5(){
	document.getElementById("heading5").style.visibility = "visible";
}

function hide_heading5(){
	document.getElementById("heading5").style.visibility = "hidden";
}

function show_heading6(){
	document.getElementById("heading6").style.visibility = "visible";
}

function hide_heading6(){
	document.getElementById("heading6").style.visibility = "hidden";
}

//Preparing Websites with Active Content for Announced Browser Changes
//Workaround for IE when you hover over a Flash movie you get the message "Click to Activate & Use This Control"
function left_nav()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="155" height="415">\n');
    document.write('<param name="movie" value="http://www.cornerstone4u.org/navigation/cornerstone_left_nav.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="http://www.cornerstone4u.org/navigation/cornerstone_left_nav.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="155" height="415"></embed>\n');
	document.write('</object>\n');

}


//Preparing Websites with Active Content for Announced Browser Changes
//Workaround for IE when you hover over a Flash movie you get the message "Click to Activate & Use This Control"
function driving_directions()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="594" height="510">\n');
    document.write('<param name="movie" value="http://www.cornerstone4u.org/ssl/resources/driving_directions/driving_directions.swf">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="http://www.cornerstone4u.org/ssl/resources/driving_directions/driving_directions.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="594" height="510"></embed>\n');
	document.write('</object>\n');

}