<script src="includes/js/jquery/plugins/jquery.plugin.js"></script>
<script src="includes/js/jquery/plugins/jquery.tableSelector.js"></script>
<script src="includes/js/imodal/imodal.js"></script>
<script src="includes/js/jquery/plugins/jquery.window.js"></script>
<script src="includes/js/jquery/plugins/jquery.window-extensions.js"></script>
<link rel="stylesheet" href="includes/js/imodal/imodal.css" type="text/css" media="screen">
 <div id="editorTemplate">
</div>
<script>
function ShowTemplate(editor) { 
 
		    // document.getElementById("editorTemplate").style.display = "";
			$.ajax({
			type: "GET",
			url: "index.php?Page=newsletters&Action=getEditor&editor="+editor,
			success: function(data) {
				document.getElementById("editorTemplate").innerHTML='<td width="200" class="FieldLabel">{template="Not_Required"}%%LNG_ChooseTemplate%%:	</td><td>'+data+'</td>';
			}
		});	 
	 
	}
	 </script>