
function initIt()
{

  tempColl = document.all.tags("DIV");
  for (i=0; i<tempColl.length; i++)
  {
     if (tempColl(i).className == "child") tempColl(i).style.display = "none";
  }

}

function expandIt(el) {

  whichEl = eval(el + "Child");
  if (whichEl.style.display == "none") {
    whichEl.style.display = "block";
  }
  else {
    whichEl.style.display = "none";
  }

}

function modelesswin(url,mwidth,mheight){
	if (document.all&&window.print) //if ie5
	{
		eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')
	}
	else
	{
		eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=0,scrollbars=1")')
	}
}

function modewin(url,mwidth,mheight){
	eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=0,scrollbars=1")')
}

function setbackground(){
	var isNav = (navigator.appName == "Netscape") ? true : false;
	var isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;

	if (isIE)
	{
		document.body.style.background="url('../gifjpg/logo3.jpg') white center no-repeat fixed"
	}
	else
	{
		document.body.style.background="url('../gifjpg/logo3.jpg') white center no-repeat fixed"
	}
}

function initialize(){
	var isNav = (navigator.appName == "Netscape") ? true : false;
	if (isNav)
	{
		alert("The South Hills Chorale Website does not work well using the Netscape browser.  Please use the Microsoft Internet Explorer browser to take advantage of all the Web content.  You may continue to use the Netscape browser if you wish to view information about the South Hills Chorale.")
	}
}