var isClosed = false;

if(isClosed)
	load(dom+'/closed.html');	

function load(url) {
  parent.location.href= url;
}