    function ViewPicture(url, title, high, wid, lines, header, footer)
    {
        switch(lines)
        {
          case "3" :
  	    iHigh = parseInt(high)+133;
            break;
          case "4" :
  	    iHigh = parseInt(high)+153;
            break;
          case "5" :
  	    iHigh = parseInt(high)+173;
            break;
          default :
  	    iHigh = parseInt(high)+113;
        }
        iWid = parseInt(wid)+5;
        LeftPos=(screen.width)?(screen.width-iWid)/2:100;
        TopPos=(screen.height)?(screen.height-iHigh)/2:100;
        Settings='width='+iWid+',height='+iHigh+',top='+TopPos+',left='+LeftPos+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';

        v = window.open("","",Settings);
        v.document.open();
        v.document.write("<html><head><title>"+title+"</title></head>");
        v.document.write("<body style=\"margin-top: 0px; margin-left: 0px; margin-right: 0px;\">");
        v.document.write("<table border=\""+1+"\" width=\""+wid+"\" cellspacing=\""+0+"\">");
        v.document.write("<tr><td align='center' bgcolor='#6B93B6'><b><font size=\""+7+"\">Kennel Bobass</font></b></td></tr>");
        v.document.write("<tr><td align='center'><b><font size=\""+4+"\">"+header+"</font></b></td></tr>");
        v.document.write("<tr><td align='center'>");
        v.document.write("<img src=\""+url+"\" width=\""+wid+"\" height=\""+high+"\" />");
        v.document.write("</td></tr>");
        v.document.write("<tr><td align='center'><b><font size=\""+4+"\">"+footer+"</font></b></td></tr>");
        v.document.write("</table>");
        v.document.write("</body></html>");
    }


