
function relTags() 
{
	if (document.getElementsByTagName) 
	{
		var anchors = document.getElementsByTagName( "a" );
		for (var loop = 0; loop < anchors.length; loop++) 
		{
			var anchor = anchors[loop];
			
			if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "o") 
			{
				
				anchors[loop].onmouseover = function(){ 
				return addthis_open(this, '', this.href, this.title);
				}
				anchors[loop].onmouseout = function(){ 
				addthis_close();
				}
				anchors[loop].onclick = function(){ 
				addthis_close();
				}
			}
		    else if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "i") 
			{
				
				anchors[loop].onmouseover = function(){
				tooltip.show(this.title);				
				}
				anchors[loop].onmouseout = function(){ 
				tooltip.hide();
				}
				
				
			}

		}
	}
}	

window.onload = function() 
{
	relTags();
}


                                  