if (navigator.userAgent.indexOf('Mac') != -1)
	{
	var extrasize = 2;
	}
else
	{
	var extrasize = 0;
	}	
	
//-------------------------------------EDIT SIZE VARIABLES HERE----------------------------------
var size1 = 8 + extrasize;
var size2 = 9 + extrasize;
var size3 = 10 + extrasize;
var size4 = 11 + extrasize;
var size5 = 12 + extrasize;
var size6 = 13 + extrasize;
var size7 = 14 + extrasize;
//-------------------------------------EDIT SIZE VARIABLES HERE----------------------------------


//-------------------------------------EDIT COLOR VARIABLES HERE----------------------------------
var color1 = "#0033CC"; //dark blue like on links
var color2 = "#00CC33"; //logo blue
var color3 = "#0099CC"; //medium blue
var color4 = "#B8D9EC"; //light blue
var color5 = "#333366"; //dark blue 
var color6 = "#000000"; //black
var color7 = "#ffffff"; //white

var colorSubheader = "#1F3646"; // table subheader
var colorTablecontent1 = "#0D557B"; //table row
var colorTablecontent2 = "#579FAE"; //table row


//-------------------------------------EDIT COLOR VARIABLES HERE----------------------------------
document.open('text/html',"replace");
document.writeln("<style>");
                 
                 var s1 = new style();
                 s1.setName("a:link");
                 s1.setColor(color1);
                 s1.setTextDecoration("underline");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName("a:alink");
                 s1.setColor(color2);
                 s1.setTextDecoration("none");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName("a:visited");
                 s1.setColor(color1);
                 s1.setTextDecoration("underline");
                 s1.writeStyle();
                 
                 
                 var s1 = new style();
                 s1.setName("a:hover");
                 s1.setColor(color2);
                 s1.setTextDecoration("none");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".pageheader");
                 s1.setColor(color1);
                 s1.setSize(size4);
                 s1.setWeight("bold");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".subheader");
                 s1.setColor(color1);
                 s1.setSize(size3);
                 s1.setWeight("bold");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".subheader2");
                 s1.setColor(color1);
                 s1.setSize(size3);
                 s1.setWeight("bold");
                 s1.setOther('background-image: url("/images/bg-subheader.gif");');
                 s1.setOther('background-repeat: repeat;');
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".ficontent");
                 s1.setColor(color6);
                 s1.setSize(size3);
                 s1.writeStyle();
                 
                 /*
								 var s1 = new style();
                 s1.setName(".tableheader");
                 s1.setColor(color7);
                 s1.setSize(size3);
                 s1.setWeight("bold");
                 s1.setOther("font-style : italic;");
                 s1.setOther('background-image: url("/images/bg-dhtml.gif");')
                 s1.writeStyle();
								 */
								 
                 var s1 = new style();
                 s1.setName(".tableheader");
                 s1.setColor(color7);
								 s1.setBackgroundColor("#0099cc");								 
                 s1.setSize(size4);
                 s1.setWeight("bold");
                 s1.setOther("font-style : italic;");
                 //s1.setOther('background-image: url("/images/bg-dhtml.gif");')
								 s1.setOther('border: 1px solid white;');
                 s1.setOther('padding: 5px 0px;');
                 s1.writeStyle();								 
                 
                 /*
								 var s1 = new style();
					                 s1.setName(".tablesubheader"); 
					                 s1.setColor(color7);
					                 s1.setBackgroundColor(color3);
					                 s1.setSize(size3);
					                 s1.setWeight("bold");
					                 s1.writeStyle();
								 */
								 
                 var s1 = new style();
                 s1.setName(".effectiveDate");
                 s1.setColor(colorSubheader);
								 //s1.setBackgroundColor("#B8D9EC");								 
								 s1.setBackgroundColor("#B8D9EC");								 
                 s1.setSize(size2);
                 s1.setWeight("normal");
								 s1.setOther('font-family: arial, helvetica, sans-serif;');
                 s1.writeStyle();									 
								 
                 var s1 = new style();
                 s1.setName(".tablesubheader"); 
                 s1.setColor(colorSubheader);
                 s1.setBackgroundColor("#B8D9EC");
                 s1.setSize(size3);
                 s1.setWeight("bold");
								 s1.setOther('border: 1px solid white;');
                 s1.writeStyle();								 
                 
                 /*
								 var s1 = new style();
								s1.setName(".tablecontent1");
				                   s1.setColor(color7);
				                   s1.setBackgroundColor(color1);
				                   s1.setSize(size3);
				                   s1.setWeight("400");
				                   s1.writeStyle();
								*/
								 
                 var s1 = new style();
                 s1.setName(".tablecontent1");
                 s1.setColor("#333366");
                 s1.setBackgroundColor("#fff");
                 s1.setSize(size3);
                 s1.setWeight("400");
								 s1.setOther('padding-left: 15px;');
                 s1.writeStyle();								 
								 
                 /*
								 var s1 = new style();
					                 s1.setName(".tablecontent2");
					                 s1.setColor("#0033CC");
					                 s1.setBackgroundColor(color4);
					                 s1.setSize(size3);
					                 s1.setWeight("400");
					                 s1.writeStyle();
								 */
								 
                 var s1 = new style();
                 s1.setName(".tablecontent2");
                 s1.setColor("#333366");
                 s1.setBackgroundColor("#ECF5FA");
                 s1.setSize(size3);
                 s1.setWeight("400");
								 s1.setOther('padding-left: 15px;');
                 s1.writeStyle();								 
                 
                 var s1 = new style();
                 s1.setName(".ficontent");
                 s1.setColor(color6);
                 s1.setSize(size3);
                 s1.setWeight("400");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".subnav");
                 s1.setColor(color1);
                 s1.setSize(size1);
                 s1.setWeight("bold");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".disclaimer");
                 s1.setColor(color1);
                 s1.setSize(size1);
                 s1.setWeight("400");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".Q");
                 s1.setColor(color1);
                 s1.setSize(size7);
                 s1.setWeight("bold");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".A");
                 s1.setColor(color2);
                 s1.setSize(size7);
                 s1.setWeight("bold");
                 s1.writeStyle();
                 
                 var s1 = new style();
                 s1.setName(".boldtext");
                 s1.setSize(size3);
                 s1.setWeight("bold");
                 s1.writeStyle();
				 
								 var s1 = new style();
                 s1.setName(".email_speedbump");
								 s1.setBackgroundColor("white");
								 s1.setSize(size3);
                 s1.writeStyle();

                 var s1 = new style();
                 s1.setName("strong");
                 s1.setWeight("bold");
                 s1.writeStyle();
                 if(!document.layers){
                 var styles= new Array(4);
                 styles[0]='ul';
                 styles[1]='{';
                 styles[2]='list-style-image: url("../images/bullet-oval.gif");';
                 styles[3]='}';
                 }
                 else{
                 var styles= new Array(5);
                 styles[0]='li';
                 styles[1]='{';
                 styles[2]='list-style-type : square;';
                 styles[3]='color : #00CC33;';
                 styles[4]='}';
                 }
                 
                 document.writeln(styles.join(""));
				 var winstyle = new Array();
			var style_index = 0;
			winstyle[style_index++] = "<style>";
			winstyle[style_index++] = ".appcontent {";
			winstyle[style_index++] = "font-family:Arial, Helvetica, sans-serif; font-size:10pt; color:#000000; }";
			winstyle[style_index++] = ".appheader {";
			winstyle[style_index++] = "font-family:Arial, Helvetica, sans-serif; font-size:14pt; color:#0033CC; font-weight:bold; }";
			winstyle[style_index++] = ".appsubheader {";
			winstyle[style_index++] = "font-family:Arial, Helvetica, sans-serif; font-size:11pt; color:#000000; font-weight:bold; }";
			winstyle[style_index++] = ".appdisclaimer {";
			winstyle[style_index++] = "font-family:Arial, Helvetica, sans-serif; font-size:8pt; color:#000000; }";
			winstyle[style_index++] = ".appline {";
			winstyle[style_index++] = "background-color:#336699; }";
			winstyle[style_index++] = ".appfield {";
			winstyle[style_index++] = "background-color: #FFFFFF; color:#000000; font-weight:bold; border : solid 1px;border-width : 1px;}";
			winstyle[style_index++] = ".appfield2 {";
			winstyle[style_index++] = "background-color: #E4F1F8; color:#000000; font-weight:bold; border : solid 1px;border-width : 1px;}";
			winstyle[style_index++] = "hr {";
			winstyle[style_index++] = "color: #333366; }";
			winstyle[style_index++] = "strong {";
			winstyle[style_index++] = "font-weight:bold; }";
			winstyle[style_index++] = "</style>";
			document.write(winstyle.join(""));
                 document.writeln("</style>");
document.close();
//---------------------------------FUNCTIONS BELOW PLEASE DO NOT EDIT--------------------------

function style()
{
this.name = null;
this.font = "Arial, Helvetica, sans-serif";
this.size = null;
this.weight = null;
this.color = "#000000";
this.background_color = null;
this.text_decoration = null;
this.other = new Array();
this.index = 0;

this.setOther = setOther;
this.setName = setName;
this.setFont = setFont;
this.setSize = setSize;
this.setWeight = setWeight;
this.setColor = setColor;
this.setBackgroundColor = setBackgroundColor;
this.setTextDecoration = setTextDecoration;
this.writeStyle = writeStyle;
}

function setName(value)
{
this.name = value;
}

function setFont(value)
{
this.font = value;
}

function setSize(value)
{
this.size = value;
}

function setWeight(value)
{
this.weight = value;
}

function setColor(value)
{
this.color = value;
}

function setBackgroundColor(value)
{
this.background_color = value;
}

function setTextDecoration(value)
{
this.text_decoration = value;
}

function setOther(value)
{
this.other[this.index] = value;
this.index++;
}

function writeStyle()
{
var whole = new Array();

if (this.name != null)
	{
	whole [0]= this.name;
	whole [1]= '{';
	if (this.font != null)
		{
		whole [2]= 'font-family: ' + this.font + ';';
		}
	if (this.size != null)
		{
		whole [3]= 'font-size: ' + this.size + 'pt;';
		}
	if (this.weight != null)
		{
		whole [4]= 'font-weight: ' + this.weight + ';';
		}	
	if (this.color != null)
		{
		whole [5]= 'color: ' + this.color + ';';
		}
	if (this.background_color != null)
		{
		whole [6]= 'background-color: ' + this.background_color + ';';
		}
	if (this.text_decoration != null)
		{
		whole [7]= 'text-decoration: ' + this.text_decoration + ';';
		}	
        //alert(this.other.length);
	if (this.other.length > 0)
		{
		whole [8]= this.other.join('');
		}		
	whole [9]= '}';
	}

document.writeln(whole.join(''));
}
