User:Ockham/sandbox

MyWikiBiz, Author Your Legacy — Monday November 25, 2024
< User:Ockham
Revision as of 14:53, 31 October 2009 by Ockham (talk | contribs)
Jump to navigationJump to search

<embed> function siteSearch (website, expression ) {

  var new_url= "http://www.google.com/search?hl=en&q=" + expression + "+site%3Ahttp%3A%2F%2F" + website + "&meta=";
  if (  (new_url != "")  &&  (new_url != null)  )

{ if (website == "Google") {

     	new_url = "http://www.google.com/search?hl=en&q=" + expression

} window.location= new_url; }

  else
     alert("\nYou must make a selection.");

}

function searchPerseus (expression ) { var new_url= "http://www.perseus.tufts.edu/cgi-bin/morphindex?lookup=" + expression + "&.submit=Analyze+Form&lang=la&formentry=1";

     window.location= new_url;

}

function getSumma (Book, Quaestio, Articulus) {

  var new_url;
           if (Quaestio < 100) {
                       Book = Book + "0"}
     new_url = "http://www.newadvent.org/summa/"+ Book + "0900.htm";

window.location= new_url; }

</embed>