<commit_before>
function startforrestbar()
{
	//alert("function init");
	if(document.getElementById("forrestbar").getAttribute("hidden") == "false")
	{
		removeEventListener ("load",startforrestbar, true); // Keep the event from firing a hundred more times.
	}
}

addEventListener("load", startforrestbar, true); // Run the startup function when the window loads
	
function navigate(url) {
	window._content.document.location.href = url;
}


/**************************/

function search(searchID)
{
	var searchItem = document.getElementById(searchID);
	navigate('http://www.google.com/search?q=' + searchItem.value);
}

function navProject(searchID) {
	var searchItem = document.getElementById(searchID);
	navigate(searchItem.selectedItem.value);
}

function navNews() {
	navigate('http://www.apache.org/foundation/news.html');
}

function navDownload() {
	navigate('http://www.apache.org/dyn/closer.cgi');
}

function navGumpNightly() {
	navigate('http://cvs.apache.org/builds/gump/latest/');
}
	
function navCode() {
	navigate('http://cvs.apache.org/viewcvs/');
}

function navTools() {
	navigate('http://nagoya.apache.org/');
}

function navLocalForrest() {
	navigate('http://127.0.0.1:8888/');
}

function navAskSam() {
	navigate('mailto:<EMAIL>');
}
<commit_msg>Asksam now links to the apache search engine.<commit_after>
function startforrestbar()
{
	//alert("function init");
	if(document.getElementById("forrestbar").getAttribute("hidden") == "false")
	{
		removeEventListener ("load",startforrestbar, true); // Keep the event from firing a hundred more times.
	}
}

addEventListener("load", startforrestbar, true); // Run the startup function when the window loads
	
function navigate(url) {
	window._content.document.location.href = url;
}


/**************************/

function search(searchID)
{
	var searchItem = document.getElementById(searchID);
	navigate('http://www.google.com/search?q=' + searchItem.value);
}

function navProject(searchID) {
	var searchItem = document.getElementById(searchID);
	navigate(searchItem.selectedItem.value);
}

function navNews() {
	navigate('http://www.apache.org/foundation/news.html');
}

function navDownload() {
	navigate('http://www.apache.org/dyn/closer.cgi');
}

function navGumpNightly() {
	navigate('http://cvs.apache.org/builds/gump/latest/');
}
	
function navCode() {
	navigate('http://cvs.apache.org/viewcvs/');
}

function navTools() {
	navigate('http://nagoya.apache.org/');
}

function navLocalForrest() {
	navigate('http://12172.16.17.32:8888/');
}

function navAskSam() {
	navigate('http://search.apache.org/');
}

{'fraction_non_alphanumeric': 0.18667699457784662, 'fraction_numerical': 0.009682416731216111, 'mean_word_length': 5.330882352941177, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4939647', 'n_tokens_mistral': 871, 'n_tokens_neox': 845, 'n_words': 143}