function get_current_year(b_return){
	var s_URL = window.location.href;
	a_matches = s_URL.match(/\.(aspx?|php|pl|cgi)/i);
	if (a_matches !== null){
		alert("get_current_year() in write-year.js\nYou should be using built in scripting of the " + a_matches[1] + " language for writing the date as it will not be affected by user browser capabilities.");
	}
	var newclock = new Date();
	var year = newclock.getFullYear();
	if((typeof b_return == 'undefined')||(b_return === 0)||(b_return === null)){
		document.write(year);
		return true;
	}
	else{
		return year;
	}
}
get_current_year();
