function search_form(){
    if(document.search.searchbox.value == ""){
        alert ( "Please enter your search text first!" );
        return false;
    }
    return true;
}
function printpage(){
  window.print();  
}
function clear_userid(){
	if (document.login_suppot.username.value == 'ENTER USER ID') document.login_suppot.username.value = '';
}
function check_userid(){
	if (document.login_suppot.username.value == '') document.login_suppot.username.value = 'ENTER USER ID';
}
function clear_password(){
	if (document.login_suppot.password.value == 'ENTER PASSWORD') document.login_suppot.password.value = '';
}
function check_password(){
	if (document.login_suppot.password.value == '') document.login_suppot.password.value = 'ENTER PASSWORD';
}

function login_check(){
    valid = true;
    if(
    	document.login_suppot.username.value == "ENTER USER ID" || document.login_suppot.username.value == '' ||
    	document.login_suppot.password.value == "ENTER PASSWORD" || document.login_suppot.password.value == '' 
      )
    {
        alert ( "Wrong Entry, Please Try Again!!" );
        valid = false;
    }
    return valid;
}

function quotation_check(){
    valid = true;
    if(document.request.name.value == '' || document.request.email.value == ''){
        alert ( "Please enter your name and email" );
        valid = false;
    }
    return valid;
}
