/*************
* Print tool
*************/
function showPrint(path) {
	var printLayer = document.getElementById("content");
	var head = document.getElementsByTagName('head');
	newWindow = window.open( "", "", "width=700, height=800,location=no,toolbar=no,menubar=no");
	newWindow.document.writeln("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>");
	newWindow.document.writeln("<html><head> <!-- test -->");
	newWindow.document.writeln( head[0].innerHTML);
	newWindow.document.writeln("</head><body>");
	newWindow.document.writeln("<div id='content' class='printLayer'>");
	newWindow.document.writeln( printLayer.innerHTML);
	newWindow.document.writeln("</div>");
	newWindow.document.writeln("</body>");
	newWindow.document.writeln("</html>");
	if (navigator.appName=="Netscape" || navigator.appName=="Mozilla"){   
			newWindow.document.close();
		} else {
			newWindow.document.location.reload();
	}
	newWindow.print();

	//dummyWindow = window.open(path + "/printHit.html?" + document.location, "printHit", "height=1, width=1, top=2000, location=no,toolbar=no,menubar=no");
}
/*************
* Set Bookmark
*************/
function setBookmark() {
	var url = parent.document.location.href;
	var title = document.title;
	if (navigator.appName.indexOf("Explorer")>-1) {
		window.external.AddFavorite(url, title);
	} else {
		window.sidebar.addPanel(title, url, "");
	}
}

