<!--

var newWindow;
function DwnBk(fnm,bknm,author,lang){

var langStr;
langStr='Arabic & English';
lang=lang.toUpperCase();
if (lang == "A") {
    langStr='öArabic';
} else {
    if (lang == "E") {
    langStr='English';
    }
};
var newContent;
    // assemble content
    newContent=
'<html dir="ltr">'
+'<head>'

+'<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">'
+'<meta name="ProgId" content="FrontPage.Editor.Document">'
+'<meta name="GENERATOR" content="Microsoft FrontPage 4.0">'
+'<title>Download Al Muhaddith Books: Instrunctions</title>'
+'<style fprolloverstyle>A:hover {color: #FF0000}</style>'

+'</head>'
+'<body background="background/basmala-white.gif" style="font-family: Arial; font-size: 10pt; color: Black">'

+'<table border="4" width="100%" cellspacing="0" bordercolorlight="#3399FF" bordercolordark="#000099" bgcolor="#CCFFFF" style="font-size: 10pt">'
+'<tr>'
+'<td width="33%" align="center"><b>Book Name</b></td>'
+'<td width="33%" align="center"><b>Author</b></td>'
+'<td width="34%" align="center"><b>Language</b></td>'
+'</tr>'
+'<tr>'
+'<td width="33%" align="center">'
+'<p align="center">'+bknm+'</td>'
+'<td width="33%" align="center">'+author+'</td>'
+'<td width="34%" align="center">'+langStr+'</td>'

+'</tr>'
+'</table>'
+'<ol>'

+'<hr>'

+'<li>'
+'<font color="red"><b>This book REQUIRES Version 9 or later of "Al Muhaddith Search Program".<br>'
+'It will NOT work on prior versions (such as version 8.65).</b></font><br>'
+'<a href="http://www.muhaddith.org/frequently_asked_questions.html#Installation Instructions of Al Muhaddith Search Program">'
+'Click here</a> first, for step by step instructions on downloading and installing this version on your machine.'
+'<hr>'
+'</li>'

+'<li><a href="http://www.muhaddith.org/pub/txt/go-'+fnm+'.z">Click here to download book: <b>'+bknm+' ('+author+')</b></a><br>'
+'<font color="red"><b>THIS STEP IS NOT NEEDED if you can perform LiveUpdate after installing the program in step (1) above. IF YOU FAIL, right click on above link, then select: SAVE TARGET AS</b></font><br></li>'
+'- Then request to save it in the directory where you installed "Al Muhaddith" (usually C:\\HAD)<br>'
+'- When download completes, do NOT alter this file, do NOT unzip it, do NOT change its location.<br>'
+'- Now run (or restart) "Al Muhaddith" program on your PC, it will offer to install the file.<br>'
+'- Then our program will offer to install its indexes, accept to do so,<br>'
+'&nbsp&nbsp;then do NOT change any options it offers:<br>'
+'&nbsp&nbsp;allow the indexing to proceeed... each time you are offered any choice,<br>'
+'&nbsp&nbsp;just press [ENTER], or leave the timer to run out.<br>'
+'- You can download several books, then run "Al Muhaddith" to install them all at once.<br>'

+'<hr>'
+'<li><a href="http://www.muhaddith.org/pub/indexes/gox'+fnm+'.z">Click here to download indexes: <b>'+bknm+' ('+author+')</b></a><br>'
+'<font color="red"><b>THIS STEP IS NOT NEEDED if you can perform LiveUpdate after installing the program in step (1) above. IF YOU FAIL, right click on above link, then select: SAVE TARGET AS</b></font><br>' 
+'Download this file only if "Al Muhaddith" program fails, for some reason, '
+'to produce the indexes. Our program produces them usually much faster than it takes to download them.<br>'
+'Please read important instructions above on how to download and install the index file (if required).'
+'</li>'
+'</ol>'
+'</span>'
+'</body>'
+'</html>';

if (!newWindow || newWindow.closed){
// keep width at 640 because he may go to other wider screen, to download al Muhaddith
    newWindow=window.open('','','toolbar=1,location=0,status=1,directories=0,menubar=1,scrolling=1,scrollbars=1,resizable=1,width=640, height=478');
    if (!newWindow.opener) {
       newWindow.opener = window;
    }
    newWindow.document.write(newContent);
    newWindow.document.close();

} else {
    newWindow.document.clear();
    newWindow.document.write(newContent);
    newWindow.document.close();
    newWindow.focus();
}

newWindow.document.focus;
}
-->