<!--//
 function changeImage(imgDocID,imgObjName,layerName) {
   if (document.layers && layerName) {
	 window.document.layers[layerName].document.images[imgDocID].src = (imgObjName);
   }
   else {
	 document.images[imgDocID].src = (imgObjName);
    }
  }
  
function openNew(page, theName, theWidth, theHeight) {
	var x=100; 
	var y=100;
    new_window = window.open(page,theName,'height=' + theHeight + ',width=' + theWidth + ',toolbar=0,titlebar=0,status=0,scrollbars=1,resizable=1,personalbar=0,menubar=0,location=0,directories=0');
}

function openParentLink(theURL){
	if(window.opener){
		window.opener.location = theURL;
		window.opener.focus();
	} else {
		new_window = window.open(theURL, 'new_window');
	}
}

// begin layer script
//if explorer (4.x)
if (document.all) {
		layerRef='document.all'
		styleRef='.style.'
}
//else if netscape (4.x)
else if (document.layers) {
	//alert(navigator.appName)
		layerRef='window.document.layers'
		styleRef='.'
	}
else{
	// location.href="not4x.html"
}

function show(elem){
//check for netscape 6.0 (as follows)
if(navigator.appVersion.indexOf('5.0') != -1 && !(document.layers)){
	//alert(navigator.appName)
	document.getElementById(elem).style.visibility="visible"
} else {
	//alert("hello")
    eval(layerRef+'["' + elem + '"]'+styleRef+'visibility="visible"') ;
	return true;
  }
}
function hide(elem){
//check for netscape 6.0 (as follows)
if(navigator.appVersion.indexOf('5.0') != -1 && !(document.layers)){
	document.getElementById(elem).style.visibility="hidden"
} else {
    eval(layerRef+'["' + elem + '"]'+styleRef+'visibility="hidden"') ;
	return false;
  }
}
//end layer script


//-->