<!-- Begin
//--------
function open_faq(url)
{  url = "faq.php?faq_id="+url;
   open_window('win', url, 100, 100, 600, 500, 0, 0, 0, 1, 1);
}
//--------------------------------------------------------------
function open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

//--------
function OpenNewWindow(pPicName, Name){
        var NewWindow=null;
        var win=null;
        var w=800;
        var h=600;
        var scroll='yes';
        var myname="DocWind";

        LeftPosition=(screen.width) ? (screen.width-w)/10 : 0;
        TopPosition=(screen.height) ? (screen.height-h)/10 : 0;
        settings='height=' + h + ',width=' + w + ',top=' + TopPosition + ',left=' + LeftPosition
                 + ',scrollbars=' + scroll + ' toolbar=no, location=no, directories=no';

        NewWindow = window.open("",myname,settings);
        NewWindow.document.write("<html><head><title>Jan's Greyhound Whippet and Lurcher Gift - " + Name + "</title></head>");
        NewWindow.document.write("<body bgcolor='#ffffff'>");
        NewWindow.document.write("<h3>" + Name + "</h3>");
        NewWindow.document.write("<img src='" + pPicName + "' border='0'>");
        NewWindow.document.write("<form>");
        NewWindow.document.write("<input type='button' name='closewin' value='Close' onClick='window.close()'>");
        NewWindow.document.write("</form>");

        NewWindow.document.write("</body></html>");
        NewWindow.document.close();
        NewWindow.window.focus();
        return(0);
}
// End -->

