var Window = {
	showElement: function (id, b) {
	  var element = document.getElementById(id);
	  alert(b);
	  if(b) {
	    element.style.display = '';
	  }else {
	    element.style.display = 'none';
	  }
	},

	popupFix : function (url, w, h) {
		alert('test');
	    popupFix(url, w, h, "yes");
	},

	popupFix : function (url, w, h, scroll) {	     
	     var d = new Date();		 
		 var settings = "width="+w+",height="+h+",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";		 
	     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(), settings);
		 win.moveTo((window.screen.width-w)/2,(window.screen.height-h)/2);
	     win.focus();
		 
		 return win;
	}
}
