initialize2 = function(){
	//return(false);
	var markocska  = createElement('a', {id:'stlb', href:'http://www.startlap.hu/sajat_linkek/addlink.php?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), innerHTML:'<img alt="Add a Startlaphoz" src="http://aprodr.hu/bookmark.png" border="0"/>', onclick:function(){return false;}});
	appendChild($('bookmarks'), markocska);
	node = $('stlb');
	if(node.addEventListener){
		node.addEventListener("click",bm,false);
	}
	else{
		if(node.attachEvent){
			node.attachEvent("onclick",bm);
		}
		else{
			node.onclick = bm;
		}
	}
	return;
}
bm = function(){
	window.open('http://www.startlap.hu/sajat_linkek/addlink.php?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));
	return false;
}
createElement = function(e, obj){
	var element = document.createElement(e);
	for(prop in obj)
	{
		element[prop] = obj[prop];
	}
	return element;
}

appendChild = function(){
	if(this.appendChild.arguments.length > 1){
		var a = this.appendChild.arguments[0];
		for(i=1; i<this.appendChild.arguments.length; i++){
			if(arguments[i]){			
				a.appendChild(this.appendChild.arguments[i]);
			}
		}
		return a;
	}
	else{
		return null;
	}
}
