function addSiteToBrowser(containerId) {

  var container = document.getElementById(containerId);


var szablon = '<img src="styles/graphics/dodaj_ico.gif" width="15" height="13"> {ULUBIONE} <img src="styles/graphics/startuj_ico.gif" width="15" height="13"> {STARTOWA} ';

var adres = 'http://www.brzozowiak.pl';
var tytul = 'brzozowiak.pl - serwis ogloszeniowy';
var ulubione = 'dodaj do ulubionych';
var startowa = 'startuj z nami';
var szablon_old = '{ULUBIONE}<br />{STARTOWA}'


if (adres.toLowerCase().indexOf('http://') != 0) adres = 'http://' + adres;
var przegladarka = navigator.userAgent;
var ie_ver = 0;
if (przegladarka.indexOf("MSIE") != -1 && przegladarka.indexOf(") ") == -1) ie_ver = parseInt(przegladarka.substring(przegladarka.indexOf("MSIE")+5));


//if (ie_ver >= 4) document.write(szablon.replace(/\{ULUBIONE\}/, '<a href="javascript:void(0)" class="bread" title="Dodaj strone do ulubionych" onclick="window.external.addFavorite(\'' + adres + '\', \'' + tytul + '\'); return false" onmouseover="window.status=\'Dodaj strone do ulubionych\'; return true" onmouseout="window.status=\'\'; return true">' + ulubione + '<'+'/a>').replace(/\{STARTOWA\}/, '<a href="javascript:void(0)" class="bread" title="Ustaw strone jako startowa" onclick="this.style.behavior=\'url(#default#homepage)\'; this.setHomePage(\'' + adres + '\'); return false" onmouseover="window.status=\'Ustaw strone jako startowa\'; return true" onmouseout="window.status=\'\'; return true">' + startowa + '<'+'/a>'));
if (ie_ver >= 4) container.innerHTML = szablon.replace(/\{ULUBIONE\}/, '<a href="javascript:void(0)" class="bread" title="Dodaj stronę do ulubionych" onclick="window.external.addFavorite(\'' + adres + '\', \'' + tytul + '\'); return false" onmouseover="window.status=\'Dodaj strone do ulubionych\'; return true" onmouseout="window.status=\'\'; return true">' + ulubione + '<'+'/a>').replace(/\{STARTOWA\}/, '<a href="javascript:void(0)" class="bread" title="Ustaw stronę jako startową" onclick="this.style.behavior=\'url(#default#homepage)\'; this.setHomePage(\'' + adres + '\'); return false" onmouseover="window.status=\'Ustaw strone jako startowa\'; return true" onmouseout="window.status=\'\'; return true">' + startowa + '<'+'/a>');


}


