/* alternate method of show more - not using IDs */

function showMoreInfo(_o)
{
    var toggle_container = _o.parentNode.parentNode.parentNode
    toggle_container.className = toggle_container.className.replace("hide", "show");
}

function showLessInfo(_o)
{
    var toggle_container = _o.parentNode.parentNode.parentNode
    toggle_container.className = toggle_container.className.replace("show", "hide");
}

function showLayer (id) {  
	if (document.layers)
    document[id].display = 'block';  
  else if (document.all)
    document.all[id].style.display = 'block';
  else if (document.getElementById)
    document.getElementById(id).style.display = 'block';}

function hideLayer (id) {  
	if (document.layers)
		document[id].display = 'none';  
	else if (document.all)
    document.all[id].style.display = 'none';
  else if (document.getElementById)
    document.getElementById(id).style.display = 'none';}
    
//***** Function for Demo popup Centered in the Window *****//
function demoPopCentered(url, w, h, name) {
var t = Math.floor( (screen.height - h) / 2);
var l = Math.floor( (screen.width - w) / 2);
var winParms = "top=" + t + ",left=" + l + ",width=" + w + ",height=" + h;
if (name=="") {name="demoPop"}
var win = window.open(url, name, winParms);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
//return win;
}

//***** END *****//

