// JavaScript Document
function openPic(src,title,width,height,left,top) {
	if (window.pic!=null) window.pic.close();
	if (left==null) left=(screen.width-width) / 2;
	if (top==null) top=(screen.height-height) / 2;
	pic = window.open('','pic','width=' + width + ',height=' + height + ',left=' + left + ', top=' + top + ',statusbar=0,menu=0');
	pic.focus();
	pic.document.open();
	pic.document.write("<html><head><title>" + title + "</title></head>");
	pic.document.write("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
	pic.document.write("<a href='javascript:this.close()'><img src='" + src + "' border='0' width='" + width + "' height='" + height + "'></a>");
	pic.document.write("</body></html>");
	pic.document.close();
}

function getNextSibling(startBrother){
  endBrother=startBrother.nextSibling;
  while(endBrother.nodeType!=1){
    endBrother = endBrother.nextSibling;
  }
  return endBrother;
} 

function showBubble(obj) {
  bbl = getNextSibling(obj);
  bbl.style.visibility = "visible";
}

function hideBubble(obj) {
  bbl = getNextSibling(obj);
  bbl.style.visibility = "hidden";
}
