set fso = Server.CreateObject("Scripting.FileSystemObject")
tmp = "wm.txt"
timestamp = now()
if isempty(request.form("wm_action")) = true then
if fso.FileExists(Server.MapPath(tmp)) = true then
set rfile = fso.OpenTextFile(Server.MapPath(tmp))
data = split(rfile.readall,vbcrlf)
if isnull(data(2)) = false then
response.write "Dundrar i högtalarna just nu: " & trim(data(2))
else
response.write "-=silence=-"
else
response.write "-=silence=-"
end if
end if
rfile.close
set rfile = nothing
set fso = nothing