function insertBookmarkList() {
 // ------------------------------------------ //
 // Version: This is version 1.1.4             //
 // Script by Claus Schmidt of http://clsc.net //
 //                                            //
 // Copyright: You have the right to copy this //
 // in fact you have to if you want to use it. //
 //                                            //
 // License: Creative commons,                 //
 //          Attribution-ShareAlike 2.0        //
 // ------------------------------------------ //


 // ------------------------------------------ //
 // To leave out a bookmark service just       //
 // comment out the relevant line below. You   //
 // do that by putting two slashes ("//") to   //
 // the left of "$theButtonList".              //
 //                                            //
 // For an example, look for the entry called  //
 // "Threadwatch" (this one will not be shown  //
 // unless you remove the slashes "//" to the  //
 // left of "$theButtonList".                  //
 //                                            //
 // You may also just delete the full two      //
 // lines for each service you don't need.     //
 //                                            //
 // Enjoy.                                     //
 // ------------------------------------------ //


 // define common stuff
    $theMessage = "";
    $theURL = encodeURIComponent(location.href); // location.href;
    $theTitle = encodeURIComponent(document.title) // document.title;
    $theDescription = "";

    if(window.getSelection)
    {
        $theDescription = encodeURIComponent(window.getSelection());
    }
    else if (document.getSelection)
    {
        $theDescription = encodeURIComponent(document.getSelection());
    }
    else if (document.selection && document.selection.createRange)
    {
        txt = document.selection.createRange().text;
        $theDescription = encodeURIComponent(txt);
    }
    else if(document.selection)
    {
        txt=document.selection.createRange().text;
        $theDescription = encodeURIComponent(txt);
    }

 //button list begin
    var $theButtonList = '<table width="*" border="0" cellspacing="0" cellpadding="0">';
	$theButtonList += '<tr>';
	// reddit
	$theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/reddit.com\/submit?url=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/reddit.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
// del.icio.us
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/del.icio.us\/post?url=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/delicious.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
// mixx
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/www.mixx.com\/submit?page_url=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/mixx.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
// entirely open sourcec
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/www.entirelyopensource.com\/submit?url=' + $theURL + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/entirelyopensource.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
// google
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/www.mixx.com\/bookmarks\/mark?op=edit&bkmk=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/google.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<\/tr><tr><td colspan="9" height="8"><\/td><\/tr><tr>';
// favorites live
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/favorites.live.com\/quickadd.aspx?url=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/live.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
// facebook
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/www.facebook.com\/sharer.php?u=' + $theURL + '&amp;t=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/facebook.png" border="0"><\/a><\/td><\/tr><\/table><\/td> ';
	$theButtonList += '<td width="10"><\/td>';
// stumbleupon
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/www.stumbleupon.com\/submit?url=' + $theURL + '&amp;title=' + $theTitle + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/stumbleupon.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<td width="10"><\/td>';
 // yahoo my web
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/myweb2.search.yahoo.com\/myresults\/bookmarklet?t=' + $theTitle + '&amp;u=' + $theURL + '"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/yahoo.png" border="0"><\/a><\/td><\/tr><\/table><\/td> ';
	$theButtonList += '<td width="10"><\/td>';
// joomladigger
    $theButtonList += '<td width="20" height="20" class="borders"><table width="20" height="20" cellspacing="0" cellpadding="0"><\/tr><td align="center" valign="middle"><a target="_blank" href="http:\/\/joomladigger.com"><img src="http:\/\/news.ert.gr\/local\/periferiaka_nea_imgs\/icons\/joomladigger.png" border="0"><\/a><\/td><\/tr><\/table><\/td>';
	$theButtonList += '<\/tr>';
	$theButtonList += '<\/table>';
	

 // IE bookmark
    var IEstring = '<li><a href="#bookmark"';
    IEstring +=  'onClick="javascript:window.external.AddFavorite(location.href,document.title)\;">';
    IEstring +=  'Bookmark in IE<\/a><\/li> ';
 // IE start page
    IEstring +=  '<li><a href="#startpage"';
    IEstring +=  'onClick="this.style.behavior=\'url(#default#homepage)\'\;this.setHomePage(location.href)\;">';
    IEstring +=  'Make this your start page<\/a><\/li>';

    var agt = navigator.userAgent.toLowerCase();
    var ieAgent = agt.indexOf('msie');

   // if (ieAgent != -1) {
   //     $theButtonList += IEstring;
    //}

 //button list end
    $theButtonList += '';

 // write list to page
   document.write($theButtonList);
}
