document.write('
AAR - The Railroaders             ');
var prc1=1 ; var prc2=2; var prc3=3; var prc4; var prc5=5; var prc6=6; var cnt=0;
var prefx="x";
function setup(c1, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)
{
prc2=0; prc3=0; prc4=0; prc5=0; prc6=0; prc7=0; prc8=0; prc9=0; prc10=0;
cnt=c1; prc1=p1;
if (cnt > 1)
{
prc2=p2;
if (cnt > 2)
{
prc3=p3;
if (cnt > 3)
{
prc4=p4;
if (cnt > 4)
{
prc5=p5;
if (cnt > 5)
{
prc6=p6;
if (cnt > 6)
{
prc7=p7;
if (cnt > 7)
{
prc8=p8;
if (cnt > 8)
{
prc9=p9;
if (cnt > 9)
{
prc10=p10;
}
}
}
}
}
}
}
}
}
}
function FareCalc()
{
if (isNaN(document.orderform.TICK1.value ))
document.orderform.TICK1.value = 0;
tic1 = document.orderform.TICK1.value;
total = (tic1 * prc1);
if (cnt > 1)
{
if (isNaN(document.orderform.TICK2.value ))
document.orderform.TICK2.value = 0;
tic2 = document.orderform.TICK2.value;
total = (tic2 * prc2) + total;
if (cnt > 2)
{
if (isNaN(document.orderform.TICK3.value ))
document.orderform.TICK3.value = 0;
tic3 = document.orderform.TICK3.value;
total = (tic3 * prc3) + total;
if (cnt > 3)
{
if (isNaN(document.orderform.TICK4.value ))
document.orderform.TICK4.value = 0;
tic4 = document.orderform.TICK4.value;
total = (tic4 * prc4) + total;
if (cnt > 4)
{
if (isNaN(document.orderform.TICK5.value ))
document.orderform.TICK5.value = 0;
tic5 = document.orderform.TICK5.value;
total = (tic5 * prc5) + total;
if (cnt > 5)
{
if (isNaN(document.orderform.TICK6.value ))
document.orderform.TICK6.value = 0;
tic6 = document.orderform.TICK6.value;
total = (tic6 * prc6) + total;
if (cnt > 6)
{
if (isNaN(document.orderform.TICK7.value ))
document.orderform.TICK7.value = 0;
tic7 = document.orderform.TICK7.value;
total = (tic7 * prc7) + total;
if (cnt > 7)
{
if (isNaN(document.orderform.TICK8.value ))
document.orderform.TICK8.value = 0;
tic8 = document.orderform.TICK8.value;
total = (tic8 * prc8) + total;
if (cnt > 8)
{
if (isNaN(document.orderform.TICK9.value ))
document.orderform.TICK9.value = 0;
tic9 = document.orderform.TICK9.value;
total = (tic9 * prc9) + total;
if (cnt > 9)
{
if (isNaN(document.orderform.TICK10.value ))
document.orderform.TICK10.value = 0;
tic10 = document.orderform.TICK10.value;
total = (tic10 * prc10) + total;
}
}
}
}
}
}
}
}
}
document.orderform.TOTAL.value = total;
}
function raeHead()
{
document.write(' ');
document.write('');
document.write('R.A.E. - Real American Experiences ');
document.write('
');
}
function raeNameAge()
{
document.write(' Name' + ' ');
document.write('        Age' + ' ');
}
function raeAddr()
{
var InpTxt=' )';
var PhoneExch = '    ' + InpTxt + Size05 + '>   -';
var PhoneNum = '  ' + InpTxt + Size08 + '>     ';
document.write('Home Phone ' + PhoneArea + PhoneExch + PhoneNum + ' ');
document.write( 'Street Address or P.O. Box Number ' + InpTxt + Size40 + '> ' );
document.write( 'City ' + InpTxt + Size25 + '>   State ' + InpTxt);
document.write(Size04 + '>     ZIP Code');
document.write('  ' + InpTxt + Size08 + '>');
document.write(' - ' + InpTxt + Size07 + '> ');
myDate= new Date();
prtDate= myDate.toLocaleString();
document.write('
');
document.write(prtDate + '----' + navigator.appName + '
' );
}
function wrtPrc1()
{
document.write( "" + prc1 + " ");
}
function wrtPrc2()
{
document.write( "" + prc2 + " ");
}
function wrtPrc3()
{
document.write( "" + prc3 + " ");
}
function wrtPrc4()
{
document.write( "" + prc4 + " ");
}
function wrtPrc5()
{
document.write( "" + prc5 + " ");
}
function wrtPrc6()
{
document.write( "" + prc6 + " ");
}
function wrtPrc7()
{
document.write( "" + prc7 + " ");
}
function wrtPrc8()
{
document.write( "" + prc8 + " ");
}
function wrtPrc9()
{
document.write( "" + prc9 + " ");
}
function wrtPrc10()
{
document.write( "" + prc10 + " ");
}
function raeMailForm()
{
document.write(' Mail this form with your check payable to:');
document.write(' RAE for the full amount to: ');
document.write('RAE   9600 Tesson Ferry Rd.   St. Louis, MO   63123 ');
document.write('Please enclose a self-addressed envelope. ');
document.write('
TICKETS ARE NON-REFUNDABLE!');
document.write('
');
document.write('Schedules, Features and Fares are Subject to Change!');
}
function raeFoot()
{
document.write('
 
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write('Real American Experiences ');
document.write('9600 Tesson Ferry Rd..    St. Louis, MO 63123     (314) 752-3148
');
document.write(' ');
document.write('www.aar-therailroaders.org');
document.write('
');
}
function raeFootpix()
{
document.write('  
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write('Real American Experiences ');
document.write('9600 Tesson Ferry Rd.    St. Louis, MO 63123     (314) 752-3148
');
document.write(' ');
document.write('www.aar-therailroaders.org');
document.write('
');
}
function raeLansdowneMap()
{
document.write('');
document.write('
');
document.write(' 4666 Lansdowne
');
}
function raeReavisMap()
{
document.write('');
document.write('
');
document.write(' So. Cnty - Reavis Brks & I-55
');
}
function raeKirkLowesMap()
{
document.write('');
document.write('
');
document.write(" Kirkwood Lowe's
");
}
function raeLilacCommuterMap()
{
document.write('');
document.write('
');
document.write(' No. Cnty - Lilac & I-270
');
}