User:Afaprof01/sandbox3.js

// http://www.remnantnewspaper.com/Archives/archive-2007-0831-ecumenical_dialogue.htm

function biggest(a,b,c){ biggun=a; // start by assuming first is biggest if(b>biggun){biggun=b;} if(c>biggun){biggun=c;} return biggun; }

document.write('biggest is '+biggest(6,9,5)); addOnloadHook( function {     addTab("javascript:biggest((6,9,5))", "calc", "ca-calc", "Mark for calc", "");  } ); //