<!--
function bibleref (book,chap) {
       searchstring="http://www.bible.org/cgi-bin/netbible.pl?book="+book+"\&"+"chapter="+chap
       figureWindow = window.open(searchstring, 'figure','scrollbars=yes,width=500,height=350')
       figureWindow.focus ()

}

function newWindow (figuregif) {
       figureWindow = window.open(figuregif, 'figure','scrollbars=yes,width=500,height=350')
       figureWindow.focus ()
                        }
                        

function showPicture (filename, dimensions) {
       figureWindow = window.open(filename,'figure', dimensions)
       figureWindow.focus ()
                        }
                        
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function diagnose() {
myWin= window.open("", "DiaWindow");


//€ format answer to whether person wants to receive newsletter

switch ( document.replyform.radiobutton.value){
case "2" : 
keepinformed = "<p align=left>I / We would like to be informed by <B>email</B> about what God is doing in India.";
break; 

case "3" : 
keepinformed = "<p align=left>I / We would like to be informed by <B>letter</B> about what God is doing in India.";
break;

default: 
keepinformed = "";
}

//€ format answer to what sort of donation they will make
switch ( document.replyform.tosponsor.selectedIndex){

case 0 :
sponsorthis = "";
break;

case 1 :
sponsorthis = "<p align=left> I / We would like to <B>sponsor an evangelist</B> ($45 US a month)";
break;

case 2 :
sponsorthis = "<p align=left> I / We would like to <B>sponsor a church planting ministry</B> ($200 US a month)";
break;

case 3 :
sponsorthis = "<p align=left> I / We would like to <B>support a ministry among prisoners</B> ($50 US a month)";
break;

case 4 :
sponsorthis = "<p align=left> I / We would like to <B>support an orphaned child</B> ($30 US a month)";
break;

case 5 :
sponsorthis = "<p align=left> I / We would like to <B>support a handicapped child</B> ($50 US a month)";
break;

case 6 :
sponsorthis = "<p align=left> I / We would like to <B>support the general ministry fund</B> ($25 US a month)";
break;

case 7 :
sponsorthis = "<p align=left> I / We would like to <B>pledge a monthly gift</B>";
break;

case 8 :
sponsorthis = "<p align=left> I / We would like to <B>give a one time gift</B>";
break;

default: sponsorthis = "";
}

//€ format comments field
if (document.replyform.yourcomments.value == "")  

{mycomments = "";}

else 

{mycomments = "<H4 align=left>Comments:</H4><blockquote>"+document.replyform.yourcomments.value+"</blockquote>";}



//€ format name and address variables
myname = "<pre>"+window.document.replyform.yourname.value+"\n"+document.replyform.youraddress.value+ "</pre>"


//€ format email
if (document.replyform.youremail.value == '')  {myemail = '';}
else {myemail = "<p align=left>email: "+document.replyform.youremail.value; }

//€ create document
myWin.document.write("<html><head><title>Reply Form</title></head>");
myWin.document.write('<body bgcolor=\"#FFFFFF\"><h2 align="center">One to One International Reply Form</h2>');

myWin.document.write(keepinformed);
//fred=getchoice();
myWin.document.write(sponsorthis);

myWin.document.write(mycomments);

myWin.document.write(myname);
myWin.document.write(myemail);
myWin.document.writeln('<p align=\"left\"><p align=right>Signed ____________________________________________</p>');
myWin.document.write('<p align=\"center\">-----------------------------------------------------------------------------------------------------</p>');
myWin.document.write('<p align=\"left\">Please make cheques payable to <i>One To One International</i>');
myWin.document.write('<p align=\"left\">Send the completed form with your cheque to:</p>');
myWin.document.write('<p align=\"center\"><font size=\"-1\">One to One International<br>P.O. Box 324,<br>Caronport, SK,<br>S0H 0S0, Canada</font></p>');
myWin.document.write('<p align=\left\>Thank you for your support.</p></body></html>');
myWin.document.close();}
 
 
 
 
                        
   

//-->

