function openFooterURL(footerURL, popupWidth, popupHeight){
	window.open(footerURL, 'Contact', 'status=0,toolbar=0,location=0,menubar=0,directories=0,height=' + popupHeight + ',width=' + popupWidth + ',resizable=1,scrollbars=1');
}

function setImageDiv() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
//  leftOffset = (myWidth/2) - 190;
  leftOffset = (myWidth/2) - 260;
document.getElementById("ImageDisplayer").style.left = leftOffset + "px";
}
function closeImage(){
document.getElementById("ImageDisplayer").style.display = "none"; 	
}
function DisplayImage(theImageSrc) {
 	var imgDest = document.getElementById("DisplayImage");
	var imgSrc = theImageSrc;
	imgDest.setAttribute("src", imgSrc);
	document.getElementById("ImageDisplayer").style.display = "inline"; 	
}

function openNetworking(NetworkLocation){
	window.open(NetworkLocation);
}
function ShowFAQ(FAQ_Div, FAQ_Icon){
	var icon = document.getElementById(FAQ_Icon);
	var FAQ = document.getElementById(FAQ_Div);
	if(FAQ.style.display == "block") {
    		FAQ.style.display = "none";
		icon.src = "images/plus-icon.gif";
  	}
	else {
		FAQ.style.display = "block";
		icon.src = "images/minus-icon.gif";
	}
}
function ShowMenuDesc(menuDiv){
	document.getElementById('MenuDescTemp').innerHTML = document.getElementById('MenuDescDefault').innerHTML;
	document.getElementById('MenuDescDefault').innerHTML = document.getElementById(menuDiv).innerHTML;
}
function HideMenuDesc(menuDiv){
	document.getElementById(menuDiv).innerHTML = document.getElementById('MenuDescDefault').innerHTML; 
	document.getElementById('MenuDescDefault').innerHTML = document.getElementById('MenuDescTemp').innerHTML; 
}
function swapExampleImage(imageLocation, imageWidth, imageHeight){
 	var imgDest = document.getElementById("DisplayImage");
	var imgSrc = imageLocation;
	imgDest.setAttribute("src", imgSrc);
	imgDest.style.height = imageHeight + 'px';
	imgDest.style.width = imageWidth + 'px';
}

