
var d = document;
var ie4 = (d.all) ? true : false;
var ns4 = (d.layers) ? true : false;
var ns6 = (!d.all && d.getElementById) ? true : false;



	if ( ie4 ) {		//IE4+
		var ptrailsize = "xx-small";
		if (screen.availWidth > 900) {
			var mainmenusize = "small";
			var textSize = "x-small";
			var formSize = "xx-small";
		} else {
			var textSize = "xx-small";
			var formSize = "xx-small";
		}
	} else {
		if ( ns4 ) {		//NS4 browsers
			var ptrailsize = "x-small";
			if (screen.availWidth > 900) {
				var textSize = "small";
				var formSize = "x-small";
			} else {
				var textSize = "x-small";
				var formSize = "xx-small";
			}
		} else {
			if ( ns6 ) {		//Gecko based browsers
			var ptrailsize = "xx-small";
				if (screen.availWidth > 900) {
					var textSize = "small";
					var formSize = "x-small";
				} else {
					var textSize = "x-small";
					var formSize = "xx-small";
				}
			}
		}
	}

	d.write ("<style type=text/css>\n");

	d.write ("p {  font-family: Arial, Helvetica, sans-serif; font-size: "+ textSize +"}\n");
	d.write ("td {  font-family: Arial, Helvetica, sans-serif; font-size: "+ textSize +"; line-height: 110%}\n");
	d.write ("body {  font-family: Arial, Helvetica, sans-serif; font-size: "+ textSize +"; color: #333333}\n");
	
	d.write ("h1 {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; font-weight: 900; color: #006393}\n")
	d.write ("h3 {  font-family: Arial, Helvetica, sans-serif; font-size: medium; color: #006393}\n");
	
	d.write (".cssform { border-color: #FFFFFF; background-color: #FFFFFF; border-style: groove; font-family: Verdana, Arial, Helvetica; font-size: xx-small; font-weight: bold; padding: 1px 1px 1px 1px; margin-top: 0px; margin-bottom: 0px; color: #000000 }");
	
	d.write ("a:active {  text-decoration: none; color: #006393; font-weight: bold}\n");	//0073B0
	d.write ("a:link {  text-decoration: none; color: #006393; font-weight: bold}\n");
	d.write ("a:visited { text-decoration: none; color: #006393; font-weight: bold}\n");
	d.write ("a:hover {  text-decoration: underline; color: #006393; font-weight: bold}\n");
	d.write (".main_menu {  color: #20468C; font-weight: bold; font-size: small }\n");
	d.write (".sub_menu_1 {  color: #0000FF; font-weight: normal; font-size: x-small }\n");
	d.write (".sub_menu_2 {  color: #0079B9; font-weight: normal; font-size: x-small }\n");
	d.write (".sub_menu_3 {  color: #333333; font-weight: normal; font-size: x-small }\n");
	d.write (".sub_menu_4 {  color: #999999; font-weight: normal; font-size: x-small }\n");
	d.write (".ptrail {  font-weight: normal; font-size: "+ ptrailsize +" }\n");
	d.write (".Small { font-size: x-small }\n");
	d.write (".VerySmall { font-size: xx-small }\n");
	d.write (".Red {  color: #CE0D12; }\n");
	d.write (".BlueBar {  color: #DFDFFF; font-weight: bold; font-size: "+ mainmenusize +"}\n");
	d.write (".BlueBar:active {  text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".BlueBar:link {  text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".BlueBar:visited { text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".BlueBar:hover {  text-decoration: underline; color: #666666; font-weight: bold}\n");
	d.write (".BlueBarSelected { color: #333333; font-weight: bold; font-size: "+ mainmenusize +" }\n");
	d.write (".BlueBarSelected:active {  text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".BlueBarSelected:link {  text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".BlueBarSelected:visited { text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".BlueBarSelected:hover {  text-decoration: underline; color: #333333; font-weight: bold}\n");
	d.write (".YellowBar {  color: #333333; font-weight: normal; font-size: "+ textSize +"}\n");
	d.write (".YellowBar:active {  text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".YellowBar:link {  text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".YellowBar:visited { text-decoration: none; color: #666666; font-weight: bold}\n");
	d.write (".YellowBar:hover {  text-decoration: underline; color: #666666; font-weight: bold}\n");
	d.write (".SearchTitle {  color: #FFFFFF; font-weight: bold; font-size:  "+ textSize +" }\n");
	d.write (".NewsSnippetTitle {  color: #006393; font-weight: bold; font-size:  "+ textSize +" }\n");
	d.write (".NewsSnippet {  color: #006393; font-weight: normal; font-size:  "+ formSize +" }\n");
	d.write (".NewsSnippet:active {  text-decoration: none; color: #006393; font-weight: bold}\n");
	d.write (".NewsSnippet:link {  text-decoration: none; color: #006393; font-weight: bold}\n");
	d.write (".NewsSnippet:visited { text-decoration: none; color: #006393; font-weight: bold}\n");
	d.write (".NewsSnippet:hover {  text-decoration: underline; color: #006393; font-weight: bold}\n");
	d.write (".YellowVBar {  color: #FFFFFF; font-weight: normal; font-size: "+ textSize +"; line-height: 150% }\n");
	d.write (".YellowVBarSelected {  color: #FFFFFF; text-decoration: underline; font-weight: normal; font-size: "+ textSize +" }\n");
	d.write (".YellowVBar:active {  text-decoration: none; color: #FFFFFF; font-weight: bold}\n");
	d.write (".YellowVBar:link {  text-decoration: none; color: #FFFFFF; font-weight: bold}\n");
	d.write (".YellowVBar:visited { text-decoration: none; color: #FFFFFF; font-weight: bold}\n");
	d.write (".YellowVBar:hover {  text-decoration: underline; color: #FFFFFF; font-weight: bold}\n");
	d.write (".YellowBarSelected {  color: #333333; font-weight: normal; font-size: "+ textSize +" }\n");
	d.write (".YellowBarSelected:active {  text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".YellowBarSelected:link {  text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".YellowBarSelected:visited { text-decoration: none; color: #333333; font-weight: bold}\n");
	d.write (".YellowBarSelected:hover {  text-decoration: underline; color: #333333; font-weight: bold}\n");
	d.write (".white {  text-decoration: none; color: #FFFFFF; font-weight: normal}\n");
	d.write (".header {  font-weight: normal; color: #FFFFFF}\n");
	d.write (".footer {  text-decoration: none; font-weight: normal; color: #666666; font-size: xx-small}\n");
	d.write ("</style>");



