function czas(){

 var now = new Date()
 
 var Day = ((now.getDate()<10) ? "0" : "")+ now.getDate();
 var intMonth = now.getMonth() + 1;
 var Month = ((intMonth <10) ? "0" : "") + intMonth;
 var Year = now.getFullYear();

    if(Year <= 99)
        Year += 1900

    return  Day + "." + Month + "." + Year
}


function ulubione()
{
var nazwa = 'VBA.Mania - Visual Basic dla aplikacji';
var url = 'http://www.vbamania.pl';
if (window.external) window.external.AddFavorite(url, nazwa)
if (window.sidebar) window.sidebar.addPanel(nazwa, url, "");
} 



function ShowHideDIV(id) {
	  if (id != '') expMenu(id);
	 // if (id2 != '') expMenu(id2);
	}
	
	function expMenu(id) {
	  var itm = null;
	  if (document.getElementById) {
		itm = document.getElementById(id);
	  } else if (document.all){
		itm = document.all[id];
	  } else if (document.layers){
		itm = document.layers[id];
	  }
	
	   var is_confirmed ;
	  is_confirmed=confirm(itm.style.display);
	  	
	  if (!itm) {
	   // do nothing
	  }
	  else if (itm.style) {
	 
		if (itm.style.display == "none") { itm.style.display = ""; }
		else { itm.style.display = "none"; }
	  }
	  else { itm.visibility = "show"; }
	}
	
	
