var work_plan=""
var tcp_ip= "we do not it know yet..."
var dns= "we do not it know yet..."
var web_server= "we do not it know yet..."
var isis="we do not it know yet..."
var isis_inf="we do not it know yet..."
var html="we do not it know yet..."
var html_inf="we do not it know yet..."


var print_button ="<form><CENTER><input type=button name=print value='Print' onClick=\'javascript:window.print()\'></CENTER></form>"
var close_button ="<form><CENTER><input type=\'button\' value=\'Close window\' onClick = \'self.close()\'></CENTER></form>"

var activ_1_1="<U>Activity 1.1 </U><br>In the Windows NT environment the TCP/IP connection is one of the system options. You can check if the option is selected by opening the Control Panel and checking Configuration in the Network component. If the option is on you should be able to connect from another machine to the server machine via TCP/IP. If you are not sure ask the system manager to make the TCP/IP active."
var activ_1_2="<U>Activity 1.2 </U><br> In the Internet your computer will be addressed by the URL address, where the DNS assigned to your computer. DNS is a \'logical address\' of your server. <br> If you are not sure about your DNS you should check it with the system manager, if the system is planned only for Intranet, and possibly with the Internet Service Provider (ISP), if you want to publish the ISIS database(s) on Internet. <br> Make sure that you can refer to you computer from the Intranet and/or Internet using the DNS."
var activ_1_3="<U>Activity1.3  </U> <br> Now you should verify if a WEB server has been installed on your computer. There are plenty of possibilities to make a WEB server running on your computer. The most popular WEB servers are: <br> 1. the Microsoft server IIS  <br> 2. the Nestcape Enterprise Fasttrack <br> 3. freewere XITAMI"
var activ_2x= "<h3>Activity2.x </U> </h3> <br> You may go directly to Isis activities?"
var activ_2_1="<U>Activity 2.1 </U> <br> This activity consists in installing the WWW-ISIS system from CD-ROM. The way of how to do it is described in detail in Section 3.2"
var activ_2_2="<U>Activity 2.2 </U> <br> In the case when you are an ISIS beginner you should rather concentrate on adopting your database to the standard of the provided DEMO database. The minimum knowledge that is needed in this case is to be able to translate your original database to the standard of the DEMO database. The procedure for this case is sketched in Section "
var activ_2_3="<U>Activity 2.3 </U> <br>This activity consists in reviewing the database structure, selecting the fields that we would like to make searchable and, according to this - redefining the Field Select Table in such a way that indexes from all searchable fields are distinguished by prefixes"
var activ_2_4="<U>Activity 2.4 </U> <br> As mentioned above, the database definition file plays a crucial role in our system. It is responsible for generating the query form. Therefore, having defined the indexes by means of FST, now with the database definition file you should define which fields, and how, should appear on the search screen. This activity is described in detail in Section "
var activ_2_5="<U>Activity 2.5 </U> <br> Design display formats and perform tests"
var activ_2_6="<U>Activity 2.6 </U> <br> If you are not very fluent with HTML you should rather restrict to the minor adjustments of the existing HTML. Otherwise you can totally redo the existing HTMLs. Please note however that the most important is to adjust the links to the new formats and databases "
var activ_2_7="<U>Activity 2.7 </U>  <br> We are almost at the end. It is now necessary to adjust few parameters in the CONFIG file, so that the system knows where is what and have all necessary parameters set up"
var activ_2_8="<U>Activity 2.8 </U> <br>Even if everything looks O.K. you should plan spending few days on testing the system. In particular you should test the display formats, links; if the system is multilingual, check, if all screens have been translated, etc."

function WebWorkPlan() {
new1Window=open("", "Nowe_Okno","width=500,height=400,scrollbars=1,status=0,toolbar=0,menubar=1");

new1Window.document.writeln("<HTML><HEAD><TITLE> YOUR WEB WORKPLAN </TITLE></HEAD>" +
"<BODY><center><table WIDTH=\'75%\' > <tr> <td ALIGN=CENTER VALIGN=CENTER BGCOLOR='#0000FF'>" +
"<h3> <font face='Arial,Helvetica'><font color='#FFFFFF'>" +
"Your activities providing basic connectivity of your WEB server</font> </font></h3> </td></tr>" +
"</table></center><br> <font face='Arial,Helvetica'><br>" +
"<b>Your TCP/IP = </b>" + 
tcp_ip +
"<br>")

if (tcp_ip=="fix TCP/IP connectivity") {
   new1Window.document.writeln(activ_1_1 + "<br>" )
}

new1Window.document.writeln("<br><b>Your DNS = </b>" + 
dns + 
"<br>")

if (dns=="set up the DNS") {
 new1Window.document.writeln(activ_1_2+"<br>")
}

new1Window.document.writeln("<br><b>Your Web Server = </b>" +
web_server + 
"<br>")

if (web_server=="Install your web serwer!") {
new1Window.document.writeln(activ_1_3 +"<br>")
 }


new1Window.document.writeln("</BODY></HTML> <CENTER>" +
print_button +
close_button +
"</CENTER> <hr><i>or using menu from IE or Netscape Save as.. </i>");
new1Window.document.close();
}


function ISISWorkPlan() {
new2Window=open("", "Nowe_Okno","width=500,height=400,scrollbars=1,status=0,toolbar=0,menubar=1");

new2Window.document.writeln("<HTML><HEAD><TITLE> YOUR \"ISIS\" WORKPLAN </TITLE></HEAD>" +
"<BODY><center><table WIDTH='75%' > <tr> <td ALIGN=CENTER VALIGN=CENTER BGCOLOR='#0000FF'>" +
"<h3> <font face='Arial,Helvetica'><font color='#FFFFFF'>" +
"Your activities towards publishing your ISIS database</font> </font></h3> </td></tr>" +
"</table></center><br> <font face='Arial,Helvetica'><br>" +
"<b>As for ISIS = </b>" + 
isis +
"<br>")

if (isis=="go to: Activity 2.3, Activity 2.4,  Activity 2.5") {
   new2Window.document.write(activ_2_3 +"<br>" + activ_2_4 +"<br>" + activ_2_5 +"<br>" )
}

new2Window.document.write("<br><b>As for HTML = </b>" + 
html + 
"<br>")

if (html=="go to: Activity 2.6 Activity 2.7, Activity 2.8") {
 new2Window.document.writeln(activ_2_6 +"<br>" + activ_2_7+ "<br>" + activ_2_8 + "<br>")
}

if (html=="go to: Activity 2.2") {
 new2Window.document.writeln(activ_2_2+"<br>")
}

if (html=="we do not it know yet...") {
 new2Window.document.writeln("<br>")
}


new2Window.document.writeln("</BODY></HTML> <CENTER>" +
print_button +
close_button +
"</CENTER> <hr><i>or using menu from IE or Netscape Save as.. </i>");
new2Window.document.close();
}



function TCP_IP() {
if (confirm ("Is the TCP-IP connection working?")) {
tcp_ip="OK";
alert("Your TCP_IP is " + tcp_ip);
}
else {tcp_ip="fix TCP/IP connectivity";
alert(tcp_ip);
}}


function DNS() {
if (confirm ("Has your computer got its DNS?")) {
dns="OK";
alert("Your DNS is " + dns);
}
else {dns="set up the DNS";
alert(dns);
}}

function webServer() {
if (confirm ("Is a Web server installed on your computer?")) {
web_server="OK";
}
else {web_server="Install your web serwer!";}
}


function Isis() {
if (confirm ("Are you good in ISIS?")) {
isis_inf="GOOD";
isis="go to: Activity 2.3, Activity 2.4,  Activity 2.5";
alert(isis);
}
else {
isis="don't worry...";
isis_inf="BAD";
alert(isis);}
}

function Html() {
if (confirm ("Do you have problems with HTML?")) {
html_inf="GOOD"
html="go to: Activity 2.2";
alert(html);
}
else {
html="go to: Activity 2.6 Activity 2.7, Activity 2.8";
html_inf="BAD";
alert(html);
}
}


 function showWindow (message,wys,szer) {
stats="width=" + szer +",height="+wys+",status=no,toolbar=no,menubar=no"
newWindow=window.open(message,"newWindow",stats);
newWindow.document.close();
}

function closeWindow() {
newWindow.close();
}


function basicQuestions() {

var Row_0="<head><TITLE>Basic questions and ...your answers..</TITLE></head>" +
"<body bgcolor='#FFFFEE'> <CENTER><table WIDTH='75%' ><tr>" +
"<td ALIGN=CENTER VALIGN=CENTER BGCOLOR='#0000FF'><h3><font face='arial'>" +
"<font color='#FFFFFF'>Basic questions and your answers..</font>" +
"</font></h3></td></tr></table></CENTER>" +
"<table BORDER=0 COLS=2 WIDTH='100%'><tr>" + 
"<td><b><font face='Arial,Helvetica'> <font size=-1>Question&nbsp;</font></font></b></td>"+
"<td WIDTH='15%'><b><font face='Arial,Helvetica'>"+
"<font size=-1>Your Answer</font></font></b></td> </tr></table>";

var Row_1="<table BORDER=0 COLS=2 WIDTH='100%' > <tr> <td><font face='Arial,Helvetica'><font size=-1>1.Are you going to publish an ISIS database on the Internet or Intranet? </font></font></td> </font></font></b></td> <td WIDTH='15%'><font face='Arial,Helvetica'><font size=-1>" + document.form1.Answer1.options[document.form1.Answer1.selectedIndex].value +"</font></font></td> </tr></table>";

var Row_2="<table BORDER=0 COLS=2 WIDTH='100%' > <tr> <td><font face='Arial,Helvetica'><font size=-1>2.Is your computer connected already to the Internet and has its DNS? </font></font></td> </font></font></b></td> <td WIDTH='15%'><font face='Arial,Helvetica'><font size=-1>" + document.form1.Answer1.options[document.form1.Answer2.selectedIndex].value +"</font></font></td> </tr></table>";

var Row_3="<table BORDER=0 COLS=2 WIDTH='100%' > <tr> <td><font face='Arial,Helvetica'><font size=-1>3.Is there any WEB server working on your computer? </font></font></td> </font></font></b></td> <td WIDTH='15%'><font face='Arial,Helvetica'><font size=-1>" + document.form1.Answer1.options[document.form1.Answer3.selectedIndex].value +"</font></font></td> </tr></table>";

var Row_4="<table BORDER=0 COLS=2 WIDTH='100%' > <tr> <td><font face='Arial,Helvetica'><font size=-1>4.Do you plan to implement thesaurus based search (may be too difficult within the first approach)? </font></font></td> </font></font></b></td> <td WIDTH='15%'><font face='Arial,Helvetica'><font size=-1>" + document.form1.Answer1.options[document.form1.Answer4.selectedIndex].value +"</font></font></td> </tr></table>";

var Row_5="<table BORDER=0 COLS=2 WIDTH='100%' > <tr> <td><font face='Arial,Helvetica'><font size=-1>5.Are you interested in implementing the HISTORY function? </font></font></td> </font></font></b></td> <td WIDTH='15%'><font face='Arial,Helvetica'><font size=-1>" + document.form1.Answer1.options[document.form1.Answer5.selectedIndex].value +"</font></font></td> </tr></table>";

newWindow = open ("", "New_Window", "width=580,height=340,status=no,scrollbars=yes,toolbar=yes,menubar=yes"); 
newWindow.document.write(Row_0 + Row_1 + Row_2 + Row_3 + Row_4 + Row_5 + print_button + close_button);
newWindow.document.close();
 
}



function showPicture (text,picture,wys,szer) {
stats="width=" + szer +",height="+wys+",status=no,toolbar=no,menubar=no"
newWindow = open ("", "New_Window", stats); 
newWindow.document.write("<HEAD><TITLE>" + text + "</TITLE></HEAD><BODY><IMG SRC=" + picture + "></BODY>");
newWindow.document.close();
}
