/*
 * $RCSfile: data_where-to-buy.jsp,v $
 * Author: Mike Vargo (original)
 * Last Changed by: $Author: nextleft $
 * Version: $Revision: 1.6 $
 *
 */











function model(id, name, status, countries)
{
   this.id = id;
   this.name = name;
   this.status = status;
   this.countries = countries;
}

function country(id, name, carriers)
{
   this.id = id;
   this.name = name;
   this.carriers = carriers;
}

function carrier(id, name, url, phone, buyonlineonly)
{
   this.id = id;
   this.name = name;
   this.url = url;
   this.phone = phone;
   this.buyonlineonly = buyonlineonly;
}

tData_models = new Array(
    new model ("322", "Melo S1300", "A",
        new Array(
            new country("42", "Puerto Rico",
                new Array(
                    new carrier("157", "OpenMobile", "www.movistarpr.com", "1-787-530-2000", 0)
                )
            ),
            new country("26", "United States",
                new Array(
                    new carrier("178", "Bluegrass Cellular", "www.bluegrasscellular.com", "1-800-928-CELL", 0),
                    new carrier("90", "MetroPCS", "www.metropcs.com", "1-888-863-8768", 0)
                )
            )
        ) <!-- end country array -->
    )<!-- end model -->
);

