//--------------------------------------------------------------
// Copyright (C) 2006 Michael Schwarz (http://www.ajaxpro.info).
// All rights reserved.
//--------------------------------------------------------------
// Converter.js
// NameValueCollectionConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.NameValueCollection == "undefined") Ajax.Web.NameValueCollection={};
Ajax.Web.NameValueCollection = function(items) {
this.__type = "System.Collections.Specialized.NameValueCollection";
this.keys = [];
this.values = [];
if(items != null && !isNaN(items.length)) {
for(var i=0; i