 selectedTab = findTabWithAttr("tabid",tabid);
	$(selectedTab).addClass("focused");
	var corrispondingCodingTab = $(selectedTab).attr("framematch");
	var targetFrame = $("#" + corrispondingCodingTab);
	targetFrame.show();
	if (selectedTab.attr("filename") != undefined){
		document.title = "NotepadA ‚ÄÉ 	 üìù " + selectedTab.attr("filename");
	}else{
		document.title = "NotepadA ‚ÄÉ 	 üìù newfile";
	}
	
}

function findTabWithAttr(attr,value){
	return $('div['+attr+'="'+value+'"]').each(f