// debug alerts through # 0

var selecton_url_base = "http://selecton.bioinfo.tau.ac.il";
var selecton_url_results = selecton_url_base + "/selecton/results/";

// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
// DESIGN NOTES:

// ALL ARRAYS' first occupied position is 1, not 0.
//		(except for rare ones generated with .split())

// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
function setup_selecton()
{
	// initialize relevant consurf variables
	consurf_pdb_id = selecton_pdb_id;
	consurf_chain = selecton_chain;

	if (typeof(selecton_identical_chains) != "undefined")
		consurf_identical_chains = selecton_identical_chains;
	else
		consurf_identical_chains = "";

	consurf_grade_freqs_isd = selecton_grade_freqs_isd;
	consurf_grade_freqs = selecton_grade_freqs;

	// In Selecton 2.2, ISD is not yet implemented.
	var selecton_version_number = parseFloat(selecton_version);
	if (selecton_version_number <= 2.2)
	{
		mouseover_no_isd_msg = "";
		only_isd_data = true;
	}

	if (selecton_version_number <= 2.2)
		identical_chains_reported = false;


		// force ISD off NOT NECESSARY as long as first selecton_grade_freqs is 0.
		//	top.consurf_grade_freqs_isd[0] = 0;
}
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

