
var arr=[];

//Drumsticks
arr[1] = ["<a style='text-decoration:none' href='http://www.okanepoultry.com/recipes.html'><img title='Drumsticks' border='0' src='http://www.okanepoultry.com/images/drumsticks.jpg' class='imgml' /></a>"];

//Roast Chicken
arr[2] = ["<a style='text-decoration:none' href='http://www.okanepoultry.com/recipes.html'><img title='Roast Chicken' border='0' src='http://www.okanepoultry.com/images/roastchicken_m.png' class='imgml' /></a>"];

//Steaks in role
arr[3] = ["<a style='text-decoration:none' href='http://www.okanepoultry.com/recipes.html'><img title='Chicken Steaks in a fresh roll' border='0' src='http://www.okanepoultry.com/images/steaksinroll_m.jpg' class='imgml' /></a>"];


//Chicken olives
arr[4] = ["<a style='text-decoration:none' href='http://www.okanepoultry.com/recipes.html'><img title='Chicken Olives' border='0' src='http://www.okanepoultry.com/images/chickenolives_m.jpg' class='imgml' /></a>"];




var lasturl="0"; 
function recipeonload(){   var randNum = getRand();
document.getElementById("arr").innerHTML = arr[randNum]; 
}  
function getRand () {   var rnum;   
var id=Math.round(Math.random()*(arr.length-1));  
 rnum = id;   if (rnum==lasturl) { rnum = getRand(); }   
lasturl=rnum;   return rnum;  } 



//with optional linked text
//Roast Chicken
//arr[1] = ["<a style='text-decoration:none' href='http://www.thebigcomputercompany.com/OKanes/recipes.html'><img style='margin-left: //0px;' //title='Drumsticks' border='0' src='http://www.thebigcomputercompany.com/OKanes/images/roastchicken_m.png' class='imgml' />
//<span style='text-decoration:underline'>other links</span></a>"];

