// create content node
var kdeWidgetContent = document.createElement("div");
kdeWidgetContent.setAttribute("id", "kdeWidgetContent");
document.getElementById("kdeWidget").appendChild(kdeWidgetContent);


// insert content
kdeWidgetContent.innerHTML = '<div><strong>Anzahl Sterne:</strong> 4.5 von 5<br/><strong>Anzahl Bewertungen:</strong> 18</div><h4>Die letzten 5 Bewertungen</h4><ul><li ><strong>Hausumbau, Unterrieden...</strong>Wir sind von einer Mietwohnung in eine eigene Doppelhaush&auml;lfte u... <a href="http://www.kennstdueinen.de/zimmerei-witzenhausen-holz-und-lehmbau-christof-wanderer-gmbh-einer-alles-sauber-d31545.html#id95385" target="_blank" title="Lesen Sie die vollst&auml;ndige Bewertung von &quot;Holz- und Lehmbau Christof Wanderer GmbH - Einer.Alles.Sauber &reg;&quot; auf KennstDuEinen.de">[mehr]</a><i>(26.12.11)</i></li><li ><strong>Dachd&auml;mmung und Ausbau...</strong>Eigentlich sollte NUR das unrenovierte, k&uuml;hle Dachgeschoss unser... <a href="http://www.kennstdueinen.de/zimmerei-witzenhausen-holz-und-lehmbau-christof-wanderer-gmbh-einer-alles-sauber-d31545.html#id83209" target="_blank" title="Lesen Sie die vollst&auml;ndige Bewertung von &quot;Holz- und Lehmbau Christof Wanderer GmbH - Einer.Alles.Sauber &reg;&quot; auf KennstDuEinen.de">[mehr]</a><i>(18.09.11)</i></li><li ><strong>Hat alles gut geklappt</strong>Ich habe mich f&uuml;r eine Bauma&szlig;nahme, die ich selbst durchf&uuml;hre, v... <a href="http://www.kennstdueinen.de/zimmerei-witzenhausen-holz-und-lehmbau-christof-wanderer-gmbh-einer-alles-sauber-d31545.html#id74942" target="_blank" title="Lesen Sie die vollst&auml;ndige Bewertung von &quot;Holz- und Lehmbau Christof Wanderer GmbH - Einer.Alles.Sauber &reg;&quot; auf KennstDuEinen.de">[mehr]</a><i>(20.07.11)</i></li><li ><strong>Einzigartig, absolut e...</strong>&quot;Einer-Alles-Sauber&quot; war in unserem Haus in Bad Sooden-Allendorf... <a href="http://www.kennstdueinen.de/zimmerei-witzenhausen-holz-und-lehmbau-christof-wanderer-gmbh-einer-alles-sauber-d31545.html#id70185" target="_blank" title="Lesen Sie die vollst&auml;ndige Bewertung von &quot;Holz- und Lehmbau Christof Wanderer GmbH - Einer.Alles.Sauber &reg;&quot; auf KennstDuEinen.de">[mehr]</a><i>(15.06.11)</i></li><li class="last"><strong>Die Jungs habens richt...</strong>250 Jahre altes Fachwerkhaus (Eiche) hatte diverse neue Schwelle... <a href="http://www.kennstdueinen.de/zimmerei-witzenhausen-holz-und-lehmbau-christof-wanderer-gmbh-einer-alles-sauber-d31545.html#id67678" target="_blank" title="Lesen Sie die vollst&auml;ndige Bewertung von &quot;Holz- und Lehmbau Christof Wanderer GmbH - Einer.Alles.Sauber &reg;&quot; auf KennstDuEinen.de">[mehr]</a><i>(21.05.11)</i></li></ul>';


// insert styles
var styleDefinitions = '/* basic styles */  #kdeWidgetLogo, #kdeWidgetLogo *, #kdeWidget, #kdeWidget * { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif !important; font-size: 11px !important; font-style: normal !important; font-weight: normal !important; color: black !important; line-height: 15px !important; white-space: normal !important; background-image: none !important; margin: 0px !important; padding: 0px !important; border: 0px !important; overflow: hidden !important; background-color: white !important; text-indent: 0px; text-align: left; }   #kdeWidgetLogo, #kdeWidgetLogo * { background-color: transparent !important; }  #kdeWidgetLogo { display: block !important; width: 163px !important; }  #kdeWidgetLogo img { margin-bottom: 8px !important; }   #kdeWidget { border: 1px solid #ccf2d7 !important; }  #kdeWidgetHeader { background-color: #eaf8e6 !important; padding: 8px !important; color: #3abc01 !important; height: auto !important; }  #kdeWidget a { color: #3abc01 !important; text-decoration: underline; background-color: #eaf8e6 !important; }  #kdeWidget a:hover { text-decoration: none; }  #kdeWidgetContent div { padding: 8px !important; border-top: 1px solid #ccf2d7 !important; border-bottom: 1px solid #ccf2d7 !important; }  #kdeWidgetContent div.nodata { border-bottom: none !important; }  #kdeWidgetContent div strong { font-weight: bold !important; }  #kdeWidgetContent h4 { color: #3abc01 !important; padding: 8px !important; background-color: #eaf8e6 !important; border-bottom: 1px solid #ccf2d7 !important; }  #kdeWidgetContent ul { list-style-type: none; }  #kdeWidgetContent ul li { display: block; }  #kdeWidgetContent ul li.last { border: none !important; }  #kdeWidgetContent ul li strong { display: block; font-weight: bold !important; }  #kdeWidgetContent ul li a { background-color: white !important; }  #kdeWidgetContent ul li i { display: block; padding-top: 4px !important; font-style: italic !important; } /* vertical styles */  #kdeWidgetContent ul li { border-bottom: 1px dotted #ccf2d7 !important; padding: 8px !important; }  #kdeWidgetContent ul li strong { padding-bottom: 2px !important; } /* blue styles */  #kdeWidget { border-color: #ccebf2 !important; }  #kdeWidgetHeader { background-color: #e6f5f8 !important; color: #019abc !important; }  #kdeWidget a { color: #019abc !important; background-color: #e6f5f8 !important; }  #kdeWidgetContent div { border-color: #ccebf2 !important; }  #kdeWidgetContent h4 { color: #019abc !important; background-color: #e6f5f8 !important; border-color: #ccebf2 !important; }  #kdeWidgetContent ul li { border-color: #ccebf2 !important; }';

var styleElement = document.createElement('style');
styleElement.setAttribute("type", "text/css");

// is it IE?
if (styleElement.styleSheet) {

	// yes
	styleElement.styleSheet.cssText = styleDefinitions;
}
else {

	// no
	var tt1 = document.createTextNode(styleDefinitions);
	styleElement.appendChild(tt1);
}

document.getElementById("kdeWidget").parentNode.insertBefore(styleElement, document.getElementById("kdeWidget").nextSibling);
