function chcek_numeric(e)
{
	
	var isIE = (window.event) ? 1 : 0;
	if (isIE)
	{
		if (e.keyCode < 47 || e.keyCode >57 ) 
		{ 
			e.returnValue = false;
		}
	}
	else
	{

		if ( e.which < 47 || e.which >57 ) 
		{
			if ( e.which != 8 ) e.preventDefault();
		}
	}

}


function set_multiple_domain(str)
{
 var id ;
 status = document.getElementById('domain_no').value;
 str += 'multiple_domain='+status;
 location.href=str;
}

function set_multiple_domain(str)
{
 var id ;
 status = document.getElementById('domain_no').value;
 str += 'multiple_domain='+status;
 location.href=str;
}

function get_payment_method(str)
{
 var id ;
 id = document.getElementById('payment_method');
 var status;
 status = id.options[id.selectedIndex].value;
 
 if (status != 'E-Check')
 {
    //alert("test");
	if (document.getElementById('credit_card_form')) document.getElementById('credit_card_form').style.visibility = 'visible';
	if (document.getElementById('credit_card_form')) document.getElementById('credit_card_form').style.display = 'block';
	
	
	if (document.getElementById('echeck_form')) document.getElementById('echeck_form').style.visibility = 'hidden';
	if (document.getElementById('echeck_form')) document.getElementById('echeck_form').style.display = 'none';	 
 }
 else
 {
   //alert("test");
	if (document.getElementById('echeck_form')) document.getElementById('echeck_form').style.visibility = 'visible';
	if (document.getElementById('echeck_form')) document.getElementById('echeck_form').style.display = 'block';
	
	
	if (document.getElementById('credit_card_form')) document.getElementById('credit_card_form').style.visibility = 'hidden';
	if (document.getElementById('credit_card_form')) document.getElementById('credit_card_form').style.display = 'none';	 
 }
 
 
 
}


