function getKeyPress(e, fontsize) {
	if (e.which == 0) /* This will prevent Mozilla browser from selecting the fontsize while tabbing */
	 return false;
	else {
		setActiveStyleSheet(fontsize);
		refresh();
	}
}
 var cookie = readCookie("style");
 var title = cookie ? cookie : getPreferredStyleSheet();
 if (document.cookie == "")
 {
  createCookie("style", "standard", 0);
  setActiveStyleSheet("standard");
 }
 if (document.cookie != "") 
 {
   document.write("<div id='textadjust'>");
   if (title == "standard") {
   document.write("<span class=\"textadjust-minus\"><span class=\"hide\">Decrease Text Size (disabled)</span></span><div id=\"centerbar\"><img src=\"/images/text_adjust.gif\" width=\"51\" height=\"22\" alt=\"\" /></div><a href=\"#\" class=\"textadjust-plus\" onkeypress=\"getKeyPress(event,'medium')\" onclick=\"setActiveStyleSheet('medium'); refresh(); return false;\"><span class=\"hide\">Increase Text Size</span></a>");
   }
   if (title == "medium") {
   document.write("<a href=\"#\" class=\"textadjust-minus\" onkeypress=\"getKeyPress(event,'standard')\" onclick=\"setActiveStyleSheet('standard'); refresh(); return false;\"><span class=\"hide\">Decrease Text Size</span></a><div id=\"centerbar\"><img src=\"/images/text_adjust.gif\" width=\"51\" height=\"22\" alt=\"\" /></div><a href=\"#\" class=\"textadjust-plus\" onkeypress=\"getKeyPress(event,'large')\" onclick=\"setActiveStyleSheet('large'); refresh(); return false;\"><span class=\"hide\">Increase Text Size</span></a>");   }
   if (title == "large") {
   document.write("<a href=\"#\" class=\"textadjust-minus\" onkeypress=\"getKeyPress(event,'medium')\" onclick=\"setActiveStyleSheet('medium'); refresh(); return false;\"><span class=\"hide\">Decrease Text Size</span></a><div id=\"centerbar\"><img src=\"/images/text_adjust.gif\" width=\"51\" height=\"22\" alt=\"\" /></div><span class=\"textadjust-plus\" ><span class=\"hide\">Increase Text Size (disabled)</span></span>");  
   }
   document.write("</div>"); 
  }