function popUp(url,width,height)
{
	window.open(url,'popUpWindow','width=' + width + ',height=' + height + ',toolbar=no,location=no,scrollbars=yes');
}




function loadParentURL(url)
{
	self.opener.location = url;
}


  
function showHide(whichLayer,otherLayer,thisRadio,formSent)
{

	var style1;
	var style2;
	
	if (document.getElementById(whichLayer))
	{

		// this is the way the standards work
		
		style1 = document.getElementById(whichLayer).style;
		style2 = document.getElementById(otherLayer).style;
				
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		
		style1 = document.all[whichLayer].style;
		style2 = document.all[otherLayer].style;
		

	}
	else if (document.layers)
	{

		// this is the way nn4 works
	
		style1 = document.layers[whichLayer].style;
		style2 = document.layers[otherLayer].style;
		
	}
	else
	{
	
		//alert("NO LAYER: " + whichLayer);
		
	}
	
	if(thisRadio == "standing")
	{
	
		style1.display = style1.display? "":"";
		style2.display = style2.display? "":"";
	
	}
	else if(thisRadio == "abouttopay")
	{
		style1.display = style1.display? "":"block";
		style2.display = style2.display? "":"";
		
	}
	else if(thisRadio == "latepayment")	
	{
	
		style1.display = style1.display? "":"";
		style2.display = style2.display? "":"block";
	}
	
}


