function add_footnote(offset_y) {
document.write("<div id=\"footer\" style=\"position: absolute; top: "+offset_y+"px\">Copyright &#169; 2007-2009 Atmospheric Radar Research Center<br>This material is based upon work supported by the National Science Foundation (NSF) under award numbers 0313747 & 105093300. Any opinions, findings and conclusions or recomendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.</div>")
}

function add_body_html(station) {
var w=950
var h=680
document.write("<title>"+station.toUpperCase()+" Refractivity</title>")
document.write("<div id=\"wrapper\"><img src=\"canvas.png\" border=0 width="+w+" height="+h+"></div>")
document.write("<div id=\"wrapper\"><img src=\"latest_"+station+".png\" border=0 width="+w+" height="+h+"></div>")
document.write("<div id=\"wrapper\">")
document.write("<a href=\""+station+"_anim.html\">")
document.write("<img src=\"mapover_"+station+".png\" border=0 width="+w+" height="+h+" alt=\"Map Overlay\">")
document.write("</a>")
document.write("</dvi>")
add_footnote(680)
}

function add_anim_body_html(station) {
var w=950
var h=680
document.write("<title>"+station.toUpperCase()+" Refractivity</title>")
document.write("<applet codebase=\"code\" archive=\"aniscode.jar\" code=\"AniS.class\" width="+w+" height="+(h+46)+">")
document.write("<param name=\"backcolor\" value=\"xffffff\">")
document.write("<param name=\"bottom_controls\" value=\"startstop,overlay,firstlast,setframe,speed,numframeschoice,auto_toggle/on,refresh\">")
document.write("<param name=\"file_of_filenames\" value=\"filelist_ktlx\">")
document.write("<param name=\"quiet_reload\" value=\"false\">")
document.write("<param name=\"active_zoom\" value=\"x\">")
document.write("<param name=\"keep_zoom\" value=\"x\">")
document.write("<param name=\"use_caching\" value=\"true\">")
document.write("<param name=\"auto_refresh\" value=\"3\">")
document.write("<param name=\"num_frames_choice\" value=\"10, 20, all\">")
document.write("<param name=\"rate\" value=\"100\">")
document.write("<param name=\"image_window_size\" value=\""+w+","+h+"\">")
document.write("<param name=\"pause_percent\" value=\"800\">")
document.write("</applet>")
document.write("<div id=\"footer\" style=\"position: relative; top: 5\">")
document.write("Animation Animation enhanced by <a href=\"http://www.ssec.wisc.edu/anis/\">AniS</a> java applet")
document.write("</div>")
add_footnote(750)
}

