﻿/// <reference path="~/Scripts/ByteStorm/_BSC_Interface.js" />
(function() 
{
	BSC.D.Ws = function()
    {
		var list = {};
		return {
			Get:function(id)
			{
			    if(arguments.length==0) return list;
				return list[id];
			},
			Add:function(id,w)
			{
				list[w.id] = w;
			},
			Exists:function(id)
			{
				return (list[id]!=null);
			}
		};
    }();
})();
