<!-- -*-java-*- -->

google_ad_client = "pub-5511497868554211";
google_alternate_ad_url = "http://therail.com/html/adsense.html";		
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="4755681094";
google_color_border = "333333";
google_color_bg = "333333";
google_color_link = "aaffaa";
google_color_url = "aaaa77";
google_color_text = "eeeeee";

function adjustWin()
{
    var minHeight=800;
    var newHeight=xClientHeight();
    if (newHeight<minHeight)
        newHeight=minHeight;
    xHeight('page',newHeight);
    createCookie('page',newHeight,77);
    var margins=260;
    var th=xClientHeight()-margins;
    xHeight('trainList',th);
}
window.onload=function()
{
    adjustWin();
    xAddEventListener(window,'resize',adjustWin,false);
}
