
Type.registerNamespace('NeoSistem');NeoSistem.HttpVerb=function(){};NeoSistem.HttpVerb.prototype = {GET:0,POST:1,DELETE:2,PUT:3}
NeoSistem.HttpVerb.registerEnum('NeoSistem.HttpVerb',false);NeoSistem.Model=function(){}
NeoSistem.Model.ModelPost=function(method,loadElementId,loadingElementId,model,verb){if(loadingElementId!==''){document.getElementById(loadingElementId).style.visibility='visible';}NeoSistem.Model.$1=loadingElementId;var $0=new Sys.Net.WebRequest();$0.set_url(method);switch(verb){case 0:$0.set_httpVerb('GET');break;case 1:$0.set_httpVerb('POST');break;case 2:$0.set_httpVerb('DELETE');break;case 3:$0.set_httpVerb('PUT');break;default:$0.set_httpVerb('POST');break;}if(model!=null){$0.set_body(NeoSistem.Model.ModelSerialize(model));}NeoSistem.Model.$0=loadElementId;$0.add_completed(Function.createDelegate(null,NeoSistem.Model.$2));$0.invoke();}
NeoSistem.Model.$2=function($p0){document.getElementById(NeoSistem.Model.$0).innerHTML=$p0.get_responseData();if(NeoSistem.Model.$1!==''){document.getElementById(NeoSistem.Model.$1).style.visibility='hidden';}}
NeoSistem.Model.ModelSerialize=function(model){var $0='';var $dict1=model;for(var $key2 in $dict1){var $1={key:$key2,value:$dict1[$key2]};$0+=String.format('{0}={1}&',$1.key,$1.value);}if($0.length>0){$0=$0.substring(0,$0.length-1);}return $0;}
NeoSistem.Utility=function(){}
NeoSistem.Utility.ViewRender=function(view){window.document.write(view);}
NeoSistem.Utility.$0=function($p0,$p1){var $0=document.getElementById($p0);for(var $1=0;$1<$0.elements.length;$1++){$0.elements[$1].disabled=$p1;}}
NeoSistem.Utility.EnableControls=function(formname){NeoSistem.Utility.$0(formname,true);}
NeoSistem.Utility.DisableControls=function(formname){NeoSistem.Utility.$0(formname,false);}
NeoSistem.Utility.ImageError=function(element){element.style.display='none';}
NeoSistem.Model.registerClass('NeoSistem.Model');NeoSistem.Utility.registerClass('NeoSistem.Utility');NeoSistem.Model.$0='';NeoSistem.Model.$1='';
// ---- Do not remove this footer ----
// This script was generated using Script# v0.5.5.0 (http://projects.nikhilk.net/ScriptSharp)
// -----------------------------------


$(document).ready(function () { $("ul.dropdown li ul li:has(ul)").find("a:first").append(" &raquo; "); });
