Fejl i en tom linie?
Hej,Der kommer en fejl hver gang jeg åbner denne side. Det er linie 31 den er gal med men denne linie er tom...
http://www.a-l-t.dk/fs
her er koden:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/skov_conn.asp" -->
<!--#include file="addlinks.asp" -->
<%
Dim rsDok__MMColParam
rsDok__MMColParam = "1"
if (Request.QueryString("id") <> "") then rsDok__MMColParam = Request.QueryString("id")
%>
<%
set rsDok = Server.CreateObject("ADODB.Recordset")
rsDok.ActiveConnection = MM_skov_conn_STRING
rsDok.Source = "SELECT tblDok.*, tblDokType.*, tblBaggrund.*, tblDiv.* FROM tblDok, tblDokType, tblBaggrund, tblBillede, tblDiv WHERE DokID = " + Replace(rsDok__MMColParam, "'", "''") + " AND tblDok.DokBaggrund = tblBaggrund.BaggrundID AND tblDok.DokType = tblDokType.DokTypeID"
rsDok.CursorType = 0
rsDok.CursorLocation = 2
rsDok.LockType = 3
rsDok.Open()
rsDok_numRows = 0
%>
<% SESSION.LCID = 1030 %>
<html>
<head>
<title>Open</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="layout2.css" type="text/css">
<style type="text/css">
body {
overflow-y: hidden;
overflow-x: hidden;
background-repeat: no-repeat;
}
#myTBL {
position: relative;
z-index: 2;
}
</style>
<script type="text/JavaScript">
var d=document;
function getPos(elm) {
for(var zx=zy=0;elm!=null;zx+=elm.offsetLeft,zy+=elm.offsetTop,elm=elm.offsetParent);
return {x:zx,y:zy}
}
window.onload = window.onresize = function() {
var pos, myTBL, bg = d.getElementById("bg");
myTBL = d.getElementById("myTBL");
pos = getPos( myTBL );
bg.style.left = pos.x;
bg.style.top = pos.y;
bg.style.width = myTBL.offsetWidth;
bg.style.height = myTBL.offsetHeight;
bg.style.visibility = "visible";
}
function popup(url,name,win_height,win_width) {
pos_horizon = ((screen.width/2)-(win_width/2));
pos_vertical = ((screen.height/2)-(win_height/2));
window.open(url,name,"scrollbars=yes,width="+win_width+",height="+win_height+",top="+pos_vertical+",left="+pos_horizon);
}
</script>
/haase
