var scripts = document.getElementsByTagName('script');    var myScript = null;for( i = scripts.length-1; i >= 0; i--)if( scripts[i].src.indexOf( 'WidgetHtml.aspx') > 0 && scripts[i].src.indexOf( 'wishlist') < 0)    {     myScript = scripts[i];     break;    }       var myDiv = document.createElement('div');    myDiv.id = 'coolioWidget1408439081';    if( myScript != null)    myScript.parentNode.insertBefore( myDiv, myScript);    var contents = '';   contents += ("<style type=\"text/css\">");contents += (".coolioTitle:link, .coolioTitle:visited {");contents += ("color: #7FCE00;");contents += ("text-decoration: none;");contents += ("font-family:Verdana;");contents += ("font-weight:bold;");contents += ("}");contents += (".coolioTitle:hover {");contents += ("color: #FB6801;");contents += ("text-decoration: none;");contents += ("}");contents += (".coolioLink:link, .coolioLink:visited");contents += ("{");contents += ("color:#7FCE00;");contents += ("text-decoration:none;");contents += ("}");contents += (".coolioLink:hover");contents += ("{");contents += ("color: #FB6801;");contents += ("text-decoration: none;");contents += ("}");contents += ("</style>");contents += ("<!-- <ul> -->");contents += ("<div id=\"coolioMain\" style=\"list-style-type:none;background-color:Transparent;border-top:solid 0px #7FCE00;display:block;width:190px;\">");contents += ("<div id=\"widgettitle\" style=\"text-decoration:none;font-size:18px;font-family:Verdana;margin-left: 10px;\"><a id='coolioTitle' href='http://coolio.ro/' runat='server' class='coolioTitle'>Ultimele cumparaturi</a></div>");contents += ("<br style=\"clear:both\" />");contents += ("<!-- <li style=\"background: transparent url('http://coolio.ro/img/li.png') no-repeat top left;\"> -->");contents += ("<div style=\"margin-left:5px;padding:2px;\">");contents += ("<span style=\"float:left;margin: 0px 5px 0px 0px;\">");contents += ("<a href=\"http://coolio.ro/purchase/12258/carte-clay-shirky-cognitive-surplus-creativity-and-generos\" id=\"RepeaterPurchase_ctl00_A1\">");contents += ("<img id=\"RepeaterPurchase_ctl00_imageDefault\" src=\"http://coolio.ro/Image.aspx?id=12922&amp;type=vsmall\" style=\"border-width:0px;border-collapse:collapse;border:1px solid #7FCE00;\" />");contents += ("</a>&nbsp;");contents += ("</span>");contents += ("<span id=\"RepeaterPurchase_ctl00_text\" style=\"word-wrap: break-word;text-wrap: normal;width:55px;\"><a id='purchaseLink' class='coolioLink' href='http://coolio.ro/purchase/12258/carte-clay-shirky-cognitive-surplus-creativity-and-generos' runat='server'>Dragos a cumparat Carte Clay Shirky Cognitive Surplus: Creativity And Generosity In A Connected Age cu 50Euro pe 26 iulie 2010 de la Amazon.co.uk</a></span>");contents += ("</div>");contents += ("<!-- </li> -->");contents += ("<br style=\"clear:both\" />");contents += ("<!-- <li style=\"background: transparent url('http://coolio.ro/img/li.png') no-repeat top left;\"> -->");contents += ("<div style=\"margin-left:5px;padding:2px;\">");contents += ("<span style=\"float:left;margin: 0px 5px 0px 0px;\">");contents += ("<a href=\"http://coolio.ro/purchase/12250/filtru-aer-bosch\" id=\"RepeaterPurchase_ctl01_A1\">");contents += ("<img id=\"RepeaterPurchase_ctl01_imageDefault\" src=\"http://coolio.ro/Image.aspx?id=12915&amp;type=vsmall\" style=\"border-width:0px;border-collapse:collapse;border:1px solid #7FCE00;\" />");contents += ("</a>&nbsp;");contents += ("</span>");contents += ("<span id=\"RepeaterPurchase_ctl01_text\" style=\"word-wrap: break-word;text-wrap: normal;width:55px;\"><a id='purchaseLink' class='coolioLink' href='http://coolio.ro/purchase/12250/filtru-aer-bosch' runat='server'>morbidel a cumparat Filtru Aer Bosch cu 9Euro pe 14 iulie 2010 de la Ingaraj</a></span>");contents += ("</div>");contents += ("<!-- </li> -->");contents += ("<br style=\"clear:both\" />");contents += ("<!-- <li style=\"background: transparent url('http://coolio.ro/img/li.png') no-repeat top left;\"> -->");contents += ("<div style=\"margin-left:5px;padding:2px;\">");contents += ("<span style=\"float:left;margin: 0px 5px 0px 0px;\">");contents += ("<a href=\"http://coolio.ro/purchase/12249/bilet-avion-turkish-airlines-istanbul-teheran\" id=\"RepeaterPurchase_ctl02_A1\">");contents += ("<img id=\"RepeaterPurchase_ctl02_imageDefault\" src=\"http://coolio.ro/Image.aspx?id=12914&amp;type=vsmall\" style=\"border-width:0px;border-collapse:collapse;border:1px solid #7FCE00;\" />");contents += ("</a>&nbsp;");contents += ("</span>");contents += ("<span id=\"RepeaterPurchase_ctl02_text\" style=\"word-wrap: break-word;text-wrap: normal;width:55px;\"><a id='purchaseLink' class='coolioLink' href='http://coolio.ro/purchase/12249/bilet-avion-turkish-airlines-istanbul-teheran' runat='server'>andrei a cumparat Bilet Avion Turkish Airlines Istanbul-Teheran cu 200Euro pe 12 iulie 2010 de la Www.Thy.Com</a></span>");contents += ("</div>");contents += ("<!-- </li> -->");contents += ("<br style=\"clear:both\" />");contents += ("<!-- <li style=\"background: transparent url('http://coolio.ro/img/li.png') no-repeat top left;\"> -->");contents += ("<div style=\"margin-left:5px;padding:2px;\">");contents += ("<span style=\"float:left;margin: 0px 5px 0px 0px;\">");contents += ("<a href=\"http://coolio.ro/purchase/12247/mouse-logitech-vx-nano\" id=\"RepeaterPurchase_ctl03_A1\">");contents += ("<img id=\"RepeaterPurchase_ctl03_imageDefault\" src=\"http://coolio.ro/Image.aspx?id=12912&amp;type=vsmall\" style=\"border-width:0px;border-collapse:collapse;border:1px solid #7FCE00;\" />");contents += ("</a>&nbsp;");contents += ("</span>");contents += ("<span id=\"RepeaterPurchase_ctl03_text\" style=\"word-wrap: break-word;text-wrap: normal;width:55px;\"><a id='purchaseLink' class='coolioLink' href='http://coolio.ro/purchase/12247/mouse-logitech-vx-nano' runat='server'>apoclambda a cumparat Mouse Logitech Vx Nano cu 35Euro pe 12 iulie 2010 de la Forum Computer Games</a></span>");contents += ("</div>");contents += ("<!-- </li> -->");contents += ("<br style=\"clear:both\" />");contents += ("<!-- <li style=\"background: transparent url('http://coolio.ro/img/li.png') no-repeat top left;\"> -->");contents += ("<div style=\"margin-left:5px;padding:2px;\">");contents += ("<span style=\"float:left;margin: 0px 5px 0px 0px;\">");contents += ("<a href=\"http://coolio.ro/purchase/12246/laptop-notebook-apple\" id=\"RepeaterPurchase_ctl04_A1\">");contents += ("<img id=\"RepeaterPurchase_ctl04_imageDefault\" src=\"http://coolio.ro/Image.aspx?id=12911&amp;type=vsmall\" style=\"border-width:0px;border-collapse:collapse;border:1px solid #7FCE00;\" />");contents += ("</a>&nbsp;");contents += ("</span>");contents += ("<span id=\"RepeaterPurchase_ctl04_text\" style=\"word-wrap: break-word;text-wrap: normal;width:55px;\"><a id='purchaseLink' class='coolioLink' href='http://coolio.ro/purchase/12246/laptop-notebook-apple' runat='server'>apoclambda a cumparat Laptop/Notebook Apple cu 2359Euro pe 12 iulie 2010 de la Apple Store</a></span>");contents += ("</div>");contents += ("<!-- </li> -->");contents += ("<br style=\"clear:both\" />");contents += ("<br style=\"clear:both\" />");contents += ("</div>");contents += ("<!-- </ul> -->");document.getElementById("coolioWidget1408439081").innerHTML = contents;