function SenSaveCodes(){var DivSave=document.createElement('div'),
DivSaveBg=document.createElement('div'),
DivSaveBody=(document.body||document.getElementsByTagName('body')[0]);
DivSave.style.cssText='z-index:50001; width:40%; height:47%; position:absolute; top:25%; left:30%; margin:0px; border:1px #ccc solid; border-radius:5px; -moz-border-radius:5px; -ms-border-radius:5px; -webkit-border-radius:5px; -o-border-radius:5px; -khtml-border-radius:5px; text-align:right; direction:rtl; padding:10px; background:#ffffff; background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background:-moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); background:-webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); background:-o-linear-gradient(top,#ffffff 0%,#e5e5e5 100%); background:-ms-linear-gradient(top,#ffffff 0%,#e5e5e5 100%); background:linear-gradient(to bottom,#ffffff 0%,#e5e5e5 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#ffffff\',endColorstr=\'#e5e5e5\',GradientType=0); overflow:auto;';
DivSave.id='DivSave';
DivSave.innerHTML=SaveCode;
DivSaveBg.id='DivSaveBg';
DivSaveBg.style.cssText='display:block; background:rgba(0,0,0,.6); width:100%; height:100%; position:fixed; top:0; left:0; z-index:5000;';
DivSaveBg.onclick=function(){
this.parentNode.removeChild(this);
var DivSave=document.getElementById('DivSave'),
DivSaveBg=document.getElementById('DivSaveBg');
DivSave.parentNode.removeChild(DivSave);
DivSaveBg.parentNode.removeChild(DivSaveBg)};
DivSaveBody.appendChild(DivSaveBg);
DivSaveBody.appendChild(DivSave);
document.getElementById('SaveTextArea').value=EditBox.SenValueGet();
}
function CloseSenSaveCodes(){
var DivSave=document.getElementById('DivSave'),
DivSaveBg=document.getElementById('DivSaveBg');
DivSave.parentNode.removeChild(DivSave);
DivSaveBg.parentNode.removeChild(DivSaveBg);
}