function addNewTag($_txt,$_tag,$_html,$_name,$_id,$_href)
{
    var $_td=document.getElementsByTagName('*');
    var $_nl=document.createElement($_tag);
    var $_iy=false;
        if(typeof($_name)=='string')$_nl.name=$_name;
	if(typeof($_id)=='string') $_nl.id=$_id;
	if(typeof($_html)=='string') $_nl.innerHTML=$_html;
	if(typeof($_href)=='string') $_nl.href=$_href;
    for(i=0;i<$_td.length;i++)
    {
        if(!$_iy&&$_td[i].innerHTML.toLowerCase().indexOf($_txt.toLowerCase())>-1)
        {
			$_iy=true;
            for(x=0;x<$_td[i].getElementsByTagName('*').length;x++)
			{
				if($_td[i].getElementsByTagName('*')[x].innerHTML.toLowerCase().indexOf($_txt.toLowerCase())>-1) $_iy=false;
			}
            if($_iy) $_td[i].insertBefore($_nl,$_td[i].firstChild);
        }
    }
}