var Switcher = Class.create();

Switcher.prototype = 
{
	initialize: function (id) 
	{
		this.id = id;
	},
	
    openLayer : function()
    {
		if($(this.id))
		{
			skn = $(this.id).style;
			skn.display = "block";
		}
    },
    
	closeLayer : function()
	{
    	if($(this.id))
    	{
    		skn = $(this.id).style;
    		skn.display = "none";
    	}
	}
    
};

