/**************************
*    format and print     *
**************************/
document.write('<div id="main-content_gallery"><div id="gallery-head-wrap"><div id="gallery-head-left"><div id="gallery-title">Gallery:</div><div id="gallery-caption">Our Firestarters at work:<div class="print-only"><br></div></div></div><div id="gallery-head-right"><img id="gal-link-divider" src="graphics/gal_link_divider.png" /><div id="gal-link-wrap"><div id="gal-link-title">See More Galleries:</div><div id="gal-link-button-wrap"><a id="energy-logs-button" href="slideshow2.htm" name="side_links"></a><a id="pellet-stove-button" href="slideshow3.htm" name="side_links"></a></div></div></div></div><div id="gallery-wrap"><img id="left-image" src="graphics/gallery/endof.gif" name="GalleryLeft"><img id="center-image" src="graphics/gallery/image0.jpg" name="GalleryCenter"><img id="right-image" src="graphics/gallery/image1.jpg" name="GalleryRight"></div><div id="button-wrap"><a id="rewind" href="javascript: if (active == true) restart();"></a><a id="previous" href="javascript: if (active == true) processPrevious()"></a><a id="next" href="javascript: if (active == true) processNext()"></a></div><div id="caption">Light the paper edge</div></div>');



/* 
//change background
var background = document.getElementsByName("content")[0];
if (!background) {  //if it doesn't work
    alert("something must be wrong");
    content.id = "main-content_gallery";    //try it a different way
}
else background.id = "main-content_gallery";    //otherwise do it as usual
 */


/**************************
*     target example      *
**************************/
/*
    <div id="main-content_gallery">
        <div id="gallery-head-wrap">
            <div id="gallery-head-left">
                <div id="gallery-title">Gallery:</div>
                <div id="gallery-caption">Our Firestarters at work:<div class="print-only"><br></div></div>
            </div>
            <div id="gallery-head-right">
                <img id="gal-link-divider" src="graphics/gal_link_divider.png" />
                <div id="gal-link-wrap">
                    <div id="gal-link-title">See More Galleries:</div>
                    <div id="gal-link-button-wrap">
                        <a id="energy-logs-button" href="slideshow1.htm" name="side_links"></a>
                        <a id="pellet-stove-button" href="slideshow2.htm" name="side_links"></a>
                    </div>
                </div>
            </div>
        </div>
        <div id="gallery-wrap">
            <img id="left-image" src="graphics/gallery/endof.gif" name="GalleryLeft">
            <img id="center-image" src="graphics/gallery/image0.jpg" name="GalleryCenter">
            <img id="right-image" src="graphics/gallery/image1.jpg" name="GalleryRight">
        </div>
        <div id="button-wrap">
            <a id="rewind" href="javascript: if (active == true) restart();"></a>
            <a id="previous" href="javascript: if (active == true) processPrevious()"></a>
            <a id="next" href="javascript: if (active == true) processNext()"></a>
        </div>
        <div id="caption">Light the paper edge</div>
    </div>
*/