// JavaScript Document

function checkreg() {
if (document.Register.username.value=="")
        {alert('Please create a user name');    document.Register.username.focus(); return false}

if (document.Register.password_1.value=="")
        {alert('Please enter a password');      document.Register.password_1.focus(); return false}

if (document.Register.password_2.value=="")
        {alert('Please confirm your password'); document.Register.password_2.focus(); return false}

if (document.Register.first_name.value=="")
        {alert('Please key your first name');   document.Register.first_name.focus(); return false}

if (document.Register.last_name.value=="")
        {alert('Please key your last name');    document.Register.last_name.focus(); return false}

if (document.Register.phone_1.value=="")
        {alert('Please key your phone number'); document.Register.phone_1.focus(); return false}

if (document.Register.user_email.value=="")
        {alert('Please key your email address');        document.Register.user_email.focus(); return false}

if (document.Register.address_1.value=="")
        {alert('Please key your address');      document.Register.address_1.focus(); return false}

if (document.Register.city.value=="")
        {alert('Please key your city'); document.Register.city.focus(); return false}

if (document.Register.state.value=="")
        {alert('Please key your state');        document.Register.state.focus(); return false}

if (document.Register.zip.value=="")
        {alert('Please key your postcode');     document.Register.zip.focus(); return false}

if (document.Register.country.value=="")
        {alert('Please select a country');      document.Register.country.focus(); return false}

}

function cleartextbox(text_box){
	text_box.value = "";
}

function restoretextbox(text_box,boxval){
	if (text_box.value == ""){ 
		text_box.value = boxval; 
	}
}
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
