var Window = {
	showElement : function (id, b) {
	  var element = document.getElementById(id);	  
	  if(b) {
	    element.style.display = '';
	  }else {
	    element.style.display = 'none';
	  }
	},

	popupFix : function (url, width, height) {
	     popupFix(url, width, height, 1)
	},

	popupFix : function (url, width, height, scrollbars) {
	     scrollbars = (scrollbars == 1) ? "yes" : "no";
	     var d = new Date();
	     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(),"resizable=no,height="+height+",width="+width+",scrollbars="+scrollbars);
		 win.moveTo((window.screen.width-width)/2,(window.screen.height-height)/2);
	     win.focus();
		 
		 return win;
	}
}