if(document.body.clientWidth)

{

    doc_width=document.body.clientWidth

    doc_height=document.body.clientHeight



}

    

if(window.innerWidth)

{

    doc_width=window.innerWidth

    doc_height=window.innerHeight

}

document.write('<div id="chrome" style="position:absolute;top:'+((doc_height-450)/2)+'px;left:'+((doc_width-650)/2)+'px;width:650px;height:450px;background-image:url(at_frame2.jpg);border:1px solid;color:silver">');
document.write('<div class="labels" style="position:absolute;left:460px;top:30px;height:20px;color:gray;">board</div>');
document.write('<div class="labels" style="position:absolute;left:585px;top:30px;height:20px;color:gray">chart</div>');
document.write('<div id="switchbox1" style="position:absolute;left:528px;top:31px;height:20px;border:1px solid">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="switch1" width="40" height="20">');
document.write('<param name="movie" value="switch1.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="bgcolor" value="#DCDCDC">');
document.write('<param name="wmode" value="window">');
document.write('<embed src="switch1.swf" width="40" height="20" quality="high" bgcolor="#DCDCDC" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">');
document.write('</embed></object>');
document.write('</div>');


document.write('<div id="help" style="visibility:hidden;position:absolute;left:25px;top:24px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"  id="help2" width="415" height="400">');
document.write('<param name="movie" value="help2.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="bgcolor" value="#000000">');
document.write('<param name="wmode" value="window">');
document.write('<embed src="help2.swf" width="415" height="400" name="help2" quality="high" bgcolor="#000000" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">');
document.write('</embed></object>');
document.write('</div>');

document.write('<div id="board" style="display:block;position:absolute;left:25px;top:24px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"  id="atmosphere" width="415" height="400">');
document.write('<param name="movie" value="atmosphere3.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="bgcolor" value="#000000">');
document.write('<param name="wmode" value="window">');
document.write('<embed src="atmosphere3.swf" width="415" height="400" name="atmosphere" quality="high" bgcolor="#000000" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">');
document.write('</embed></object>');
document.write('</div>');
document.write('<div id="chart1div" style="visibility:hidden;position:absolute;left:25px;top:24px;"></div>');
document.write('<div id="chart_panel" style="visibility:hidden;position:absolute;left:454px;top:70px;width:183px;height:310px;border:1px solid">');
document.write('<input type="button" title="get a chart representing today\'s data" class="dpButton" style="position:absolute;left:70px;top:20px;height:20px;width:50px" onclick="GetToday()" value="today">');
document.write('<input name="DateInput" size=11 readonly=true style="position:absolute;left:4px;top:60px;"><input type="button" class="dpButton" style="position:absolute;left:110px;top:61px;height:20px;width:65px" onclick="GetChart(this.previousSibling.value)" value="get chart">');
document.write('<div style="position:absolute;left:0px;top:90px;width:100%"><center><div id="datepicker"> </div></center></div>');
document.write('</div>');
document.write('<div id="board_panel" style="visibility:visible;position:absolute;left:454px;top:70px;width:183px;height:310px;border:1px solid">');
document.write('<input id="getmagnet" type="button" title="get your own magnet" class="dpButton" style="display:none;position:absolute;left:52px;top:20px;height:20px;width:80px" onclick="GetMagnet()" value="get magnet">');
document.write('<div class="ctllabels" style="position:absolute;left:42px;top:70px;height:20px;color:gray;border-bottom:1px solid">other magnets</div>');
document.write('<div class="ctllabels" style="position:absolute;left:27px;top:109px;height:20px;color:gray;">show</div>');
document.write('<div class="ctllabels" style="position:absolute;left:125px;top:109px;height:20px;color:gray;">hide</div>');
document.write('<div id="switch" style="position:absolute;left:73px;top:110px;height:20px;border:1px solid">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="switch" width="40" height="20">');
document.write('<param name="movie" value="switch.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="bgcolor" value="#DCDCDC">');
document.write('<param name="wmode" value="window">');
document.write('<embed src="switch.swf" width="40" height="20" quality="high" bgcolor="#DCDCDC" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">');
document.write('</embed></object>');
document.write('</div>');
document.write('</div>');
document.write(' <a href="javascript:closeWindow()" title="go back to spikeit" style="position:absolute;left:607px;top:398px"><img border=0 src="backbutton.gif" ></img></a>');
document.write(' <a href="javascript:openHelp()" title="help on using atmosphere" style="position:absolute;left:567px;top:398px"><img border=0 src="help.gif" ></img></a>');