var allA=document.getElementsByTagName('a');
for(i=0;i<allA.length;i++)
{
	if(allA[i].href.match('http://www.youtube.')){allA[i].rel='vidbox';}
}

