function showhide(layer_on, layer_off)
{
  var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById;

  var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById;

  if(is_ns4)
	{
    document.layers[layer_on].visibility ='show'
    document.layers[layer_off].visibility ='hide'
	}
  else if(is_ns6) 
	{
    document.getElementById(layer_on).style.display = 'block';
    document.getElementById(layer_off).style.display = 'none';
	}
  else if(document.all)
	{
    document.all(layer_on).style.display ='block'
    document.all(layer_off).style.display ='none'
	}
}

function ProperCase(frmObj)
{
	var index;
	var tmpStr;
	var tmpChar;
	var preString;
	var postString;
	var strlen;

	tmpStr = frmObj.value.toLowerCase();
	strLen = tmpStr.length;

	if (strLen > 0)
		{
		for (index = 0; index < strLen; index++)
			{
			if (index == 0)
				{
				tmpChar = tmpStr.substring(0,1).toUpperCase();
				postString = tmpStr.substring(1,strLen);
				tmpStr = tmpChar + postString;
				}
			else
				{
				tmpChar = tmpStr.substring(index, index+1);
				if (tmpChar == " " && index < (strLen-1))
					{
					tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
					preString = tmpStr.substring(0, index+1);
					postString = tmpStr.substring(index+2,strLen);
					tmpStr = preString + tmpChar + postString;
					}
				}
			}
		}
	frmObj.value = tmpStr;
}



function openTestimonial(strTestimonial){
	var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById;
	var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById;
	
	if(is_ns4){
		document.layers['testimonial' + strTestimonial].visibility ='show';
		document.layers['buttonClose' + strTestimonial].visibility ='show';
		document.layers['buttonOpen' + strTestimonial].visibility ='hide';
	}else if(is_ns6){
		document.getElementById('testimonial' + strTestimonial).style.display = 'block';
		document.getElementById('buttonClose' + strTestimonial).style.display = 'block';
		document.getElementById('buttonOpen' + strTestimonial).style.display = 'none';
	}else if(document.all){
		document.all('testimonial' + strTestimonial).style.display ='block';
		document.all('buttonClose' + strTestimonial).style.display ='block';
		document.all('buttonOpen' + strTestimonial).style.display ='none';
	}
}
function closeTestimonial(strTestimonial){
	var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById;
	var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById;
	
	if(is_ns4){
		document.layers['testimonial' + strTestimonial].visibility ='hide';
		document.layers['buttonClose' + strTestimonial].visibility ='hide';
		document.layers['buttonOpen' + strTestimonial].visibility ='show';
	}else if(is_ns6){
		document.getElementById('testimonial' + strTestimonial).style.display = 'none';
		document.getElementById('buttonClose' + strTestimonial).style.display = 'none';
		document.getElementById('buttonOpen' + strTestimonial).style.display = 'block';
	}else if(document.all){
		document.all('testimonial' + strTestimonial).style.display ='none';
		document.all('buttonClose' + strTestimonial).style.display ='none';
		document.all('buttonOpen' + strTestimonial).style.display ='block';
	}	
}