100);
		if (openedFilePath.indexOf(data) == -1){
			openedFilePath.push(data);
		}
		setStorage("sessionFiles",JSON.stringify(openedFilePath));
    });
}


function getSelectedText(){
    var id = getFocusedTab()[0];
    var text = $("#" + id)[0].contentWindow.getSelectedText();
    return text;
}

function insertText(text){
    var id = getFocusedTab()[0];
    var text = $("#" + id)[0].contentWindow.insertGivenText(text);
}


function adjustCodeAreaHeight(){
	$(".editor").each(function(i) {
		$(this).css("