.NET to Javascript compiler

C# code   Html page   Start
public class SplitterApp
{
    public static void Start()
    {
        HtmlElement outer = HtmlDocument.Current.GetElementById("outer");

        for (int i = 0; i < outer.Children.Length; i++)
        {
            new Splitter(false, 0.2 * (i + 1)) { Element = outer.Children[i] };
        }

        new Splitter(true, 0.4, 0.2) { Element = outer };

        GridApp.ResizeMainElement(outer);
    }
}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow:hidden;width:100%;height:100%">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
    <meta http-equiv="x-ua-compatible" content="IE=11;IE=10;IE=9;IE=8;IE=7" />
    <title>Splitter.html: Splitter Implementation</title>
    <link rel="stylesheet" href="styles/jscriptsuite.css?v2" type="text/css" />
    <link rel="stylesheet" href="styles/summary.css?v2" type="text/css" />
	<script type="text/javascript" language="javascript" src="js/splitter.js?v2"></script>
</head>
  <body onload="StartScript()" style="overflow:hidden;width:100%;height:100%;margin:0 0 0 0">
    Splitter.html: Splitter Implementation
    <div id="outer" style="border: 1px solid black;width:100%">
        <div style="border:2px solid green">
            <div style="border:2px solid red"></div>
            <div style="border:2px solid blue"></div>        
        </div>
        <div style="border:2px solid red">
            <div style="border:2px solid red"></div>
            <div style="border:2px solid blue"></div>        
        </div>
        <div style="border:2px solid blue">
            <div style="border:2px solid green"></div>
            <div style="border:2px solid red"></div>
            <div style="border:2px solid blue"></div>                
        </div>
	</div>
</body>
</html>
© 2009 JScriptSuite. All rights reserved.