<com:TContent ID="Content">
	<h1>ClientScript Test</h1>
	
	<com:TClientScript ScriptUrl=<%~ test.js %>>
		if(typeof(ClientScriptInfo) == "undefined")
			ClientScriptInfo = [];
		ClientScriptInfo.push("ok 3?")
	</com:TClientScript>
		
	<com:TClientScript>
		if(typeof(ClientScriptInfo) == "undefined")
			ClientScriptInfo = [];
		ClientScriptInfo.push("ok 2!")
	</com:TClientScript>
	
	<com:TLabel ID="label1" Text="Label 1" />
	<input type="button" id="button1" value="update" />
	
	<com:TClientScript PradoScripts="prado">
		Event.observe("button1", "click", function()
		{
			element = $("<%= $this->label1->ClientID %>");
			if(element)
				element.innerHTML = "Label 1: "+inspect(ClientScriptInfo);
			else
				alert("failed");
		});
	</com:TClientScript>
	
</com:TContent>