if(document.images) {  var id1 = 1;  while(eval("window.PB_image"+id1+"_highlight_src")) {    (new Image()).src = eval("window.PB_image"+id1+"_highlight_src");    id1++;  }}var PB_over_submenu = new Array();var id1 = 1;while(eval("window.PB_submenu"+id1+"_1_text")) {  document.write("<div id=\"PB_submenu"+id1+"\" onMouseOver=\"PB_over_submenu["+id1+"]=true;\" onMouseOut=\"PB_over_submenu["+id1+"]=false; PB_deactivateAllDelay();\" style=\"position:absolute; cursor:hand; width:"+PB_submenu_width+"px; z-index:10; visibility: hidden; background-color: "+PB_submenu_border_color+"; layer-background-color: "+PB_submenu_border_color+"; border: 1px none #000000\">");  document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\""+PB_submenu_border+"\" bgcolor=\""+PB_submenu_border_color+"\"><tr><td>");  document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\""+PB_submenu_item_spacing_color+"\">");  var id2 = 1;  while(eval("window.PB_submenu"+id1+"_"+id2+"_text")) {    if(id2 > 1 && PB_submenu_item_spacing > 0) document.write("<tr><td><img src=\"/app/images/PB_spacer.gif\" width=\"1\" height=\""+PB_submenu_item_spacing+"\"></td></tr>");    document.write("<tr><td><div id=\"PB_submenu"+id1+"_"+id2+"\" onClick=\"PB_link('"+eval("window.PB_submenu"+id1+"_"+id2+"_link")+"','"+PB_submenu_url_target+"');\" onMouseOver=\"PB_over_submenu["+id1+"]=true; PB_setItemColor('PB_submenu"+id1+"_"+id2+"','"+PB_submenu_highlight_color+"','"+PB_submenu_font_highlight_color+"');\" onMouseOut=\"PB_over_submenu["+id1+"]=false; PB_deactivateAllDelay(); PB_setItemColor('PB_submenu"+id1+"_"+id2+"','"+PB_submenu_background_color+"','"+PB_submenu_font_color+"');\" style=\"position:relative; width:"+PB_submenu_width+"px; height: "+PB_submenu_item_height+"; z-index:10; left: 0px; top: 0px;   visibility: inherit;  background-color: "+PB_submenu_background_color+"; layer-background-color: "+PB_submenu_background_color+"; color: "+PB_submenu_font_color+"\"><a id=\"PB_submenu"+id1+"_"+id2+"a\" href='"+eval("window.PB_submenu"+id1+"_"+id2+"_link")+"' target='"+PB_submenu_url_target+"' style=\"text-decoration:none; color: "+PB_submenu_font_color+";\"><img src=\"/app/images/PB_spacer.gif\" width=\""+PB_submenu_item_indent+"\" height=\"1\" border=\"0\"><font face=\""+PB_submenu_font_face+"\" size=\""+PB_submenu_font_size+"\">"+eval("window.PB_submenu"+id1+"_"+id2+"_text")+"</font></a></div></td></tr>");    id2++;  }  document.write("</table>");  document.write("</td></tr></table>");  document.write("</div>");  id1++;};function PB_activate(id) {  PB_over_submenu[id] = true;  PB_deactivateAll();  PB_setImageSrc("PB_image"+id, eval("window.PB_image"+id+"_highlight_src"));  PB_showSubMenu(id);};function PB_deactivate(id) {  PB_over_submenu[id] = false;  PB_deactivateAllDelay();};function PB_deactivateAllDelay() {  setTimeout("PB_deactivateAll()",PB_hide_delay);};function PB_deactivateAll() {  var id = 1;  while(eval("window.PB_image"+id+"_src")) {    if(!PB_over_submenu[id]) {      PB_hideSubMenu(id);      PB_setImageSrc("PB_image"+id, eval("window.PB_image"+id+"_src"));    }    id++;  }};function PB_setImageSrc(theImageName,theImageSrc) {  if(document.images) {    document.images[theImageName].src=theImageSrc;  }};function PB_showSubMenu(id) {  var theImageName = "PB_image" + id;  var theImage;  if(document.images) {    theImage = document.images[theImageName];  }  var theSubMenu = document.getElementById("PB_submenu"+id);  theSubMenu.style.top = PB_getCoordinates(theImage).y + PB_submenu_y;  theSubMenu.style.left = PB_getCoordinates(theImage).x + PB_submenu_x;  theSubMenu.style.visibility = 'visible';};function PB_link(url, target) { //window.open('http://www.jpowered.com/dhtml/PB/evaluation_window.htm','PB_Evaluation','menubar=no,status=no,scrollbars=no,resizable=yes,width=440,height=220,toolbar=no,location=no,directories=no'); 
if(target == "_self") {    window.location.href="#";  }  else {    window.open(url, target);  }};function PB_getCoordinates(obj) {  var newObj = new Object();  newObj.x = obj.offsetLeft;  newObj.y = obj.offsetTop;  theParent = obj.offsetParent;  while(theParent != null){    newObj.y += theParent.offsetTop;    newObj.x += theParent.offsetLeft;    theParent = theParent.offsetParent;  }  return newObj;};function PB_setItemColor(theItemName,theItemBgColor,theItemColor) {  document.getElementById(theItemName).style.backgroundColor=theItemBgColor;  document.getElementById(theItemName+"a").style.color=theItemColor;};function PB_hideSubMenu(id) {  var theSubMenu = document.getElementById("PB_submenu"+id);  theSubMenu.style.visibility='hidden';}
