
 <!------------
function makeWin(url) {
	if ((navigator.appName.indexOf("Microsoft") != -1) || (2 < (navigator.appVersion + "3").charAt(0))) {
		currentPage = document.URL
//		url         = url + "?referpage=" + currentPage;
		windowName  = "WindRiverCountry";
		params      = "toolbar=0,";
		params     += "location=0,";
		params     += "directories=0,";
		params     += "status=0,";
		params     += "menubar=0,";
		params     += "scrollbars=1,";
		params     += "resizable=1,";
		params     += "width=450,";
		params     += "height=400";
		win = window.open(url, windowName, params);
		if (!win.opener) {
			win.opener = window;
		}
	}
}

function getYear(d) { 
  return (d < 1000) ? d + 1900 : d;
  }

function isDate (year, month, day) {
  // month argument must be in the range 1 - 12
  month = month - 1;  // javascript month range : 0- 11
  var tempDate = new Date(year,month,day);
  if ( (getYear(tempDate.getYear()) == year) &&
     (month == tempDate.getMonth()) &&
     (day == tempDate.getDate()) )
      return true;
  else
     return false
  }

//--------->



