function content_head(words){
var content=["<script type=\"text/javascript\"src=\"http://www.google.com/jsapi?key=ABQIAAAAVNsfthaFPkBM2io3b__1uxR4t-ULYKlkugsQRij7nKNT_ag0qxTG4CLLEIy3Fir7xsZ8uNk-CEvLjw\"></script><script type=\"text/javascript\" src=\"http://www.trainz.com/css/gfeedfetcher.js\"></script><script type=\"text/javascript\" src=\"http://www.trainz.com/css/gajaxticker.js\"></script><script type=\"text/javascript\" src=\"http://www.trainz.com/css/jquery-1.2.2.pack.js\"></script><script type=\"text/javascript\" src=\"http://www.trainz.com/css/stepcarousel.js\"></script><script src=\"http://www.trainz.com/ntw/Scripts/AC_RunActiveContent.js\" type=\"text/javascript\"></script><script src=\"http://www.trainz.com/ntw/Scripts/AC_ActiveX.js\" type=\"text/javascript\"></script>"]
document.write(content)}


function content_topnav(words){
var content=["<a name=\"top\"></a><div id=\"ddcolortabs\"><ul><li style=\"margin-left: 1px\" id=\"current\"><a href=\"http://www.trainz.com/home.html\" title=\"Trainz Home\"><span>Trainz Home</span></a></li><li><a href=\"http://store.trainzpreorder.com\" title=\"Trainz Pre-Order\"><span>Trainz Pre-Order</span></a></li><li><a href=\"http://auctions.trainz.com\" title=\"eBay Auctions\" target=\"_blank\" rel=\"nofollow\"><span>eBay Auctions</span></a></li><li><a href=\"http://support.trainz.com\" title=\"Help\" target=\"_blank\" rel=\"nofollow\"><span>Help</span></a></li></ul></div>"]
document.write(content)}

function content_topnav_right(words){
var content=["<span class=\"topnav_right\"><a href=\"http://www.trainz.com/home.html\">Home</a> | <a href=\"http://store2.trainz.com/Store/ShoppingCart.aspx\">Shopping Cart</a> | <a href=\"http://www.trainz.com/wishes/wishlist_add.asp\" rel=\"nofollow\">Wish List</a> | <a href=\"http://www.trainz.com/selling-your-trains.html\">We Buy Trains</a> | Order by phone! 1-866-601-1248 </span>"]
document.write(content)}

function content_header(words){
var content=["<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">   <td width=\"940\">    	<table width=\"940\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">      <tr>        <td width=\"940\" height=\"157\" colspan=\"2\" background=\"http://www.trainz.com/images/new/trainz_header2.jpg\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">          <tr>            <td height=\"157\" valign=\"top\" align=\"left\"><a href=\"http://www.trainz.com\"><img src=\"http://www.trainz.com/images/blank.gif\" alt=\"Trainz.com\" width=\"300\" height=\"150\" border=\"0\"></a></td>            <td width=\"477\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"476\" height=\"157\"><param name=\"movie\" value=\"http://www.trainz.com/images/new/trainzheader_flash.swf\"><param name=\"SCALE\" value=\"noborder\" /><embed src=\"http://www.trainz.com/images/new/trainzheader_flash.swf\" width=\"475\" height=\"157\" scale=\"noborder\" quality=\"high\" bgcolor=\"#F7F1CC\"></embed></object>	</td> </td>          </tr></table>"]
document.write(content)}

function content_header_ca(words){
var content=["<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">   <td width=\"940\">    	<table width=\"940\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">      <tr>        <td width=\"940\" height=\"157\" colspan=\"2\" background=\"http://www.trainz.com/images/new/trainz_header2.jpg\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">          <tr>            <td height=\"157\">&nbsp;</td>            <td width=\"477\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"476\" height=\"157\"><param name=\"movie\" value=\"http://www.trainz.com/images/new/trainzheader_flash.swf\"><param name=\"SCALE\" value=\"noborder\" /><embed src=\"http://www.trainz.com/images/new/trainzheader_flash.swf\" width=\"475\" height=\"157\" scale=\"noborder\" quality=\"high\" bgcolor=\"#F7F1CC\" allowScriptAccess=\"always\"></embed></object>	</td> </td>          </tr></table>"]
document.write(content)}

function content_nav(words){
var content=["<div id=\"modernbricksmenu\"><ul><li style=\"margin-left: 1px\"><a href=\"\" title=\"Shop By Scale\">Shop By Scale</a></li><li><a href=\"\" title=\"Shop By Brand\">Shop By Brand</a></li><li><a href=\"\" title=\"Shop By Era\">Shop By Era</a></li><li><a href=\"\" title=\"My Shopping Cart\">My Shopping Cart</a></li></ul><form id=\"myform\" action=\"http://store2.trainz.com/Store/Search.aspx\" method=\"get\"><input name=\"SearchTerm\" class=\"textinput\" size=\"20\" maxlength=\"50\" /> <input type=\"submit\" class=\"submit\" value=\"Search\" /></form></div>"]
document.write(content)}

function content_search(words){
var content=["<div id=\"modernbricksmenu\"><form id=\"mysearchform\" action=\"http://store2.trainz.com/Store/Search.aspx\" method=\"get\">Search: <input name=\"SearchTerm\" class=\"textinput\" /> <input type=\"submit\" class=\"submit\" value=\"Find Now!\" /></form></div>"]
document.write(content)}


function content_search_ca(words){
var content=["<div id=\"modernbricksmenu\">Search: <input name=\"SearchTerm\" class=\"textinput\" ID=\"SearchTerm\" size=10 onKeyPress=\"NoReturn(event, this);\">  <a href=\"javascript:DoSearch();\"><img src=\"http://www.trainz.com/images/findnow.gif\" align=\"absmiddle\" border=0></a></div>"]
document.write(content)}


function content_ticker(words){
var cssfeed=new gfeedrssticker("rss-ticker", "example1class", 5000, "_new")
cssfeed.addFeed("Trainz Daily Blog", "http://trainzstore.blogspot.com/feeds/posts/default") //Specify "label" plus URL to RSS feed
cssfeed.setentrycontainer("div") //Wrap each entry with a DIV tag
cssfeed.displayoptions("") //show the specified additional fields
cssfeed.filterfeed(3, "date") //Show 10 entries, sort by date
cssfeed.entries_per_page(1)
cssfeed.init()}




function content_main(words){
var content=[""]
document.write(content)}

function content_left(words){
var content=["Left Content"]
document.write(content)}

function content_footer(words){
var content=["<table width=\"87%\" border=\"0\" align=\"center\" cellpadding=0 cellspacing=2><tr class=\"text_footer_header\"><td width=\"15%\"><div align=\"left\"><strong>Trainz Links:</strong></div></td>    <td rowspan=\"2\" class=\"footer_table\">&nbsp;</td>    <td width=\"15%\"><div align=\"left\"><strong>More Trainz Links:</strong></div></td>     <td rowspan=\"2\" class=\"footer_table\">&nbsp;</td>    <td width=\"15%\"><div align=\"left\"><strong>Trainz Community: </strong></div></td> <td rowspan=\"2\" class=\"footer_table\">&nbsp;</td>    <td width=\"15%\"><div align=\"left\"><strong>Support:</strong></div></td>   <td class=\"footer_table\" width=\"15%\" rowspan=\"2\" valign=\"top\" align=\"left\"><img src=\"http://local.trainz.com/images/new/payments.gif\" width=\"131\" height=\"76\"><br></td>    <td class=\"footer_table\" width=\"15%\" rowspan=\"2\" valign=\"top\" align=\"left\" style=\"padding-left:5px;\"><a href=\"//www.controlscan.com/seal/verify5.php?id=235&amp;dom=9A945E69\" target=\"_blank\"><img border=\"0\" src=\"http://www.controlscan.com/seal/sealx5.php?id=235&amp;dom=9A945E69\" /></a></td></tr><tr><td class=\"text_footer\"><div align=\"left\"><a href=\"http://www.trainz.com/about-us.html\" rel=\"nofollow\">About Us</a><a href=\"http://www.trainz.com/scales/o-scale.html\"></a></div>      <div align=\"left\"><a href=\"http://www.trainz.com/scotts-story.html\" rel=\"nofollow\">Scott's Story</a><a href=\"http://www.trainz.com/eras/modern.html\"></a></div>      <div align=\"left\"><a href=\"http://www.trainz.com/selling-your-trains.html\">Selling Your Trains?</a></div><div align=\"left\"><a href=\"http://www.trainz.com/premierclient.html\">Premier Client Program</a></div>																																																																																																																																																																																																																																																																																																									</td>      <td class=\"text_footer\"><div align=\"left\"><a href=\"http://store2.trainz.com/Train%20Parts/\">Train Parts</a></div>        <div align=\"left\"><a href=\"http://www.trainz.com/testimonials.html\" rel=\"nofollow\">Customer Testimonials</a></div> <div align=\"left\"><a href=\"http://www.trainz.com/layout.html\">Trainz Store Layout</a></div><div align=\"left\"><a href=\"http://www.trainz.com/salesagent.html\">Become A Sales Agent</a></div>																																																																																																																																																																																																																																																																																																																			</td>      <td class=\"text_footer\"><div align=\"left\"><a href=\"http://www.trainz.com/track-plans-ideas.html\">Track Plans and Ideas</a></div>   <div align=\"left\"><a href=\"http://www.youtube.com/profile?user=trainzstore&view=videos\" target=\"_blank\" rel=\"nofollow\">Trainz  Videos</a></div>     <div align=\"left\"><a href=\"http://trainzstore.blogspot.com\" target=\"_blank\" rel=\"nofollow\">Trainz Daily Blog</a></div>        <div align=\"left\"><a href=\"http://www.trainz.com/links.html\" rel=\"nofollow\">Web Links</a></div></td>      <td class=\"text_footer\"><div align=\"left\"><a href=\"http://support.trainz.com\" target=\"_blank\" rel=\"nofollow\">Help / FAQ's</a></div>        <div align=\"left\"><a href=\"http://www.trainz.com/beginnersguide.html\">New to Model Trains?</a></div><div align=\"left\"><a href=\"http://www.trainz.com/selling-your-trains.html\">Selling Your Trains?</a></div>  <div align=\"left\"><a href=\"http://www.trainz.com/privacy.html\" onClick=\"NewWindow(this.href,'privacy','480','500','yes','center');return false\" onFocus=\"this.blur()\" rel=\"nofollow\">Privacy Policy</a></div></td></tr>    </table>"]
document.write(content)}	

function content_copyright(words){
var content=["Copyright &copy; <a href=\"http://www.trainz.com\">Trainz.com</a> 2008. All Right Reserved.<br><br>"]
document.write(content)}

function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}

var win=null;
function NewWindow1(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(mypage,myname,settings);}