function fouringredients(){

var number_adj = 26 
var number_noun = 25
var number_past = 48
var number_a_the = 1 
var number_stylee = 17
number_format = 1 

var which_noun_un_1 = Math.random()*number_noun 
var which_noun_1 = Math.round(which_noun_un_1) 

var which_adj_un_1 = Math.random()*number_adj 
var which_adj_1 = Math.round(which_adj_un_1) 

var which_noun_un_2 = Math.random()*number_noun 
var which_noun_2 = Math.round(which_noun_un_2) 

var which_adj_un_2 = Math.random()*number_adj 
var which_adj_2 = Math.round(which_adj_un_2) 

var which_paste_un_1 = Math.random()*number_past 
var which_past_verb_1 = Math.round(which_paste_un_1) 

var which_paste_un_2 = Math.random()*number_past 
var which_past_verb_2 = Math.round(which_paste_un_2)

var which_paste_un_3 = Math.random()*number_past 
var which_past_verb_3 = Math.round(which_paste_un_3)

var which_a_the_un = Math.random()*number_a_the 
var which_a_the = Math.round(which_a_the_un) 

var which_format_un = Math.random() * number_format 
var which_format = Math.round(which_format_un) 

var which_stylee_un = Math.random() * number_stylee 
var which_stylee = Math.round(which_stylee_un) 

var xx1 = (1 + Math.round(Math.random() * 10)) * 200
var xx2 = 1 + Math.round(Math.random() * 3)
var xx3 = 1 + Math.round(Math.random() * 4)
var xx4 = 1 + Math.round(Math.random() * 2)

var noun = new Array(number_noun) 
noun[0] = "chicken necks"; 
noun[1] = "lean beef"; 
noun[2] = "prawns"; 
noun[3] = "organic tofu"; 
noun[4] = "tinned pea soup"; 
noun[5] = "Spam"; 
noun[6] = "pork chops"; 
noun[7] = "skinless chicken breast"; 
noun[8] = "Mars Bars"; 
noun[9] = "baked beans"; 
noun[10] = "sausage"; 
noun[11] = "rump steak"; 
noun[12] = "lamb chops"; 
noun[13] = "leg of lamb"; 
noun[14] = "fish fingers"; 
noun[15] = "frozen pizza"; 
noun[16] = "chicken noodle soup"; 
noun[17] = "tinned mushroom soup"; 
noun[18] = "boiled potato" ;
noun[19] = "banana" ;
noun[20] = "skinless turkey breast";
noun[21] = "bacon" ;
noun[22] = "oysters";
noun[23] = "asparagus";
noun[24] = "tuna steaks";
noun[25] = "tinned tuna chunks";

var a_the = new Array(number_a_the) 
a_the[0] = "a"; 
a_the[1] = "the"; 

var past_verb = new Array(number_past) 
past_verb[0] = "Home Brand Ras el Hanout"; 
past_verb[1] = "basil"; 
past_verb[2] = "strawberry yoghurt"; 
past_verb[3] = "pine nuts"; 
past_verb[4] = "minced garlic"; 
past_verb[5] = "minced ginger"; 
past_verb[6] = "cornflakes"; 
past_verb[7] = "cocoa pops"; 
past_verb[8] = "Copha"; 
past_verb[9] = "Ice Magic"; 
past_verb[10] = "tomato sauce"; 
past_verb[11] = "Gravox"; 
past_verb[12] = "pesto"; 
past_verb[13] = "parmesan cheese"; 
past_verb[14] = "shredded iceberg lettuce"; 
past_verb[15] = "tomato"; 
past_verb[16] = "carrot"; 
past_verb[17] = "barbecue sauce"; 
past_verb[18] = "hoisin sauce"; 
past_verb[19] = "tinned spaghetti";
past_verb[20] = "parsley";
past_verb[21] = "breadcrumbs";
past_verb[22] = "boiled egg";
past_verb[23] = "ham";
past_verb[24] = "chocolate buds";
past_verb[25] = "pineapple";
past_verb[26] = "apple";
past_verb[27] = "champagne";
past_verb[28] = "lemon rind";
past_verb[29] = "Minties";
past_verb[30] = "mushrooms";
past_verb[31] = "beer";
past_verb[32] = "cabbage";
past_verb[33] = "butter";
past_verb[34] = "lemon";
past_verb[35] = "cornflour";
past_verb[35] = "fish fingers";
past_verb[36] = "extra virgin olive oil";
past_verb[37] = "margarine";
past_verb[38] = "Cool Whip";
past_verb[39] = "Tim Tams"; 
past_verb[40] = "sage";
past_verb[41] = "bay leaves";
past_verb[42] = "celery";
past_verb[43] = "beef stock cubes";
past_verb[44] = "salt";
past_verb[45] = "sugar";
past_verb[46] = "allspice";
past_verb[47] = "lime juice";
past_verb[48] = "Mentos";

var adj = new Array(number_adj) 
adj[0] = "Blend together"; 
adj[1] = "Beat together"; 
adj[2] = "Slice then mix" ;
adj[3] = "Barbecue then slice";
adj[4] = "Finely slice"; 
adj[5] = "Marinate"; 
adj[6] = "Liquify";
adj[7] = "Marinate ingredients overnight then slice";
adj[8] = "Shred"; 
adj[9] = "Crush"; 
adj[10] = "Mix"; 
adj[11] = "Bake"; 
adj[12] = "Steam"; 
adj[13] = "Barbecue"; 
adj[14] = "Microwave"; 
adj[15] = "Grill"; 
adj[16] = "Roast";
adj[17] = "Par-boil";
adj[18] = "Batter then fry";
adj[19] = "Blend";
adj[20] = "Pour into a well-greased baking tin, then bake";
adj[21] = "Coat in flour, then fry";
adj[22] = "Deep fry";
adj[23] = "Shallow fry";
adj[24] = "Grill";
adj[25] = "Boil";

var stylee = new Array(number_stylee)
stylee[0] ="Salt and Pepper";
stylee[1] ="Asian-style";
stylee[2] ="Chinese-style";
stylee[3] ="Mediterranean";
stylee[4] ="Quick and Easy";
stylee[5] ="Cheap";
stylee[6] ="African-inspired";
stylee[7] ="Moroccan-spiced";
stylee[8] ="Authentic Mexican";
stylee[9] ="Quick";
stylee[10] ="Fast";
stylee[11] ="Authentic";
stylee[12] ="European-style";
stylee[13] ="Brazilian";
stylee[14] ="Easy";
stylee[15] ="Middle Eastern";
stylee[16] ="Tasty";
stylee[17] ="Caramelised";

document.write('<h2>'+stylee[which_stylee] + ' ' + noun[which_noun_1] + ' with ' + past_verb[which_past_verb_1] + '</h2>')
document.write("<h3>Ingredients:</h3><ul><li>" + xx1 + " grams of " +noun[which_noun_1] +'</li><li>' + xx2 + ' tablespoons of ' + past_verb[which_past_verb_1] + '</li><li>' + xx3 + ' tablespoons of ' + past_verb[which_past_verb_2] + '</li><li>' + xx4 + ' tablespoons of ' + past_verb[which_past_verb_3] + '</ul><p>1.');
document.write(adj[which_adj_1]  + 
' the ' + noun[which_noun_1] +
', ' + past_verb[which_past_verb_1] + 
', ' + past_verb[which_past_verb_2] + 
' and the ' + past_verb[which_past_verb_3] + 
'</p><p>2. '+ adj[which_adj_2] + ' for an hour.</p><p> Serves 4.</p>' );

}