function show(state) {

	document.getElementById('window').style.display = state;			
	document.getElementById('wrap').style.display = state; 			
}

function show(state) {
	document.getElementById('window').style.display = state;			
	document.getElementById('wrap').style.display = state; 			
}

Update debug.js