HtmlElement he;
for(int i=0;i<20;i++)
{
if(instance.ActiveTab.FindElementsByAttribute("a","class","takru","regexp").Count>0)
{
Random rnd = new Random();
int x=rnd.Next(0,instance.ActiveTab.FindElementsByAttribute("a","class","takru","regexp").Count-1);
he = instance.ActiveTab.FindElementByAttribute("a","class","takru","regexp",x);
if(!he.IsVoid)
{
he.RiseEvent("onclick","full");
break;
}
}
System.Threading.Thread.Sleep(2000);
}
return "";