// JavaScript

// Write text
function wrt(text) {
document.write(text);
}

// Write the given text and make it be a
// link to a web search for the given keywords.
// If sep = 1, add a separator (comma).
function link(text, keywords, sep) {
url = "http://www.google.com/search?hl=en&q=";
keywords2 = keywords.replace(/ /g,"+").replace(/"/g,"%22");
document.write('<a class="no-dec" target="ref" href="' + url + keywords2 + '">'+text+'<\/a>');
if (sep==1) {
	document.writeln(', ');
}
}
