

function createViewLink(url) {
	if (navigator.appName.indexOf("Netscape") != -1) {
		// i.e. Mozilla, Firefox
		document.write('<a class="view" href="#' + url + '" onClick="' + url + '">');
	} else {
		document.write('<a class="view" href="' + url + '">');
	}
}

function createViewLinkWithOverlib(url, mouseover, mouseout) {
	url = url.replace(/\\/g, "\\\\");
	
	if (navigator.appName.indexOf("Netscape") != -1) {
		// i.e. Mozilla, Firefox
		document.write('<a class="view" href="#' + url + '" onClick="' + url + '"');
	} else {
		document.write('<a class="view" href="' + url + '"');
	}
	document.write(' onmouseover="' + mouseover + '" onmouseout="' + mouseout + '"');
	document.write(">");
}
