function prep4edit(id, dowhat) {
	var preview		= "existing_comment_" + id + "_preview";
	var btn_prep	= "btn_edit_comment_" + id;
	var textarea	= "edit_existing_comment_"+ id;
	var btn_go		= "btn_edit_comment_" + id + "_go";
	var btn_stop	= "btn_edit_comment_" + id + "_stop";

	if (dowhat == "open"){
		$("#" + textarea).addClass('hilite_it');
		$("#" + textarea).fadeIn();
		$("#" + btn_go).fadeIn();
		$("#" + btn_stop).fadeIn();

		$("#" + preview).fadeOut();
		$("#" + btn_prep).fadeOut();
		$("#edit_comment_results").text('');
	} else {
		$("#" + textarea).removeClass('hilite_it');
		$("#" + textarea).fadeOut();
		$("#" + btn_go).fadeOut();
		$("#" + btn_stop).fadeOut();

		$("#" + preview).fadeIn();
		$("#" + btn_prep).fadeIn();
	}

}

function add_comment_textarea(num) {
	var ta = "<textarea class='js_comment' cols='80' rows='4'></textarea>";
	for (i=1 ;i<=num ;i++ ){
		$('.js_comment').after(ta);
	}
	
}
function prepContractUploadButton() {

	var client_guid = $('#contract_client_guid').val();
	var contract_file = $('#contract_file').val();

	if (client_guid != "" && contract_file != "") {
		$('#btn_upload_contract').addClass('go_button');
		$('#btn_upload_contract').removeClass('go_button_disabled');
		$('#btn_upload_contract').attr('disabled','');
	} else {
		$('#btn_upload_contract').addClass('go_button_disabled');
		$('#btn_upload_contract').removeClass('go_button');
		$('#btn_upload_contract').attr('disabled','disabled');
	}
}
function prepCVUploadButton() {

	var candidate_guid = $('#candidate_guid').val();
	var resume_file = $('#resume_file').val();
	if (candidate_guid != "" && resume_file != "") {
		$('#btn_upload_resume').addClass('go_button');
		$('#btn_upload_resume').removeClass('go_button_disabled');
		$('#btn_upload_resume').attr('disabled','');
	} else {
		$('#btn_upload_resume').addClass('go_button_disabled');
		$('#btn_upload_resume').removeClass('go_button');
		$('#btn_upload_resume').attr('disabled','disabled');
	}
}

function show_state_list(region_id, email_blast){
	if (email_blast){
		$("#regions_states_email").slideDown('slow');
		$("#states_list_email").html( $("#region_" + region_id + "_states_email").html() );	
		$("#states_list_email").slideDown('slow');
	} else {
		$("#regions_states").slideDown('slow');
		$("#states_list").html( $("#region_" + region_id + "_states").html() );	
		$("#states_list").slideDown('slow');
	}
}
function check_if_practicing(value){
	$("#practicing_current_earnings_holder").hide('slow');
	if (value == "3"){
		$("#practicing_current_earnings_holder").show('slow');
	}
}
function check_for_other(choice, element){
	if (choice == "999"){
		$("#" + element + "_other_holder").show('fast');
	} else {
		$("#" + element + "_other_holder").hide('slow');
	}
	
}
function show_checkbox_other(id,element){
	if ($("#" + id).is(':checked') ){
		$("#" + element + "_other_holder").show('fast');
	} else {
		$("#" + element + "_other_holder").hide('slow');
	}
	
}

function show_employee_submenu(dowhat,category,menu_id){
	switch (category){
	case "client":
		var menu_ids = new Array(
			'add',
			'edit',
			'search',
			'upload_contract'
		);
		break;
	case "candidate":
		var menu_ids = new Array(
			'add',
			'edit',
			'upload_resume',
			'search'
		);
		break;
	case "employee":
		break;
	}
	switch (dowhat){
	case "open":
		for (i=0;i<menu_ids.length ; i++ )	{
			if (menu_id == menu_ids[i]){
				//alert (menu_id + ' matches ' + menu_ids[i] );
				document.getElementById('portal_'+category+'_'+menu_ids[i]+'_holder').style.display='';
			} else {
				//alert (menu_id + ' doesn\'t match ' + menu_ids[i] );
				document.getElementById('portal_'+category+'_'+menu_ids[i]+'_holder').style.display='none';
			}
		}
		document.getElementById('portal_'+category+'_ui').innerHTML = document.getElementById('portal_'+category+'_'+menu_id+'_form').innerHTML;
		break;
	case "close":
		document.getElementById('portal_'+category+'_'+menu_id+'_holder').style.display='none';
		// clear contents of subarea
		document.getElementById('portal_'+category+'_ui').innerHTML='';
		break;
	
	}
}
	
	
function set_preferred_ids(category) {
	var ids = '';
	var preferred_area_id = "";
	var preferred_area_ids_selected = "";
	switch (category){
		case "client":
			preferred_area_id = 'client_preferred_area_id';
			preferred_area_ids_selected = 'client_preferred_ids_selected';
			break;
		case "candidate":
			preferred_region_id = 'candidate_preferred_region_id';
			preferred_region_ids_selected = 'candidate_preferred_region_ids_selected';
			break;
		case "candidate_submit":
			preferred_region_id = 'candidate_submit_preferred_region_id';
			preferred_region_ids_selected = 'candidate_submit_preferred_region_ids_selected';
			break;
		case "employee":
			break;
	}
	for (i=0; i<document.getElementById(preferred_region_id).options.length; i++) {
		if (document.getElementById(preferred_region_id).options[i].selected == true) {
			ids += i + ":";
		}

		// now kill the last ":"
		//trimmed_ids = ids.substring(0,ids.length-1);
	}

	document.getElementById(preferred_region_ids_selected).value = ids;
	//document.getElementById(preferred_region_ids_selected).value = trimmed_ids;

}



function subnav(section){
	var sections	= new Array(
			'candidates',
			'clients',
			'home'
			);

	switch (section){
		case "off":
		for (i=0;i<sections.length ; i++ )	{
			document.getElementById('sublink_'+sections[i]).style.display = "none";
		}
		break;

		default:
			for (i=0;i<sections.length ; i++ )	{
				if (section == sections[i]){
					document.getElementById('sublink_'+sections[i]).style.display = "";
				} else {
					document.getElementById('sublink_'+sections[i]).style.display = "none";
				}
			}
			break;
	}
}
function do_ie_adjust(passed_version) {
	document.getElementById('sublink_about').style.top = "21px";
	document.getElementById('sublink_candidates').style.top = "21px";
	document.getElementById('sublink_clients').style.top = "21px";
	if( passed_version == "MSIE 6.0" ) {
		alert('passed: '+passed_version);

		document.getElementById('main_nav_holder').style.height = "28px";
		document.getElementById('main_nav').style.height = "24px";
	} else {
		document.getElementById('main_nav_holder').style.height = "28px";
		document.getElementById('main_nav').style.height = "28px";

	}
}

function zinko9(ba,aa,ap,dl,st,by){
	var a,b,c,aaa,ppp,ds,db,e
	//ba=stuff before the <at>;  //aa=stuff after the <at>;  //ap=stuff after the <period>
	//dl=text to display as link;  //st=subject in case you want to predefine it
	//by=body in case you want to predefine it
	a = '<a href=\"mai'
	c = '\">'
	aaa = '@'
	ppp = '.'
	if (st){
		ds = '?sub'
		ds += 'ject=\''
		ds += st+'\''
		} else {
		ds = ''
	}
	if (by){
		db = '&bo'
		db += 'dy=\''
		db += by+'\''
		} else {
		db = ''
	}
	a += 'lto:'
	a += ba
	a += aaa
	a += aa
	a += ppp
	a += ap
	e='</a>'
	b += aa
	b += '.'
	b += ap
	if (!dl) {
		dl = ba+aaa+aa+ppp+ap
	}
	//document.write(a+ds+db+c+dl+e)

	var zookie9 = a+ds+db+c+dl+e; 
	return zookie9;

///// *********************************////
/// -- DON'T EDIT ANYTHING ABOVE HERE ---//
///// *********************************////

// instructions - inside each '' pair in the zinko9('','','','','',''); below enter
//   first '' pair: the stuff before the <at> symbol in your email address
//   second '' pair: the stuff after the <at> symbol in your email address
//   third '' pair: the stuff after the first <period> in your email address
//   fourth '' pair: what you want as the displayed link - leave blank and your email address will be link
//   fifth '' pair: if you want to have an automatic subject - enter here - otherwise leave the ''
//   sixth '' pair: if you want to have an automatic body - enter here - otherwise leave the ''
// sample below:
// <script>document.write(zinko9('your.name','DomainName','net','Your Name','this is the subject','this is the body'));</script>
}


function reset_cs(){
	var q_ids	= new Array(
			'manual',
			'e_checks',
			'needle',
			'redflag',
			'msds',
			'training',
			'posters',
			'hepb'
		);

	for (i=0;i<q_ids.length ;i++ ){
		document.getElementById(q_ids[i]+'_y').style.borderColor	= ""
		document.getElementById(q_ids[i]+'_y').style.backgroundColor = "";
		document.getElementById(q_ids[i]+'_y').style.padding		= ""
		document.getElementById(q_ids[i]+'_y').style.borderWidth	= ""
		document.getElementById(q_ids[i]+'_y').style.borderStyle	= ""

		document.getElementById(q_ids[i]+'_n').style.borderColor	= ""
		document.getElementById(q_ids[i]+'_n').style.backgroundColor = "";
		document.getElementById(q_ids[i]+'_n').style.padding		= ""
		document.getElementById(q_ids[i]+'_n').style.borderWidth	= ""
		document.getElementById(q_ids[i]+'_n').style.borderStyle	= ""
	}
	//document.getElementById('cs_needed').style.display = "none";
	$('#cs_needed').hide('slow');
}
function check_cs(answer,passed_id){
	var q_ids	= new Array(
			'manual',
			'e_checks',
			'needle',
			'redflag',
			'msds',
			'training',
			'posters',
			'hepb'
		);

	switch (answer){
	case "n":
		document.getElementById(passed_id+'_no').value = "true";

		document.getElementById(passed_id+'_n').style.backgroundColor = "yellow";
		document.getElementById(passed_id+'_n').style.padding		= "1px"
		document.getElementById(passed_id+'_n').style.borderWidth	= "2px"
		document.getElementById(passed_id+'_n').style.borderStyle	= "solid"
		document.getElementById(passed_id+'_n').style.borderColor	= "#4040FF"

		document.getElementById(passed_id+'_y').style.borderColor	= ""
		document.getElementById(passed_id+'_y').style.backgroundColor = "";
		document.getElementById(passed_id+'_y').style.padding		= ""
		document.getElementById(passed_id+'_y').style.borderWidth	= ""
		document.getElementById(passed_id+'_y').style.borderStyle	= ""
		break;
	case "y":
		document.getElementById(passed_id+'_no').value = "false";

		document.getElementById(passed_id+'_y').style.backgroundColor = "yellow";
		document.getElementById(passed_id+'_y').style.padding		= "1px"
		document.getElementById(passed_id+'_y').style.borderWidth	= "2px"
		document.getElementById(passed_id+'_y').style.borderStyle	= "solid"
		document.getElementById(passed_id+'_y').style.borderColor	= "#4040FF"

		document.getElementById(passed_id+'_n').style.borderColor	= ""
		document.getElementById(passed_id+'_n').style.backgroundColor = "";
		document.getElementById(passed_id+'_n').style.padding		= ""
		document.getElementById(passed_id+'_n').style.borderWidth	= ""
		document.getElementById(passed_id+'_n').style.borderStyle	= ""
		break;
	}

	var any_nos	= false;

	for (i=0;i<q_ids.length ;i++ ){
		if (document.getElementById(q_ids[i]+'_no').value == "true"){
			any_nos = true;
		}
	}
	if (any_nos){
		//document.getElementById('cs_needed').style.display = "";
		$('#cs_needed').show('slow');
	} else {
		//document.getElementById('cs_needed').style.display = "none";
		$('#cs_needed').hide('slow');
	}

}

function process_length(p,min,max){
	//var too_short	= false;
	//var too_long	= false;
	var the_length	= "";

	if (p.length > max){
		//too_long = true;
		//too_short = false;
		the_length	= "too_long";
	}
	if (p.length < min){
		//too_short = true;
		//too_long = false;
		the_length	= "too_short";
	}

	return the_length;

}
// check_plength - multi-purpose - pass the id to manipulate
// warning tags containing too-long or too-short warnings
function check_plength(passed_id, is_new){
	if(!is_new){
		is_new = 'false';
	}

//	var password_id = "";
//	if (is_new == "true"){
//		password_id	= "new_password_" + passed_id;
//	} else {
//		var password_id	= "password_" + passed_id;
//	}

	var p			= document.getElementById('password').value;
	var min			= 8; // minimum length
	var max			= 12; // maximum length
	var the_length	= process_length(p,min,max);

	if (p.length > 0){

		if (the_length == "too_short" || the_length == "too_long")		{
				//document.getElementById('btn_' + passed_id).style.display = "none";
				$('#btn_' + passed_id).slideUp('slow');
				//document.getElementById(passed_id + '_fix_password').style.display = "";
				$('#'+passed_id + '_fix_password').slideDown('slow');
				//document.getElementById('good_plength_' + passed_id).style.display = "none";
				$('#good_plength_' + passed_id).slideUp('slow');
			if (the_length == "too_short"){
				//document.getElementById('too_short_length_' + passed_id).style.display = "";
				//document.getElementById('too_long_length_' + passed_id).style.display = "none";
				$('#too_short_length_' + passed_id).slideDown('slow');
				$('#too_long_length_' + passed_id).slideUp('slow');
			}
			if (the_length == "too_long"){
				//document.getElementById('too_long_length_' + passed_id).style.display = "";
				//document.getElementById('too_short_length_' + passed_id).style.display = "none";
				$('#too_short_length_' + passed_id).slideUp('slow');
				$('#too_long_length_' + passed_id).slideDown('slow');
			}
		} else {

//				document.getElementById('good_plength_' + passed_id).style.display = "";
//				document.getElementById('too_short_length_' + passed_id).style.display = "none";
//				document.getElementById('too_long_length_' + passed_id).style.display = "none";
//				document.getElementById('btn_' + passed_id).style.display = "";
//				document.getElementById(passed_id + '_fix_password').style.display = "none";

				$('#good_plength_' + passed_id).slideDown('slow');
				$('#too_short_length_' + passed_id).slideUp('slow');
				$('#too_long_length_' + passed_id).slideUp('slow');
				$('#btn_' + passed_id).slideDown('slow');
				$('#' + passed_id + '_fix_password').slideUp('slow');
		
		}



	} else {

//		document.getElementById('good_plength_' + passed_id).style.display = "none";
//		document.getElementById('too_short_length_' + passed_id).style.display = "none";
//		document.getElementById('too_long_length_' + passed_id).style.display = "none";
//		document.getElementById('btn_' + passed_id).style.display = "";
//		document.getElementById(passed_id + '_fix_password').style.display = "none";


		$('#good_plength_' + passed_id).slideUp('slow');
		$('#too_short_length_' + passed_id).slideUp('slow');
		$('#too_long_length_' + passed_id).slideUp('slow');
		$('#btn_' + passed_id).slideDown('slow');
		$('#' + passed_id + '_fix_password').slideUp('slow');
	}
}


function get_background_color(){
	var background_color	= "#FFDA56";
	return background_color;
}
function get_border_color(){
	var border_color		= "#153F6F";
	return border_color;
}
function get_border_width(){
	var border_width		= "1px";
	return border_width;
	
}


function validate_cycle(required_inputs){

	var background_color	= get_background_color();
	var border_color		= get_border_color();
	var border_width		= get_border_width();

	var err_found = false;
	for (i=0;i<required_inputs.length;i++){
		document.getElementById(required_inputs[i]).style.backgroundColor = '';
		document.getElementById(required_inputs[i]).style.borderColor = '';
		document.getElementById(required_inputs[i]).style.borderWidth = '';
	}
	for (i=0;i<required_inputs.length;i++)
	{
		if (document.getElementById(required_inputs[i]).value == "") {
			//alert('i: '+ required_inputs[i]);
			err_found = true;
//			document.getElementById(required_inputs[i]).style.zIndex = "9999999";
//			document.getElementById(required_inputs[i]).style.position = "relative";
//			document.getElementById(required_inputs[i]).style.left = "100px";

			//$("#facebox").hide();

			document.getElementById(required_inputs[i]).style.backgroundColor = background_color;
			document.getElementById(required_inputs[i]).style.borderColor = border_color;
			document.getElementById(required_inputs[i]).style.borderWidth = border_width;
		}
	}
	
	return err_found;
}







function verify_add(section){


	$('#processing').show('slow');

	switch (section){
	case "client":
	case "edit_client":
		var required_inputs = new Array();
	/*
		var required_inputs = new Array(
			'company_name',
			'contact_first_name',
			'contact_last_name',
			'contact_title',
			'email',
			'address',
			'city',
			'state_id',
			'zip',
			'phone',
			'fax',
			'website',
			'best_time_to_contact',
			'profile',
			'comments',
			'accept_h1',
			'accept_j1',
			'responsible_employee_guid',
			'active',
			'contract_fee',
			'contract_terms',
			'date_contract_sent',
			'date_contract_received'
		);
		*/
		break;
	case "job":
	case "edit_job":
		var required_inputs = new Array(
			'client_guid',
			'job_title',
			'public_job_description',
			'internal_job_description',
			'start_date',
			'job_profession_id',
			'job_specialty_id',
			'job_type_id',
			'city',
			'job_state_id',
			'active',
			'visa_accepted'
		);
		break;
	case "candidate":
	case "edit_candidate":
		var required_inputs = new Array(
			'first_name_candidate',
			'last_name_candidate'
		);
		break;
	case "candidate_cv":
		var required_inputs = new Array(
			'first_name',
			'last_name',
			'candidate_add_profession_id',
			'candidate_add_specialty_id',
			'address',
			'city',
			'candidate_state_id',
			'zip',
			'email',
			'file_cv',
			'phone',
			'best_time_day_2_call'

		);
		break;
	case "info_request":
		var required_inputs = new Array(
			'title',
			'first_name',
			'last_name',
			'email',
			'city',
			'state',
			'phone',
			'best_time',
			'recruitment_needs'
		);
		break;
	case "candidate_info_request":
		var required_inputs = new Array(
			'title',
			'first_name',
			'last_name',
			'email',
			'city',
			'state',
			'phone',
			'best_time',
			'category'
		);
		break;
	case "employee":
		var required_inputs = new Array(
			'title',
			'first_name',
			'last_name',
			'access_level_id',
			'username',
			'password',
			'phone',
			'email',
			'active'
		);
		break;
	
	case "edit_employee":
		var required_inputs = new Array(
			'title',
			'first_name',
			'last_name',
			'access_level_id',
			'username',
			'phone',
			'email',
			'active'
		);
		break;
	}

	var err_found = false;
	var err_msg = "\n\nto continue, please complete the highlighted entries:\n\n";

	err_found = validate_cycle(required_inputs);

	switch(section){
		case "employee":
			// need to ensure both passwords match
			if ( $('#password').val() != "") {
				if ($('#password').val() != $('#password2').val()  ) {
					err_found = true;
					err_msg += "- also ensure passwords match.\n\n";
				}
			}
			break;
		case "edit_employee":
			// need to ensure both passwords match, but only if a password is entered
			if ( $('#password').val() != "") {
				if ($('#password').val() != $('#password2').val()  ) {
					err_found = true;
					err_msg += "- also ensure passwords match.\n\n";
				}
			}
			break;
		case "candidate_cv":
		case "info_request":
			// need to ensure both emails match
			if ( $('#email').val() != "") {
				if ($('#email').val() != $('#email2').val()  ) {
					err_found = true;
					err_msg += "- also ensure emails match.\n\n";
				}
			}
			break;
	}


	if (err_found) {
		$('#processing').hide('slow');
        $('#add_processing').hide('slow');
		alert(err_msg);
		return false;

	} else {
		switch (section){
		case "client":
			//alert(section);
			xajax_Client.createClient(xajax.getFormValues('form_add_edit_client') );
			break;
		case "edit_client":
			//alert(section);
		    $("#edit_processing").show('slow');
			xajax_Client.updateClient(xajax.getFormValues('form_edit_client') );
			break;
		case "job":
			//alert(section);
			xajax_Job.createJob(xajax.getFormValues('form_add_job') )
			break;
		case "edit_job":
			//alert(section);
		    $("#edit_processing").show('slow');
			xajax_Job.updateJob(xajax.getFormValues('form_edit_job') )
			break;
		case "edit_candidate":
			//alert(section);
			xajax_Candidate.updateCandidate(xajax.getFormValues('form_edit_candidate'), 1 );
			break;
		case "candidate":
			//alert(section);
	        jQuery('#add_processing').show('slow');
			xajax_Candidate.createCandidate(xajax.getFormValues('form_add_edit_candidate'), 1 );
			// the '1' as the last parameter - helps us fix a problem with having specialty_id
			// on the same page of the employee portal - one for search the other for add/
			// edit candidate - this tells createCandidate() to fix by setting it to 
			// specialty_id and unset'ting candidate_add_specialty_id
			//xajax_User.createCandidate(xajax.getFormValues('form_add_candidate') )
			break;
		case "candidate_cv":
			//alert(section);
			//xajax_User.createCandidate(xajax.getFormValues('form_add_candidate') )
			$('#addgonzo').attr("action", "candidates_cv.php");
			$("form:addgonzo").submit();
			break;
		case "info_request":
			//alert(section);
			//xajax_User.createCandidate(xajax.getFormValues('form_add_candidate') )
			$('#form_client_assistance').attr("action", "info_request.php");
			$("form:#form_client_assistance").submit();
			break;
		case "candidate_info_request":
			//alert(section);
			//xajax_User.createCandidate(xajax.getFormValues('form_add_candidate') )
			$('#form_candidate_assistance').attr("action", "info_request_candidate.php");
			$("form:#form_candidate_assistance").submit();
			break;
		case "employee":
			//alert(section);
			xajax_Employee.createEmployee(xajax.getFormValues('form_add_edit_employee'), 1 );
			break;
		case "edit_employee":
			//alert(section);
		    $("#edit_processing").show('slow');
			xajax_Employee.updateEmployee(xajax.getFormValues('form_edit_employee'), 1 );
			break;
		}
	}

}

function testfill() {
// simply used to save time when testing adding a candidate
	var fields = new Array(
	"title",
	"first_name",
	"last_name",
	"degree",
	"residency",
	"sub_specialty",
	"other_info",
	"area_of_interest",
	"desired_city",
	"when_available",
	"email",
	"phone",
	"address",
	"city",
	"zip",
	"cell_phone",
	"pager",
	"work_status",
	"call_schedule",
	"salary_expectations",
	"interview_activity",
	"my_references",
	"notes",
	"source",
	"internal_description",
	"public_description",
	"additional_contact_info",
	"best_time_day_2_call",
	"significant_other_name",
	"significant_other_need_job",
	"family_resides",
	"citizenship_status",
	"foreign_language_info",
	"esl_skill",
	"current_practice_setup_call_coverage",
	"why_leaving_present_job",
	"location_preferences",
	"why_did_choose_location",
	"desired_community",
	"desired_compensation_package",
	"any_license_privilege_problems",
	"any_malpractice_suits",
	"past_drug_alcohol_abuse_treatment",
	"national_practitioner_dbase_report",
	"profile",
	"comments"
	);

	for (var i=0;i<fields.length;i++){
			document.getElementById(fields[i]).value = fields[i];
	}
}

// ################## jQuery ################################

// STUFF THAT AUTOMATICALLY LOADS WHEN DOC IS READY TO BE MANIPULATE
$(document).ready(function(){

	// loading the email blast preview
	$("#btn_email_blast_preview").click(function() {
		$("#email_blast_preview_holder").text('Generating Preview ...');
		$("#email_blast_inputs").fadeOut();
		$("#email_blast_preview_holder").fadeIn();
		$("#fix_send_buttons").fadeIn();
		$("#email_blast_send_results").text('');
		xajax_Misc.generateEmailBlastPreview(xajax.getFormValues('form_email_blaster') )
	});


	// loading the email blast preview
//	$("btn_email_blast").click(function() {
//		$("email_blast_send_results").text('Processing ...');
//		xajax_Misc.generateEmailBlast(xajax.getFormValues('form_email_blaster') )
//	});




//// let's do a quick precheck in the email blaster to see how many recipients
//// there will be based on changes to / selection of profession, specialty, region

	$("#email_blast_candidate_add_profession_id").change(function () {
		xajax_Misc.calcBlastRecipients(xajax.getFormValues('form_email_blaster') );

	});

//	$("#email_blast_candidate_specialty_id").change(function () {
//		alert('specialtyidval: ' + $("#email_blast_candidate_specialty_id").val() );
//		xajax_Misc.calcBlastRecipients(xajax.getFormValues('form_email_blaster') );
//
//	});
//

	$(".regions_checkbox").click(function () {
		xajax_Misc.calcBlastRecipients(xajax.getFormValues('form_email_blaster') );

	});


});





