﻿/// <reference path="MicrosoftAjax.js" />

Type.registerNamespace("fdi");

fdi.Country = function (name, urlName, layer) {
    this.Name = name;
    this.UrlName = urlName;
    this.Layer = layer;
}

fdi.Country.prototype = {

    dispose: function () {

    },
    HighLight: function () {
        fdi.ShapeUtils.HighLightShapesInLayer(this.Layer);
    },
    UnHighLight: function () {
        fdi.ShapeUtils.UnHighLightShapesInLayer(this.Layer);
    },
    Hide: function () {
        this.Layer.Hide();
    },
    Show: function () {
        this.Layer.Show();
    }    
}

fdi.Country.registerClass('fdi.Country', null, Sys.IDisposable);
