TWO friends from Dewsbury discussed a plan to blow up members of the British National Party, a court heard yesterday.

Dabeer Hussain and Waris Ali, now both 18, researched bomb making techniques from "recipes" on the internet, Leeds Crown Court heard.

The teenagers, former school friends at Westborough High School, are accused of possessing a terrorism manual called the Anarchists’ Cookbook on their computers.

The court heard they discussed a plan to spy on and blow up members of the far right political group. Ali was said to nurture a particular dislike of the BNP, the court heard.

Ali had bought "significant" amounts of potassium nitrate and calcium chloride – on eBay and stored the chemicals under his bed and sofa In a three-month period Ali bought three-and-a-half kilograms of potassium nitrate, the court was told. From March this year he began to "buy chemicals in bulk", the jury was told.

Prosecuting counsel, Annabel Darlow, said the manual set out how to make a variety of explosive devices, including pipe bombs and fertiliser bombs.

She said the plan was "no hoax or schoolboy prank" but a 3,000-page manual on how to prepare, commission and instigate acts of terrorism. She said: "What we consider are a set of instructions, if followed out, would allow someone with no great expertise to produce something which could kill or maim."

The court was told MSN messages revealed the teenagers discussing surveillance techniques and how to plant a listening device in someone’s house.

Hussain said in one message: "Find out where they all hang out (BNP) (and) we blow them all up." Ali, who used the username ’everything is fair in love and war’ replied: "You are one f****d up fella."

Ali, of Dearnley Street, Ravensthorpe, denies three counts of possession of an article for a terrorist purpose between May 2006 and September 2007.

Hussain, of Clarkson Street, Ravensthorpe, denies one count of possession of an article for a terrorist purpose.

The trial continues.