var title="60 Jahre verheiratet: Beatrix und Josef Wilms"; var short="Nicht vielen Ehepaaren ist es vergönnt, das Jubiläum der Diamantenen Hochzeit feiern zu können. Beatrix (82) und Josef Wilms (80) aus Wiesentheid haben das seltene Glück, 60 Jahre miteinander verheiratet zu sein und noch immer das Leben im eigenen Heim gemeinsam genießen zu dürfen, wie Petra Wilms der Presse mitteilt."; var thumb = "https://www.infranken.de/storage/image/3/7/6/4/3614673_artikel-aufmacher-md_1ArrXe_1aQ3JB.jpg"; var widget= document.getElementById("if_widget1714159526"); var h3 = document.createElement("h3"); var shortspan = document.createElement("span"); var img = document.createElement("img"); var a = document.createElement("a"); var divclearer = document.createElement("div"); var titletext = document.createTextNode(title); var shorttext = document.createTextNode(short); var linktext = document.createTextNode("mehr auf inFranken.de"); var imgsrc = document.createAttribute("src"); var imgstyle = document.createAttribute("style"); var divclearerstyle = document.createAttribute("style"); var ahref = document.createAttribute("href"); var atarget= document.createAttribute("target"); imgsrc.nodeValue = thumb; imgstyle.nodeValue = "float:left;margin-right:10px;width:100px;"; ahref.nodeValue = "https://www.infranken.de/5159279"; divclearerstyle.nodeValue ="clear:both" ; atarget.nodeValue = "_blank"; h3.appendChild(titletext); shortspan.appendChild(shorttext); a.appendChild(linktext); a.setAttributeNode(ahref); a.setAttributeNode(atarget); divclearer.setAttributeNode(divclearerstyle); img.setAttributeNode(imgsrc); img.setAttributeNode(imgstyle); var astyle = document.createAttribute("style"); astyle.nodeValue = "display:block;margin-top:20px;"; a.setAttributeNode(astyle); widget.innerHTML=""; widget.appendChild(h3); widget.appendChild(img); widget.appendChild(shortspan); widget.appendChild(a); widget.appendChild(divclearer);