var cenPics = new Array
	cenPics[0] = new Pics("Photo/Cen 001.jpg", "Photo/thumbs/Cen 001_th.jpg","The lower level main<br>track is down.");
	cenPics[1] = new Pics("Photo/Cen 001a.jpg", "Photo/thumbs/Cen 001a_th.jpg", "Upper level support<br>in place.");
	cenPics[2] = new Pics("Photo/Cen 003.jpg", "Photo/thumbs/Cen 003_th.jpg", "Foam for the mountains<br>that will divide<br>this section from the<br>West section in the<br>background.");
	cenPics[3] = new Pics("Photo/Cen 005.jpg", "Photo/thumbs/Cen 005_th.jpg", "The final form<br>for the mountains.");
	cenPics[4] = new Pics("Photo/Cen 010.jpg", "Photo/thumbs/Cen 010_th.jpg", "Added rock molds<br>and some dirt.");
	cenPics[5] = new Pics("Photo/Cen 012.jpg", "Photo/thumbs/Cen 012_th.jpg", "Overall shot looking<br>West.");
	cenPics[6] = new Pics("Photo/Cen 023.jpg", "Photo/thumbs/Cen 023_th.jpg", "A grain elevator has<br>moved in and road<br>planning begins.");
	cenPics[7] = new Pics("Photo/Cen 036.jpg", "Photo/thumbs/Cen 036_th.jpg", "More buildings and<br>a couple of streets.");
	cenPics[8] = new Pics("Photo/Cen 037.jpg", "Photo/thumbs/Cen 037_th.jpg", "Split tunnel pass.");
	cenPics[9] = new Pics("Photo/Cen 038.jpg", "Photo/thumbs/Cen 038_th.jpg", "Planning for future<br>industrial sidings.");
	cenPics[10] = new Pics("Photo/Cen 039.jpg", "Photo/thumbs/Cen 039_th.jpg", "A look down Main street.");
	cenPics[11] = new Pics("Photo/Cen 040.jpg", "Photo/thumbs/Cen 040_th.jpg", "Closer view of the<br>grain elevator.");
	cenPics[12] = new Pics("Photo/Cen 041.jpg", "Photo/thumbs/Cen 041_th.jpg", "Maybe a farm in<br>in the foreground?");
	cenPics[13] = new Pics("Photo/Cen 042.jpg", "Photo/thumbs/Cen 042_th.jpg", "Need more buildings.");

var eastPics = new Array
	eastPics[0] = new Pics("Photo/East 001.jpg", "Photo/thumbs/East 001_th.jpg", "The old section in the<br>background meeting<br>with the new section.");
	eastPics[1] = new Pics("Photo/East 004.jpg", "Photo/thumbs/East 004_th.jpg", "Starting to get the<br>track down in its<br>permanent position.");
	eastPics[2] = new Pics("Photo/East 005.jpg", "Photo/thumbs/East 005_th.jpg", "Scratch built retaining<br>walls are in place.");
	eastPics[3] = new Pics("Photo/East 009.jpg", "Photo/thumbs/East 009_th.jpg", "From the other side.<br>The tracks that cross<br>are the interchange tracks<br>between the two loops.");
	eastPics[4] = new Pics("Photo/East 065.jpg", "Photo/thumbs/East 065_th.jpg", "Finally some scenery.");
	eastPics[5] = new Pics("Photo/East 069.jpg", "Photo/thumbs/East 069_th.jpg", "Waiting for an<br>approaching southbound<br>to clear.");
	eastPics[6] = new Pics("Photo/East 072.jpg", "Photo/thumbs/East 072_th.jpg", "A new Kato AC4400CW<br>joins the fleet.");
	eastPics[7] = new Pics("Photo/East 074.jpg", "Photo/thumbs/East 074_th.jpg", "Looking north the 2.5<br>turn helix is hidden<br>in the mountains.");
	eastPics[8] = new Pics("Photo/East 081.jpg", "Photo/thumbs/East 081_th.jpg", "Looking south.");
	eastPics[9] = new Pics("Photo/East 079.jpg", "Photo/thumbs/East 079_th.jpg", "Brand new BNSF.<br>I need more experience<br>weathering before I try<br>to tackle a new loco.");
	eastPics[10] = new Pics("Photo/East 080.jpg", "Photo/thumbs/East 080_th.jpg", "Northbound #44 crosses<br>over between loops.");
	eastPics[11] = new Pics("Photo/East 076.jpg", "Photo/thumbs/East 076_th.jpg", "#44 is starting a long<br>2% climb that will<br>bring it 10 inches<br>above table height.");
	eastPics[12] = new Pics("Photo/East 034.jpg", "Photo/thumbs/East 034_th.jpg", "Heading downhill<br>through the helix.");
	eastPics[13] = new Pics("Photo/East 037.jpg", "Photo/thumbs/East 037_th.jpg", "Further back along<br>the same train.");

var northPics = new Array
	northPics[0] = new Pics("Photo/North 001.jpg", "Photo/thumbs/North 001_th.jpg", "");
	northPics[1] = new Pics("Photo/North 002.jpg", "Photo/thumbs/North 002_th.jpg", "");
	northPics[2] = new Pics("Photo/North 003.jpg", "Photo/thumbs/North 003_th.jpg", "");
	northPics[3] = new Pics("Photo/North 004.jpg", "Photo/thumbs/North 004_th.jpg", "");
	northPics[4] = new Pics("Photo/North 006.jpg", "Photo/thumbs/North 006_th.jpg", "");
	northPics[5] = new Pics("Photo/North 007.jpg", "Photo/thumbs/North 007_th.jpg", "");
	northPics[6] = new Pics("Photo/North 008.jpg", "Photo/thumbs/North 008_th.jpg", "");
	northPics[7] = new Pics("Photo/North 009.jpg", "Photo/thumbs/North 009_th.jpg", "");
	northPics[8] = new Pics("Photo/North 010.jpg", "Photo/thumbs/North 010_th.jpg", "");
	northPics[9] = new Pics("Photo/North 011.jpg", "Photo/thumbs/North 011_th.jpg", "");
	northPics[10] = new Pics("Photo/North 012.jpg", "Photo/thumbs/North 012_th.jpg", "");
	northPics[11] = new Pics("Photo/North 013.jpg", "Photo/thumbs/North 013_th.jpg", "");
	northPics[12] = new Pics("Photo/North 014.jpg", "Photo/thumbs/North 014_th.jpg", "");
	northPics[13] = new Pics("Photo/North 015.jpg", "Photo/thumbs/North 015_th.jpg", "");
	northPics[14] = new Pics("Photo/North 016.jpg", "Photo/thumbs/North 016_th.jpg", "");
	northPics[15] = new Pics("Photo/North 017.jpg", "Photo/thumbs/North 017_th.jpg", "");
	northPics[16] = new Pics("Photo/North 018.jpg", "Photo/thumbs/North 018_th.jpg", "");
	northPics[17] = new Pics("Photo/North 019.jpg", "Photo/thumbs/North 019_th.jpg", "");
	northPics[18] = new Pics("Photo/North 020.jpg", "Photo/thumbs/North 020_th.jpg", "");
	northPics[19] = new Pics("Photo/North 021.jpg", "Photo/thumbs/North 021_th.jpg", "");
	northPics[20] = new Pics("Photo/North 022.jpg", "Photo/thumbs/North 022_th.jpg", "");
	northPics[21] = new Pics("Photo/North 023.jpg", "Photo/thumbs/North 023_th.jpg", "");
	northPics[22] = new Pics("Photo/North 024.jpg", "Photo/thumbs/North 024_th.jpg", "");
	northPics[23] = new Pics("Photo/North 025.jpg", "Photo/thumbs/North 025_th.jpg", "");
	
var southPics = new Array
	southPics[0] = new Pics("Photo/Sou 001.jpg", "Photo/thumbs/Sou 001_th.jpg", "Looking east, the<br>mainline for both<br>loops is complete.");
	southPics[1] = new Pics("Photo/Sou 002.jpg", "Photo/thumbs/Sou 002_th.jpg", "Looking west. Testing<br>the location of the<br>scenery divider.");
	southPics[2] = new Pics("Photo/Sou 003.jpg", "Photo/thumbs/Sou 003_th.jpg", "The coal mine is<br>looking for a home.");
	southPics[3] = new Pics("Photo/Sou 004.jpg", "Photo/thumbs/Sou 004_th.jpg", "Scratch built wood<br>trestle leading up<br>to the river.");
	southPics[4] = new Pics("Photo/Sou 005.jpg", "Photo/thumbs/Sou 005_th.jpg", "Kato single track<br>steel girder bridge.");
	southPics[5] = new Pics("Photo/Sou 006.jpg", "Photo/thumbs/Sou 006_th.jpg", "Walthers double track<br>steel girder bridge.");

var westPics = new Array
	westPics[0] = new Pics("Photo/West 001.jpg", "Photo/thumbs/West 001_th.jpg", "Looking South, the<br>upper level is ready<br>for track.");
	westPics[1] = new Pics("Photo/West 002.jpg", "Photo/thumbs/West 002_th.jpg", "Looking North, the<br>mountains are starting<br>to take shape.");
	westPics[2] = new Pics("Photo/West 003.jpg", "Photo/thumbs/West 003_th.jpg", "Experimenting with<br>dying plaster. The<br>mountains are part of<br>the scenery block.");
	westPics[3] = new Pics("Photo/West 004.jpg", "Photo/thumbs/West 004_th.jpg", "Testing the location<br>of some rock molds.");
	westPics[4] = new Pics("Photo/West 005.jpg", "Photo/thumbs/West 005_th.jpg", "Added the corner part<br>for a small valley.");
	westPics[5] = new Pics("Photo/West 006.jpg", "Photo/thumbs/West 006_th.jpg", "Ground level shot<br>looking through the valley.");
	westPics[6] = new Pics("Photo/West 007.jpg", "Photo/thumbs/West 007_th.jpg", "Test fitting the<br>tunnel portal.");
	westPics[7] = new Pics("Photo/West 008.jpg", "Photo/thumbs/West 008_th.jpg", "Overall shot looking<br>North with the plaster.");
	westPics[8] = new Pics("Photo/West 009.jpg", "Photo/thumbs/West 009_th.jpg", "Another overall shot<br>looking South.");
	westPics[9] = new Pics("Photo/West 010.jpg", "Photo/thumbs/West 010_th.jpg", "Tunnel portal in place<br>The other side is<br>the yard.");
	westPics[10] = new Pics("Photo/West 011.jpg", "Photo/thumbs/West 011_th.jpg", "Sheer cliffs. Molds made<br>from foil over real rocks.");
	westPics[11] = new Pics("Photo/West 015.jpg", "Photo/thumbs/West 015_th.jpg", "Upper level scenery.");
	westPics[12] = new Pics("Photo/West 016.jpg", "Photo/thumbs/West 016_th.jpg", "Looking South and test<br>fitting a double track<br>Kato bridge.");
	westPics[13] = new Pics("Photo/West 017.jpg", "Photo/thumbs/West 017_th.jpg", "Looking North, the North<br>section in the backgroud.");
	westPics[14] = new Pics("Photo/West 021.jpg", "Photo/thumbs/West 021_th.jpg", "Added some scenery<br>to the valley.");
	westPics[15] = new Pics("Photo/West 023.jpg", "Photo/thumbs/West 023_th.jpg", "A little higher up shot<br>from the other direction.");

var yardPics = new Array
	yardPics[0] = new Pics("Photo/Yard 001.jpg", "Photo/thumbs/Yard 001_th.jpg", "Tunnel at West<br>end of the yard.");
	yardPics[1] = new Pics("Photo/Yard 002.jpg", "Photo/thumbs/Yard 002_th.jpg", "Grass and weeds have<br>grown and ballast<br>is down.");
	yardPics[2] = new Pics("Photo/Yard 003.jpg", "Photo/thumbs/Yard 003_th.jpg", "Roundhouse at the<br>East end of the yard.");
	yardPics[3] = new Pics("Photo/Yard 004.jpg", "Photo/thumbs/Yard 004_th.jpg", "Ladder track also<br>at the East end.");
	yardPics[4] = new Pics("Photo/Yard 005.jpg", "Photo/thumbs/Yard 005_th.jpg", "Looking West.");
	
var gcPics = new Array
	gcPics[0] = new Pics("Photo/GC 032.jpg", "Photo/thumbs/GC 032_th.jpg", "The train arrives at the<br>Williams depot.");
	gcPics[1] = new Pics("Photo/GC 033.jpg", "Photo/thumbs/GC 033_th.jpg", "There are several types<br>of cars in their roster.");
	gcPics[2] = new Pics("Photo/GC 037.jpg", "Photo/thumbs/GC 037_th.jpg", "Engine #18 is a SC-4 class<br>2-8-0 consolidation-type<br>engine on static display.");
	gcPics[3] = new Pics("Photo/GC 135.jpg", "Photo/thumbs/GC 135_th.jpg", "Inside engine #18.");
	gcPics[4] = new Pics("Photo/GC 136.jpg", "Photo/thumbs/GC 136_th.jpg", "Another shot.");
	gcPics[5] = new Pics("Photo/GC 038.jpg", "Photo/thumbs/GC 038_th.jpg", "Engine #29 a SC-3 class<br>2-8-0 arrives at Williams.");
	gcPics[6] = new Pics("Photo/GC 041.jpg", "Photo/thumbs/GC 041_th.jpg", "A F40PH helps out.");
	gcPics[7] = new Pics("Photo/GC 040.jpg", "Photo/thumbs/GC 040_th.jpg", "Another shot of steam and<br>diesel working together.");
	gcPics[8] = new Pics("Photo/GC 035.jpg", "Photo/thumbs/GC 035_th.jpg", "The kids and I.");
	gcPics[9] = new Pics("Photo/GC 042.jpg", "Photo/thumbs/GC 042_th.jpg", "Providing power to<br>the passenger cars.");
	gcPics[10] = new Pics("Photo/GC 045.jpg", "Photo/thumbs/GC 045_th.jpg", "The train carries its own<br>water supply.");
	gcPics[11] = new Pics("Photo/GC 044.jpg", "Photo/thumbs/GC 044_th.jpg", "Engine #29 is ready<br>to start the<br>morning run.");
	gcPics[12] = new Pics("Photo/GC 046.jpg", "Photo/thumbs/GC 046_th.jpg", "Helping out is a set of<br>F A and B units.");
	gcPics[13] = new Pics("Photo/GC 048.jpg", "Photo/thumbs/GC 048_th.jpg", "Before the train departs,<br>the Cataract Creek Gang<br>arrives.");
	gcPics[14] = new Pics("Photo/GC 050.jpg", "Photo/thumbs/GC 050_th.jpg", "No one looks brave<br>enough to take<br>em on.");
	gcPics[15] = new Pics("Photo/GC 054.jpg", "Photo/thumbs/GC 054_th.jpg", "Good thing the marshall<br>showed up.");
	gcPics[16] = new Pics("Photo/GC 059.jpg", "Photo/thumbs/GC 059_th.jpg", "Off we go!");
	gcPics[17] = new Pics("Photo/GC 060.jpg", "Photo/thumbs/GC 060_th.jpg", "Nothing like a banjo in<br>the old west!.");
	gcPics[18] = new Pics("Photo/GC 128.jpg", "Photo/thumbs/GC 128_th.jpg", "The original station at<br>the Grand Canyon.");
	gcPics[19] = new Pics("Photo/GC 121.jpg", "Photo/thumbs/GC 121_th.jpg", "#4960 a 2-8-2 Mikado<br>arrives at the station.");
	gcPics[20] = new Pics("Photo/GC 120.jpg", "Photo/thumbs/GC 120_th.jpg", "Passengers depart at<br>Grand Canyon station.");
	gcPics[21] = new Pics("Photo/GC 129.jpg", "Photo/thumbs/GC 129_th.jpg", "Boarding the train<br>for the trip back<br>to Williams.");
	gcPics[22] = new Pics("Photo/GC 130.jpg", "Photo/thumbs/GC 130_th.jpg", "The wild west still<br>lives up to its name.");
	gcPics[23] = new Pics("Photo/GC 131.jpg", "Photo/thumbs/GC 131_th.jpg", "Where's the Marshall<br>when you need him!");

var realPics = new Array
	realPics[0] = new Pics("Photo/CSXYard.jpg", "Photo/thumbs/CSXYard_th.jpg", "CSX Yard in<br>New Orleans.");
	realPics[1] = new Pics("Photo/IC8325.jpg", "Photo/thumbs/IC8325_th.jpg", "Before the CN<br>merger.");
	realPics[2] = new Pics("Photo/ICRR_1.jpg", "Photo/thumbs/ICRR_1_th.jpg", "Static display in<br>Baton Rouge La.");
	realPics[3] = new Pics("Photo/ICRR_4.jpg", "Photo/thumbs/ICRR_4_th.jpg", "Closed on Sundays.");
	realPics[4] = new Pics("Photo/KCSEngineShop_2.jpg", "Photo/thumbs/KCSEngineShop_2_th.jpg", "Kansas City Southern<br>engine service in<br>Metairie La.");
	realPics[5] = new Pics("Photo/KCSEngineShop.jpg", "Photo/thumbs/KCSEngineShop_th.jpg", "Fuel and sand for KCS.");
	realPics[6] = new Pics("Photo/KCSSand_2.jpg", "Photo/thumbs/KCSSand_2_th.jpg", "No sand house?<br>Just use the hopper!");
	realPics[7] = new Pics("Photo/MOW.jpg", "Photo/thumbs/MOW_th.jpg","");
	realPics[8] = new Pics("Photo/NS3326.jpg", "Photo/thumbs/NS3326_th.jpg","");
	realPics[9] = new Pics("Photo/NS8629.jpg", "Photo/thumbs/NS8629_th.jpg","");
	realPics[10] = new Pics("Photo/NSBoxCar.jpg", "Photo/thumbs/NSBoxCar_th.jpg","");
	realPics[11] = new Pics("Photo/NSGondola.jpg", "Photo/thumbs/NSGondola_th.jpg","");
	realPics[12] = new Pics("Photo/NSHueyP.jpg", "Photo/thumbs/NSHueyP_th.jpg", "West bank of the<br>Mississippi river on<br>the Huey P. Long bridge.");
	realPics[13] = new Pics("Photo/NSPearlRiver2.jpg", "Photo/thumbs/NSPearlRiver2_th.jpg", "Norfolk Southern at<br>La., Miss. state line.");
	realPics[14] = new Pics("Photo/NSPearlRiver3.jpg", "Photo/thumbs/NSPearlRiver3_th.jpg", "Wooden trestle replaced.");
	realPics[15] = new Pics("Photo/NSPearlRiver.jpg", "Photo/thumbs/NSPearlRiver_th.jpg","The camera is leaning<br>not the bridge.");
	realPics[16] = new Pics("Photo/Picture 014.jpg", "Photo/thumbs/Picture 014_th.jpg","");
	realPics[17] = new Pics("Photo/Picture 064.jpg", "Photo/thumbs/Picture 064_th.jpg", "Rail or wheel greaser<br>before curved track.");
	realPics[18] = new Pics("Photo/Picture 067.jpg", "Photo/thumbs/Picture 067_th.jpg", "Parts of the greaser<br>inside the rails.");
	realPics[19] = new Pics("Photo/Picture 069.jpg", "Photo/thumbs/Picture 069_th.jpg", "Pearl River, La.");
	realPics[20] = new Pics("Photo/Picture 119.jpg", "Photo/thumbs/Picture 119_th.jpg", "Slidell, La.");
	realPics[21] = new Pics("Photo/Picture 120.jpg", "Photo/thumbs/Picture 120_th.jpg", "Slidell, La.");
	realPics[22] = new Pics("Photo/Picture 125.jpg", "Photo/thumbs/Picture 125_th.jpg", "CN yard switching<br>Metairie, La.");
	realPics[23] = new Pics("Photo/Picture 126.jpg", "Photo/thumbs/Picture 126_th.jpg", "CN yard switching<br>Metairie, La.");
	realPics[24] = new Pics("Photo/Picture 127.jpg", "Photo/thumbs/Picture 127_th.jpg", "CN yard switching<br>Metairie, La.");
	realPics[25] = new Pics("Photo/Picture 128.jpg", "Photo/thumbs/Picture 128_th.jpg", "CN yard switching<br>Metairie, La.");
	realPics[26] = new Pics("Photo/Picture 129.jpg", "Photo/thumbs/Picture 129_th.jpg", "CN tower.");
	realPics[27] = new Pics("Photo/Picture 130.jpg", "Photo/thumbs/Picture 130_th.jpg","");
	realPics[28] = new Pics("Photo/Picture 132.jpg", "Photo/thumbs/Picture 132_th.jpg", "Main line leading from<br>KCS yard. Check out the<br>track those tanks are on.");
	realPics[29] = new Pics("Photo/SCLLN7065.jpg", "Photo/thumbs/SCLLN7065_th.jpg", "UP yard");
	realPics[30] = new Pics("Photo/UPYard.jpg", "Photo/thumbs/UPYard_th.jpg", "UP yard");
	realPics[31] = new Pics("Photo/SouGondola.jpg", "Photo/thumbs/SouGondola_th.jpg","Nice weathering job!");
	realPics[32] = new Pics("Photo/SectionTrack.jpg", "Photo/thumbs/SectionTrack_th.jpg", "Real trains use<br>sectional track?<br>Looks like part of<br>a turnout that was<br>removed.");
	
function Pics(photo,thumb,desc){
	this.photo = photo;	// Path to photo
	this.thumb = thumb;	//Path to thumbnail
	this.desc = desc;	// Brief description under the thumbnail (optional)
}
function ShowRealPics(picArray) { 
	var openTable = '<table width="100%">'; 
	var tdOpen = '<td align="center" valign="top"><a HREF="'; 
	var pTab = openTable; 
        pTab += '<tr>'; 
        for (var i=0;i<picArray.length;i++){ 
             if (i > 0 && i % 6 == 0){ 
                pTab += '</tr>'; 
                pTab += '<tr>'; 
            } 
            //pTab += tdOpen + realPics[i].photo + '"><img src="' + realPics[i].thumb + '"></a><br><a href="' + realPics[i].photo + '" class="2">' + realPics[i].desc +'</a></td>';
            pTab += tdOpen + picArray[i].photo + '"><img src="' + picArray[i].thumb + '"></a><br><a href="' + picArray[i].photo + '" class="2">' + picArray[i].desc +'</a></td>';   
		}
        pTab += '</tr></table>'; 
        document.write(pTab); 
}
function ShowPics(picArray) {
	var openTable = '<table width="100%">'; 
	var tdOpen = '<td align="center" valign="top"><a class="opacity1" HREF="'; 
	var tableTxt = openTable; 
	var pLen
	//Arrays of less than 8 pics cause problems with the first for loop if i < 8 was used.
	if (picArray.length < 8){
		pLen = picArray.length;
	} else {
		pLen = 8;
	}
	tableTxt += '<tr>'; 
	//place 8 thumbs and center the image map
	for (var i=0;i<pLen;i++){ 
		if (i == 2){
			tableTxt += '<script>DrawMap()</script>'
		}
		if (i > 0 && i % 4 == 0){ 
			tableTxt += '</tr>';
			tableTxt += '<tr>'; 
		} 
		tableTxt += tdOpen + picArray[i].photo + '"><img src="' + picArray[i].thumb + '"></a><br><a href="' + picArray[i].photo + '" class="2">' + picArray[i].desc +'</a></td>';
	}
	tableTxt += '</tr><tr>'
	// place the rest of the pics in rows of 6
	if (picArray.length > 8) {
		tableTxt += '</table>' + openTable; // Start a new table under the image map. The centering looks better.
		for (var j=8;j<picArray.length;j++){
			if (j > 0 && j % 6 == 2){ 
				tableTxt += '</tr>'; 
				tableTxt += '<tr>'; 
			} 
        tableTxt += tdOpen + picArray[j].photo + '"><img src="' + picArray[j].thumb + '"></a><br><a href="' + picArray[j].photo + '" class="2">' + picArray[j].desc +'</a></td>';   
		}		
	}
    tableTxt += '</tr></table>'; 
    document.write(tableTxt); 
}	

/* Make ghost images for mouseover on thumbnails */

//if ((navigator.appName.indexOf('Microsoft')+1)) {
//document.write('<style type="text/css"> a.opacity1:link {filter:alpha(opacity=40)} a.opacity1:visited {filter:alpha(opacity=40)} a.opacity1:hover {filter:alpha(opacity=100)} </style>'); }
//if ((navigator.appName.indexOf('Netscape')+1)) {
//document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }
//else {
//document.write(''); }

if ((navigator.appName.indexOf('Microsoft')+1)) {
document.write('<style type="text/css"> .opacity1 {filter:alpha(opacity=40)} .opacity2 {filter:alpha(opacity=100)} </style>'); }
if ((navigator.appName.indexOf('Netscape')+1)) {
document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }
else {
document.write(''); }

function CreateHeader(){
var etxt ='<td align="center" valign="top"><img SRC="Image/crossing3.gif" BORDER=0 height=150 width=68>';
var htxt = '<table width="100%">';
	htxt += '<tr>' + etxt;
	switch (arguments.length) {
		case 0:
			htxt += '<td align="center"><h1 class="c1">Welcome to the D S A & J<br>N Scale Railroad<br>Slidell, La.</h1>'
			break;
		case 1:
			if (arguments[0] == "Grand Canyon Railway") {
				htxt += '<td align="center"><h1 class="c1">D S A & J<br>N Scale Railroad<br>' + arguments[0] + '</h1>';
				htxt += '<a href="http://www.thetrain.com"><img src="Image/bottom_logo.gif"></a>';
			} else {
				htxt += '<td align="center"><h1 class="c1">D S A & J<br>N Scale Railroad<br>' + arguments[0] + '</h1>';
			}
			break;
	}
	htxt += etxt + '</tr></table><center><img SRC="Image/hrtrain.gif"><br><br></center>';
	document.write(htxt);
}

function Menu(item,link){
	this.item = item;
	this.link = link;
}
function ShowMenu() {
var menuItem = new Array
	menuItem[0] = new Menu("Home", "index.html");
	menuItem[1] = new Menu("History", "about.html");
	menuItem[2] = new Menu("Layout Pics", "photo.html");
	menuItem[3] = new Menu("1:1 Scale Pics", "realpics.html");
	menuItem[4] = new Menu("Track Plan", "Image/trackplan.jpg");
	menuItem[5] = new Menu("Grand Canyon RR", "grandcanyon.html");
	menuItem[6] = new Menu("How To", "howto.html");
	menuItem[7] = new Menu("Links", "links.html");
var spcr = '&nbsp;|&nbsp;</td>';
var tdTxt = '<td align="center" valign="middle">';
var opnAnc = '<a href="'
var clsAnc = '</a></td>'
var clas = '" class="menu">'
var mline = '<center>';
	mline += '<table class="tabmenu">';
	mline += '<tr>' + tdTxt + '<font color="#0000ff">*</font>&nbsp;</td>';
	for (var i=0; i < menuItem.length; i++) {
		mline += tdTxt + opnAnc + menuItem[i].link + clas + menuItem[i].item + clsAnc;
		if ( i != menuItem.length-1) {
			mline += tdTxt + spcr;
		}
	}
	mline += tdTxt + '&nbsp;<font color="#0000ff">*</font></td>';
	mline += '</tr></table></center>';
	document.write(mline);
}
function DrawMap(){
var maptxt=	'<td align="center" valign="top" colspan="2" rowspan="2">'
	maptxt += '<MAP NAME="mymap">'
	maptxt += '<AREA HREF="northpics.html" TITLE="North Section" shape="rect" COORDS="0,3,274,55">';
	maptxt += '<AREA HREF="eastpics.html" TITLE="East Section" shape="poly" COORDS="274,3,335,3,335,142,292,166,292,211,258,211,258,143,292,107,292,73,275,55,274,3">';
	maptxt += '<AREA HREF="yardpics.html" TITLE="Yard Section" shape="poly" COORDS="258,143,258,211,69,211,69,176,224,176,258,143">';
	maptxt += '<AREA HREF="southpics.html" TITLE="South Section" shape="rect" COORDS="69,211,292,245">';
	maptxt += '<AREA HREF="westpics.html" TITLE="West Section" shape="rect" COORDS="35,89,69,245">';
	maptxt += '<AREA HREF="centralpics.html" TITLE="Central Section" shape="poly" COORDS="69,89,172,89,172,142,103,142,103,176,69,176,69,89">';
	maptxt += '</MAP>';
	maptxt += '<img src="Image/new_trackplan2.jpg" USEMAP="#mymap" BORDER=0></td>';
	document.write(maptxt);
}
