
function PokazUkryjObjekt(n,v) { //v1.0
  var v,obj;
{
 obj=document.getElementById(n);
  	if (obj.style) {
  		obj=obj.style;
  		v=(v=='show')?'visible':(v='hide')?'hidden':v;
  	}
	obj.visibility=v;
  }
}


function openWindow(documentName) {
   window.open(documentName, "open", "width=700,height=600,center,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0");
}

function resizeWindow(documentName,width) {
   window.open(documentName, "open", "width="+width+",height=530,center,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0");
}

function mapWindow(documentName) {
   window.open(documentName, "open", "width=400,height=250,center,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0");
}

