/*
HTMl, Javascript, Css format for Emeditor
---------------
$Date: 2008-08-02 23:32:18
Written by KevinYuan whyork@21cn.com
You are free to use this in any way you want
feature:
1> Format HTML, Javascript, CSS ,XML
2> Format HTML with inline CSS, Javascript
!Caution:
1> Javascript is the only script tag which supported
2> If you want format with perfect result, make sure your source HTMl code with XHTML protocal compatible.
*/
var indentCount = 0;
var StyleBlock = [];
var ScriptBlock = [];
var CommentBlock = [];
var style_tag = /