	//  cssWriterDrums() and its daughter css functions write the style sheets for each tutorial page.
	//
	//  The style sheets define the properties of each HTML tag,including the font characterstics, color,
	//		background, alignment, etc.
	//
	//  These functions allow easy application of the DRuMS color scheme to HTML elements; simply 
	//		include the CLASS property in any opening tag (i.e., FONT CLASS="c">Carbon</FONT>).


function cssWriterDrums()  {
	cssAtoms();
	cssAA();
	cssNuc();
	cssStruct();
	cssGeneral();
}

function cssAtoms()  {
	document.write("<STYLE>"); 
	document.writeln("all.c{color: #C8C8C8;font-weight: bold;}");
	document.writeln("all.alphac{color: #787878;font-weight: bold;}");
	document.writeln("all.h{color: #FFFFFF;font-weight: bold;background-color:#000000;}");
	document.writeln("all.n{color: #8F8FFF;font-weight: bold;}");
	document.writeln("all.o{color: #F00000;font-weight: bold;}");
	document.writeln("all.pfe{color: #FFA500;font-weight: bold;}");
	document.writeln("all.s{color: #FFC832;font-weight: bold;}");
	document.writeln("all.mg{color: #228B22;font-weight: bold;}");
	document.writeln("all.mnca{color: #808090;font-weight: bold;}");
	document.writeln("all.clb{color: #00FF00;font-weight: bold;}");
	document.writeln("all.zncu{color: #A52A2A;font-weight: bold;}");
	document.writeln("all.na{color: #0000FF;font-weight: bold;}");
	document.writeln("all.fsi{color: #DAA520;font-weight: bold;}");
	document.write("</STYLE>"); 
}

function cssAA()  {
	document.write("<STYLE>"); 
	document.writeln("all.nonpolar{color: #C8C8C8;font-weight: bold;}");
	document.writeln("all.wnonpolar{color: #A8A8A8;font-weight: bold;}");
	document.writeln("all.polar{color: #FF33FF;font-weight: bold;}");
	document.writeln("all.uncharged{color: #A020F0;font-weight: bold;}");
	document.writeln("all.acidic{color: #FF0000;font-weight: bold;}");
	document.writeln("all.basic{color: #3366FF;font-weight: bold;}");
	document.write("</STYLE>"); 
}

function cssNuc()  {
	document.write("<STYLE>"); 
	document.writeln("all.purine{color: #2E8B57;font-weight: bold;}");
	document.writeln("all.adenine{color: #5050FF;font-weight: bold;}");
	document.writeln("all.guanine{color: #00C000;font-weight: bold;}");
	document.writeln("all.pyrimidine{color: #FF8C00;font-weight: bold;}");
	document.writeln("all.cytosine{color: #E00000;font-weight: bold;}");
	document.writeln("all.thymidine{color: #E6E600;font-weight: bold;}");
	document.writeln("all.uracil{color: #B8860B;font-weight: bold;}");
	document.writeln("all.dnaback{color: #8000BB;font-weight: bold;}");
	document.writeln("all.rnaback{color: #B00070;font-weight: bold;}");
	document.write("</STYLE>"); 
}

function cssStruct()  {
	document.write("<STYLE>"); 
	document.writeln("all.helix{color: #F00080;font-weight: bold;}");
	document.writeln("all.strand{color: #EEEE00;font-weight: bold;}");
	document.writeln("all.turn{color: #6080FF;font-weight: bold;}");
	document.writeln("all.other{color: #FFFFFF;font-weight: bold;background-color:#000000;}");
	document.write("</STYLE>"); 
}

function cssGeneral()  {
	document.write("<STYLE>"); 
	document.writeln("all.ligand{color: #00DCDC;font-weight: bold;}");
	document.write("</STYLE>"); 
}
