<HEAD><TITLE>Titel</TITLE> <STYLE type=text/css> #imgTable {background:#F5F5F5;border:1px solid #808080;} #imgTable div{visibility:hidden;position:absolute;border-bottom:2px groove #DDDDDD;} #imgTable span{position:static;background:#FFFFE0;padding-left:2px;color:#333333;border:1px solid #808080;} </STYLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content=Titel name=DC.Title> <META content="" name=DC.Creator> <META content="" name=DC.Subject> <META content="" name=DC.Description> <META content="VUC Roskilde Amt" name=DC.Publisher> <META content=12-09-2007 name=DC.Date> <META content=text/html name=DC.Format> <META content=dk name=DC.Language> <META content="" name=DC.Relation> <META content="Copyright 2007 VUC Roskilde Amt" name=DC.Rights><LINK href="css/skablet.css" type=text/css rel=STYLESHEET> <META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD> <BODY onresize=init() style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana" onload=init()> <H3 align=center>Das Wohnzimmer</H3> <P align=center></P> <DIV align=center> <TABLE id=imgTable style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana" cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=top><MAP name=Map0><AREA shape=RECT alt="" coords=634,75,712,91><AREA shape=RECT alt="" coords=37,347,98,363><AREA shape=RECT alt="" coords=391,274,449,290><AREA shape=RECT alt="" coords=228,110,278,126><AREA shape=RECT alt="" coords=439,495,517,511><AREA shape=RECT alt="" coords=706,286,765,302><AREA shape=RECT alt="" coords=132,273,192,289><AREA shape=RECT alt="" coords=5,103,66,119><AREA shape=RECT alt="" coords=239,267,307,283><AREA shape=RECT alt="" coords=375,228,444,244><AREA shape=RECT alt="" coords=510,239,609,255><AREA shape=RECT alt="" coords=548,145,614,161></MAP><IMG id=img height=537 alt="" src="wohnzimmer.jpg" width=792 useMap=#Map0 border=0> </TD> <TD vAlign=top width=150> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <TABLE style="FONT-SIZE: 10pt" cellSpacing=0 cellPadding=6 border=0> <TBODY> <TR> <TD style="FONT-SIZE: 10pt; LINE-HEIGHT: 140%; FONT-FAMILY: Verdana" noWrap><SPAN onmousedown=mdown(this) id=0 onmouseover="this.style.cursor='default'">das&nbsp;Fenster</SPAN><BR><SPAN onmousedown=mdown(this) id=1 onmouseover="this.style.cursor='default'">der&nbsp;Tisch</SPAN><BR><SPAN onmousedown=mdown(this) id=2 onmouseover="this.style.cursor='default'">das&nbsp;Sofa</SPAN><BR><SPAN onmousedown=mdown(this) id=3 onmouseover="this.style.cursor='default'">das&nbsp;Bild</SPAN><BR><SPAN onmousedown=mdown(this) id=4 onmouseover="this.style.cursor='default'">der&nbsp;Teppich</SPAN><BR><SPAN onmousedown=mdown(this) id=5 onmouseover="this.style.cursor='default'">das&nbsp;Obst</SPAN><BR><SPAN onmousedown=mdown(this) id=6 onmouseover="this.style.cursor='default'">der&nbsp;Stuhl</SPAN><BR><SPAN onmousedown=mdown(this) id=7 onmouseover="this.style.cursor='default'">die&nbsp;Wand</SPAN><BR><SPAN onmousedown=mdown(this) id=8 onmouseover="this.style.cursor='default'">der&nbsp;Sessel</SPAN><BR><SPAN onmousedown=mdown(this) id=9 onmouseover="this.style.cursor='default'">das&nbsp;Kissen</SPAN><BR><SPAN onmousedown=mdown(this) id=10 onmouseover="this.style.cursor='default'">der&nbsp;Blumentopf</SPAN><BR><SPAN onmousedown=mdown(this) id=11 onmouseover="this.style.cursor='default'">die&nbsp;Lampe</SPAN><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV> <SCRIPT type=text/javascript> var ie = (navigator.appName=="Microsoft Internet Explorer"); document.body.ondrag = function () { return false; }; document.body.onselectstart = function () { return false; }; var imgTable = document.getElementById("imgTable"); var dragId = null; function init(){ this.ragOffLeft = 0; this.dragOffTop = 0; var XYpos = new findXYPos(img) this.imgPath = getOpenerImgPath(); // Tom efter oprettelsen var ref = imgTable.getElementsByTagName("div"); document.getElementById("img").src = imgPath + "wohnzimmer.jpg" for(i=0;i<ref.length;i++){ var a = document.getElementsByTagName("area"); try{ ref.item(i).style.visibility="visible"; ref.item(i).style.left = XYpos.left + parseInt(a.item(i).coords.split(",")[0]); ref.item(i).style.top = XYpos.top + parseInt(a.item(i).coords.split(",")[1]); }catch(e){} } } function getOpenerImgPath(){ var imgPath = "" try{ var imgFile = opener.document.getElementById("~image~").src imgPath = imgPath = imgFile.substr(0,imgFile.lastIndexOf("\057")+1) }catch(e){} return imgPath } function mdown(e){ dragId=e; dragOffLeft=e.style.left; dragOffTop=e.style.top; dragId.style.lineHeight="110%"; if (ie){ document.onmousemove=mmove; document.onmouseup=mup; } else{ window.onmousemove=mmove; window.onmouseup=mup; } } function mmove(e){ if (!dragId) return if (ie){ var Ev = window.event; document.selection.empty(); }else{ var Ev = e window.getSelection().removeAllRanges(); } var mx=Ev.clientX+document.body.scrollLeft; var my=Ev.clientY+document.body.scrollTop; if ((mx<2)||(my<2))return dragId.style.position="absolute"; dragId.style.left=mx - dragId.offsetWidth/2; dragId.style.top=my -dragId.offsetHeight/2; return false; } function mup(){ if (!dragId) return if (ie)document.onmousemove=null; else window.onmousemove=null; var XYpos = new findXYPos(img) var imgLeft = XYpos.left; var imgTop = XYpos.top; var a = document.getElementsByTagName("area"); var spotX = parseInt(a.item(parseInt(dragId.id)).coords.split(",")[0]); var spotY = parseInt(a.item(parseInt(dragId.id)).coords.split(",")[1]); spot=getElementRect(a.item(parseInt(dragId.id))); if (isIn((dragId.offsetLeft+(dragId.offsetWidth/2))-imgLeft,(dragId.offsetTop+(dragId.offsetHeight/2))-imgTop,spot)){ dragId.style.left = spotX + imgLeft; dragId.style.top = spotY + imgTop; dragId.style.lineHeight="110%"; } else { dragId.style.position="static"; dragId.style.lineHeight="140%"; } dragId=null; } function getElementRect(e){ var left = parseInt(e.coords.split(",")[0]); var top = parseInt(e.coords.split(",")[1]); var width = parseInt(e.coords.split(",")[2])-left; var height = parseInt(e.coords.split(",")[3])-top; return {l:left,t:top,w:width,h:height} } function isIn(x,y,rect){ return ( ((x > rect.l) && (x < rect.l+rect.w)) && ((y > rect.t) && (y < rect.t+rect.h)) ) } function findXYPos(e){ var left = e.offsetLeft; var top = e.offsetTop; while (e.offsetParent){ left += e.offsetParent.offsetLeft top += e.offsetParent.offsetTop e = e.offsetParent } this.left=left; this.top=top; return this } </SCRIPT> </BODY>