function _find(tagname, attributes)
{
	var l = document.getElementsByTagName(tagname);
	for(var i = 0; i < l.length; i++)
	{
		if(l.item(i).getAttribute(attributes[0]) == attributes[1])
			return l.item(i);
	}
	return null;
}

