// browser detection
var agt = navigator.userAgent.toLowerCase();
var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

// default font size specs
var size_small = "font-size:10px;";
var size_normal = "font-size:13px;";
var size_big = "font-size:16px;";
var size_vbig = "font-size:24px;";

// ie font size specs
if(is_ie) {
	size_small = "font-size:xx-small;";
	size_normal = "font-size:x-small;";
	size_big = "font-size:small;";
	size_vbig = "font-size:large;";
}

// css class defs
document.write("<style>\n");
document.write("#prtHeader { display:none; }");

// Global classes
document.write("body,td { font-family:Verdana,sans-serif; color:#000000; "+size_normal+" }\n");

// Global Links
document.write("a:link { color:#069; font-weight:bold; }\n");
document.write("a:visited,a:active { color:#069; font-weight:bold; }\n");

// Headers
document.write(".cpyHeader1 { "+size_big+" color:#069; font-weight:bold; }\n");
document.write(".cpyHeader2 { color:#069; font-weight:bold; }\n");
document.write(".cpyHeader3 { font-weight:bold; }\n");

// Body Text 
document.write(".cpyBody { "+size_normal+" }\n");
document.write(".cpySmall { "+size_small+" }\n");

// Text Mods 
document.write(".cpyBold { font-weight:bold; }\n");
document.write(".cpyItalic { font-style:italic; } \n");
document.write(".cpyDormant { color:#999999; }\n");

// Message Center & Alerts 
document.write(".cpyError { color:#cc0000; }\n");
document.write(".cpyAdvisory { color:#069; }\n");

// Tables
document.write(".tblBorder { background-color:#cfd9e3; }\n");
document.write("a.tblHdrLink:link,a.tblHdrLink:visited,a.tblHdrLink:active { color:#ffffff;font-weight:bold;}\n");
document.write(".tblHeader { background-color:#069;  color:#ffffff; font-weight:bold; vertical-align: top; }\n");
document.write(".tblHdrSmall { "+size_small+" color:#ffffff; font-weight:bold; vertical-align: top; }\n");
document.write("td.tblSubheader { background-color:#9dc6db; vertical-align: top; }\n");
document.write("td.tblContent1 { background-color:#fff; vertical-align: top; }\n");
document.write("td.tblContent2 { background-color:#eaeaea; vertical-align: top; }\n");
document.write("td.tblContent1Small { background-color:#fff; "+size_small+" vertical-align: top; }\n");
document.write("td.tblContent2Small { background-color:#eaeaea; "+size_small+" vertical-align: top; }\n");
document.write("td.tblFootnote { background-color:#9dc6db; vertical-align: top; }\n");
document.write(".tblWhite { background-color:#ffffff; vertical-align: top; }\n");

// App Boxes
document.write(".appBoxBorder { background-color:#cccccc; }\n");
document.write("td.appBoxContent { background-color:#ffffe5;  }\n");
document.write("td.appBoxContentSmall { background-color:#ffffe5; "+size_small+" }\n");
document.write(".appBoxWhite { background-color:#ffffff; }\n");

// Mktng Boxes
document.write(".mktBoxBorder { background-color:#cccccc; }\n");
document.write("td.mktBoxSeparator { background-color:#0b0b83; }\n");
document.write("td.mktBoxSubhdrSeparator { background-color:#999999; }\n");
document.write("td.mktBoxSubheaderSmall { background-color:#dbdbed; "+size_small+" }\n");
document.write("td.mktBoxContent { background-color:#ffffff;  }\n");
document.write("td.mktBoxContentSmall { background-color:#ffffff; "+size_small+" }\n");
document.write(".mktBoxWhite { background-color:#ffffff; }\n");

//helpbox
document.write(".hlpBackground { background-color:#ffffff;}\n");

//image definition to float/wrap text around images; currently used in microsites
document.write(".imgLeft {float:left; margin-top:0px; margin-bottom:10px; margin-left:0px; margin-right:10px;}\n");
document.write(".imgRight {float:right; margin-top:0px; margin-bottom:10px; margin-left:10px; margin-right:0px;}\n");

//Global/UK Microsite

document.write("td.glbBrandStrip {background-color:#18188F; color:#FFFFFF; font-size:10px; font-weight:bold;}\n");
//used for topbar on topframe and Contact Us
document.write("td.glbHeaderStrip01 {background-color:#6699CC;}\n");
//used for bottombar on topframe and Contact Us
document.write("td.glbHeaderStrip02 {background-color:#18188F;}\n");  
document.write("td.glbFlowBoxText { color:#FFFFFF; font-size:11px;}\n");

//table classes
document.write("td.glbTblHeader {background-color:#6699CC; " + size_normal + " color:#FFFFFF; font-weight:bold;}\n");
document.write("td.glbTblSubheader {background-color:#F2FBFF; " + size_normal + " color:#000000;}\n");
document.write("td.glbTblContent1 {background-color:#FFFFFF; " + size_normal + " color:#000000;}\n");
document.write("td.glbTblContent2 {background-color:#FFFFFF; " + size_normal + " color:#000000;}\n");

//flowbox classes
//links
document.write("a.glbFlowBox:link,a.glbFlowBox:visited,a.glbFlowBox:active {color: #FFFFFF;}\n");
//text alignment for top and right boxes
document.write("#glbFlowBoxTop {position:absolute; top:181px; left:535px; width:167px;}");
document.write("#glbFlowBoxRight {position:absolute; top:168px; left:545px; width:167px;}");


document.write("</style>\n");