/* Prayer Request - Remote Form */
/* Version 1.0.6 */
/* Designed by BKS Global Development */
/* http://www.bksglobal.co.uk */

/* Cosmetic Variables */
/*var pnFONTcolour = '000000' /* Text colour */
/*var pnTBACKcolour = 'F3F5FA' /* Background colour of Table */
/*var pnFBOXcolour = 'FFFFFF' /* Form Box background colour */
/*var pnBACKcolour = '19CBC5' /* Form Background colour */
/*var pnBORDcolour = '0000FF' /* Form Border colour */
/*var pnBORDstyle = 'solid' /* Form Border style */
/*var pnBORDwidth = 'thin' /* Form Border width */

function pndisplay(pnFONTcolour,pnTBACKcolour,pnFBOXcolour,pnBACKcolour,pnBORDcolour,pnBORDstyle,pnBORDwidth,pnSURL) {

/* Script Variables */
var pnLOC_url = 'http://www.bksglobal.co.uk/pn/tools/'
var pnPRO_name = 'pnreq.asp'

/* Main Form Script */
document.writeln('		<script language="Javascript" src="'+pnLOC_url+'pnfuncs.js"></script>');
document.writeln('            <form name="JIPRF01" method="post" action="'+pnLOC_url+pnPRO_name+'" onSubmit="return disableForm(this);">');
document.writeln('				<input type="hidden" name="SURL" value="'+pnSURL+'">');
document.writeln('<table width=100 border="1" cellspacing="0" cellpadding="0" style="background-color:#'+pnTBACKcolour+'; border-color: #'+pnBORDcolour+'; border-style: '+pnBORDstyle+'; border-width: '+pnBORDwidth+';">');
document.writeln('        <tr> ');
document.writeln('          <td align="center"> ');
document.writeln('                    <table width="75%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('                      <tr> ');
document.writeln('                        <td style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;" width="70" height="27" align="right">Name');
document.writeln('                        </td>');
document.writeln('						<td style="background-color: #'+pnBACKcolour+';">&nbsp;</td>');
document.writeln('                        <td height="27" style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;"> ');
document.writeln('                          <input type="text" name="name" size="40" style="background-color: #'+pnFBOXcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;">');
document.writeln('                        </td>');
document.writeln('						<td style="background-color: #'+pnBACKcolour+';">&nbsp;</td>');
document.writeln('                      </tr>');
document.writeln('                      <tr> ');
document.writeln('                        <td style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;" width="70" align="right">Email</td>');
document.writeln('						<td style="background-color: #'+pnBACKcolour+';">&nbsp;</td>');
document.writeln('                        <td style="background-color: #'+pnBACKcolour+';"> ');
document.writeln('                          <input type="text" name="email" size="40" style="background-color: #'+pnFBOXcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;">');
document.writeln('                        </td>');
document.writeln('						<td style="background-color: #'+pnBACKcolour+';">&nbsp;</td>');
document.writeln('                      </tr>');
document.writeln('                <tr> ');
document.writeln('                  <td style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: bold; color: #'+pnFONTcolour+'; text-decoration: none;" align="center" colspan="4"> Prayer Request Information');
document.writeln('                  </td>');
document.writeln('                </tr>');
document.writeln('                <tr> ');
document.writeln('                  <td align="center" colspan="4" style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: bold; color: #'+pnFONTcolour+'; text-decoration: none;"> ');
document.writeln('                      <textarea name="PRI" wrap="PHYSICAL" cols="50" rows="8" style="background-color: #'+pnFBOXcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;">Required</textarea>');
document.writeln('                  </td>');
document.writeln('                </tr>');
document.writeln('                <tr> ');
document.writeln('                  <td style="background-color: #'+pnBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;" align="center" valign="middle" colspan="4"> ');
document.writeln('                      <input type="submit" name="Submit" value="Submit Request" style="font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;">');
document.writeln('					  <input type="reset" name="reset" value="Clear" style="font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;">');
document.writeln('                  </td></tr>');
document.writeln('					<tr><td style="background-color: #'+pnTBACKcolour+'; font-family: Tahoma, Arial; font-size: 10pt; font-weight: normal; color: #'+pnFONTcolour+'; text-decoration: none;" align="center" colspan="4">The Prayer Network</td></tr>');
document.writeln('</table></td></tr></table></form>');
}

