<HEAD><TITLE>The living room</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="The living room" 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=09-10-2005 name=DC.Date> <META content=text/html name=DC.Format> <META content=dk name=DC.Language> <META content="" name=DC.Relation> <META content="Copyright 2005 VUC Roskilde Amt" name=DC.Rights><LINK href="css/skablet.css" type=text/css rel=STYLESHEET> <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD> <BODY onresize=init() style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana" onload=init()> <H3 align=center>The living room</H3> <P align=center>Trk etiketterne p plads!&nbsp;De skal anbringes lige UNDER de sm streger p billedet! </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=240,262,296,278><AREA shape=RECT alt="" coords=60,341,90,357><AREA shape=RECT alt="" coords=230,96,276,112><AREA shape=RECT alt="" coords=370,319,397,335><AREA shape=RECT alt="" coords=482,292,543,308><AREA shape=RECT alt="" coords=510,230,572,246><AREA shape=RECT alt="" coords=231,442,274,458><AREA shape=RECT alt="" coords=335,227,392,243><AREA shape=RECT alt="" coords=709,282,751,298><AREA shape=RECT alt="" coords=24,94,49,110></MAP><IMG id=img height=537 alt="" src="living_room.jpg" width=792 useMap=#Map0 border=0> </TD> <TD vAlign=top width=150> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 30px"></DIV> <DIV style="WIDTH: 46px"></DIV> <DIV style="WIDTH: 27px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 43px"></DIV> <DIV style="WIDTH: 50px"></DIV> <DIV style="WIDTH: 42px"></DIV> <DIV style="WIDTH: 25px"></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'">armchair</SPAN><BR><SPAN onmousedown=mdown(this) id=1 onmouseover="this.style.cursor='default'">desk</SPAN><BR><SPAN onmousedown=mdown(this) id=2 onmouseover="this.style.cursor='default'">picture</SPAN><BR><SPAN onmousedown=mdown(this) id=3 onmouseover="this.style.cursor='default'">tray</SPAN><BR><SPAN onmousedown=mdown(this) id=4 onmouseover="this.style.cursor='default'">magazine</SPAN><BR><SPAN onmousedown=mdown(this) id=5 onmouseover="this.style.cursor='default'">flowerpot</SPAN><BR><SPAN onmousedown=mdown(this) id=6 onmouseover="this.style.cursor='default'">carpet</SPAN><BR><SPAN onmousedown=mdown(this) id=7 onmouseover="this.style.cursor='default'">cushions</SPAN><BR><SPAN onmousedown=mdown(this) id=8 onmouseover="this.style.cursor='default'">apples</SPAN><BR><SPAN onmousedown=mdown(this) id=9 onmouseover="this.style.cursor='default'">wall</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; this.imgPath = getOpenerImgPath(); // Tom efter oprettelsen var ref = imgTable.getElementsByTagName("div"); document.getElementById("img").src = imgPath + "living_room.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 = imgTable.offsetLeft + parseInt(a.item(i).coords.split(",")[0]); ref.item(i).style.top = imgTable.offsetTop + 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 imgLeft = imgTable.offsetLeft; var imgTop = imgTable.offsetTop; 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)) ) } </SCRIPT> </BODY>