// JavaScript Document
function confirm_del_job(){
if (confirm('Are you sure? , you want to delete this entry from your list'))
            {
return true;}
else              {
        return false;}
}


function confirm_del_qualification(){
if (confirm('Are you sure? you want to delete Academic Information, you selected'))
            {
return true;}
else              {
        return false;}
}

function confirm_del_exp(){
if (confirm('Are you sure , you want to delete Work Experience, you selected'))
            {
return true;}
else              {
        return false;}
}

function terms_window(){
window.open("termsandconditions.php","Tearms_and_Condition","height=550, width=450,toolbar=no,statusbar=no,scrollbars=yes").focus();
}


function condition_window()
{
	window.open("termsandconditions_jobposting.php","Tearms_and_Condition_for_Job_Posting","height=400, width=450,toolbar=no,statusbar=no,scrollbars=yes").focus();
}



function jobseeker_datails(jsid)
{
	window.open("employer_applier_job_seeker_datails.php?jsid="+jsid,"","resizable=yes,height=600, width=600,toolbar=no,statusbar=no,scrollbars=yes").focus();
}

function change(id){ 
     ID = document.getElementById(id); 
     
     if(ID.style.display == "") 
          ID.style.display = "none"; 
     else 
          ID.style.display = ""; 
      }

function dropback() {	
		opener.document.signup_payment_form_step3.terms.checked = 1;
		window.close();
		return false;
	}

/* to check/ uncheck all the check boxes on listing */
function checkUncheckAll(theElement) {
	  for (var i = 0; i < document.form_check.elements.length; i++) {
		var e = document.form_check.elements[i];
		if ((e.name != 'allbox') && (e.type == 'checkbox')) {
		e.checked = theElement.checked;
		}
	  }
	 
    }

function payment(){

var terms=document.signup_payment_form_step3.terms;
	
//Validation for User Name
		// check box for validation
if (!(terms.checked)) {
                 alert("Please Read the terms and conditions carefully & check the agreement box");
              return false;
      
		}else {
                return true;
        }

}

function jobposting(){

var terms=document.job_payment_form.terms;
	
//Validation for User Name
		// check box for validation
if (!(terms.checked)) {
                 alert("Please Read the terms and conditions carefully & check the agreement box");
              return false;
      
		}else {
                return true;
        }

}

