
//Here is the loginrqst.js file
var LOGIN_URL = "/login/index.php"
function loginFunc() {
	confirmStr = "To Collect items in this module you need to log-in.\n"
		+ "   Do you wish to login now?\n"
		+ "   (Cancel for no)";
	if(confirm(confirmStr)) {
		location.href = LOGIN_URL;
	} else {
		alert("If you decide to Collect items, \n"
		+ "use the log-in strip located "
		+ "at the bottom of the page to log-in "
		+ "or to get a free account.");
	}
}
