function setShippingInfo(isChecked)
{
	with (window.document.frmRegister) {
		if (isChecked) {
			txtShippingFname.value  = txtFname.value;
			txtShippingCompany.value   = txtCompany.value;
			txtShippingAddress.value   = txtAddress.value;
			txtShippingCity.value   = txtCity.value;
			txtShippingZipcode.value       = txtZipcode.value;
			txtShippingPhone.value = txtPhone.value;
			txtShippingFax.value = txtFax.value;
		} else {
			txtShippingFname.value  ='';
			txtShippingCompany.value   = '';
			txtShippingAddress.value   = '';
			txtShippingCity.value   = '';
			txtShippingZipcode.value       = '';
			txtShippingPhone.value = '';
			txtShippingFax.value = '';
		}
	}
}


function checkShipping()
{
    with (window.document.frmRegister) {
		if (isEmpty(txtFname)) {
			alert('Enter your full name');
			txtFname.focus();
			return;
		} else if (isEmpty(txtAddress)) {
			alert('Complete your address');
			txtAddress.focus();
			return;
		} else if (isEmpty(txtEmail)) {
			alert('Please enter email address correctly');
			txtEmail.focus();
			return;
		} else if (isEmpty(txtPass)) {
			alert('Enter city address');
			txtPass.focus();
			return;			
		} else if (isEmpty(txtZipcode)) {
			alert('Enter Postal code');
			txtZipcode.focus();
			return;		
		} else if (isEmpty(txtCity)) {
			alert('Enter City');
			txtCity.focus();
			return;	
		} else if (isEmpty(txtCountry)) {
			alert('Enter Country');
			txtCountry.focus();
			return;	
		} else if (isEmpty(txtPhone)) {
			alert('Enter Postal code');
			txtPhone.focus();
			return;	
		} else {
			submit();
		}
	}
}
function checkFormAuction()
{
    with (window.document.formAuction) {
		if (isEmpty(yourName)) {
			alert('Please enter your full name');
			yourName.focus();
			return;
		} else if (isEmpty(yourEmail)) {
			alert('Please enter email address');
			yourEmail.focus();
			return;	
		} else if (isEmpty(captchastring)) {
			alert('Please enter code');
			captchastring.focus();
			return;	
			} else {
			submit();
		}
	}
}
function checkFormCheckout()
{
    with (window.document.frmUserField) {
		if (isEmpty(txtFname)) {
			alert('Please enter your full name');
			txtFname.focus();
			return;
		} else if (isEmpty(txtEmail)) {
			alert('Please enter email address');
			txtEmail.focus();
			return;	
		} else if (isEmpty(captchastring)) {
			alert('Please enter code');
			captchastring.focus();
			return;	
		} else {
			submit();
		}
	}
}