function on(nos) {
	if (document.images) {
	document[nos].src = eval(nos + "on.src"); } }

function off(nos) {
	if (document.images) {
	document[nos].src = eval(nos + "off.src"); } }

function change_top_menu_bg (p_object, p_on) {
    if (p_on == true) {
        p_object.style.backgroundColor = "#BCBCBC"; // #EAEAEA  #C5C3C6
    } else {
        p_object.style.backgroundColor = "#168b96";
    }

   return true;
}
function daysInMonth(iMonth, iYear){ 
  return 32 - new Date(iYear, iMonth, 32).getDate();
}
function isIE() {
	var b = getBrowser();
	if(/msie (\d)/.test(b)) {
		return true;
	}
	else
		return false;
}
function getBrowser() {
	var ua=navigator.userAgent.toLowerCase();
	return ua;
}

function openInNewWindow(link,target) {
  var newWindow = window.open(link, target);
  newWindow.focus();
  return false;
}
