height",$(document).height() - 38);
	});
}

function checkTabSaved(framematch){
	if (typeof $("#" + framematch)[0].contentWindow.checkIsSaved !== "undefined") { 
		var result = $("#" + framematch)[0].contentWindow.checkIsSaved();
		return result;
	}
}

$( window ).resize(function() {
	adjustCodeAreaHeight();
	toggleFileTabsList();
});

function showFullTabMenu(){
	$("#tabList").slideToggle('fast');
}

var inList = false;
function toggleFileTabsList(){
	//Check if the width of the container is enough for hol