// JavaScript Document
//function calls up the webpage with the proper definition on it
//in the document body it is only necessary to do the following <a class="dictionary-link" onClick="dictionary('name_of_term_here')">name_of_term_here</a>
function dictionary(gohere)
{
//alert(gohere);
var directory = "includes/dictionary/"
var location = gohere
var suffix = ".php"
var url = directory+location+suffix
window.open(url, 'Dictionary', 'width=443,height=307,status=no,resizable=no,scrollbars=no')
//alert(url);
}

//The below function is for use when putting a hyperlink within a window called by the ablve function
function dictionary_internal(gohere)
{
//alert(gohere);
var directory = "http://www.flynewportri.com/includes/dictionary/"
var location = gohere
var suffix = ".php"
var url = directory+location+suffix
//alert(url);
window.location = url
}