var add = '';
if(typeof kolor != 'undefined'){
  add += '&k='+kolor;
}

if(typeof tytul != 'undefined'){
  add += '&t='+tytul;
}

if(typeof pozycja != 'undefined'){
  add += '&p='+pozycja;
}

if(typeof button == 'undefined'){
  var button = '1';
}

if(typeof zrodlo != 'undefined')
	document.write('<a href="http://www.startowy.com/dodajrss.html?zrodlo='+zrodlo+add+'" title="Dodaj do Startowy.com" target="_blank"><img src="http://img.startowy.com/buttons/'+button+'.gif" style="border:none;"></a>');
else
	document.write('<a href="http://www.startowy.com/" title="Dodaj do Startowy.com" target="_blank"><img src="http://img.startowy.com/buttons/'+button+'.gif" style="border:none;"></a>');