@model IEnumerable<WebApplication2_2.Models.Store>

@{

}



<html>
<body>
        <h2 style="text-align:center">About</h2>

    <!-- Contect And Main Contect -->

            Founded in 2016 by  Best Video Games has been serving retail and wholesale customers with all their videogame needs for over 24 years.
            We have been operating through our brick and mortar stores in Toronto and Mississauga, Ontario, Canada.<br>
            <br>
            <br>

            After dabbling in online sales through eBay we have realized the potential of ecommerce business and the possibilities of reaching fellow gamers from around the world.<br>
            We were so excited by the demand on eBay that we have launched this website to serve you more professionally and efficiently.<br>
            <br>
            <br>
            We pride ourselves on having one of the best selections and competitive prices of any online videogame retailer and blog.<br>
            You'll not only find the latest and greatest video games for sale here but also a proffesional blog.<br>
            We also carry exclusive games and items that you'll only find at our website.<br>
            Being in the video game industry for this long has provided us with great relationships with all the top manufacturers,
            This allows us to re-publish rare hard to find games. We truly are the HOME FOR THE HARDCORE GAMER!<br>
            <br>
            <br>
            We look forward to serving you and if you have any questions or concerns<br>
            <strong>please contact us at:</strong> <a href="mailto:galevgi@gmail.com">customerservice@bestvideogames.com</a><br />
            <br>

            <br>
            <div id="transDemo2">
                <div class="hover">
                    <img src=~/images/Icons/GameIcon.png width="30" height="30">
                </div>
            </div>
            <br>
            <br>
            <br>
            <!-- LikeBtn.com BEGIN -->
            <span class="likebtn-wrapper" data-theme="custom" data-icon_d="hrt6-o" data-icon_l_c="#0594fb" data-icon_l_c_v="#0594fb" data-icon_d_c="#f00d2f" data-icon_d_c_v="#f00d2f" data-identifier="item_1"></span>
            <script>(function (d, e, s) { if (d.getElementById("likebtn_wjs")) return; a = d.createElement(e); m = d.getElementsByTagName(e)[0]; a.async = 1; a.id = "likebtn_wjs"; a.src = s; m.parentNode.insertBefore(a, m) })(document, "script", "//w.likebtn.com/js/w/widget.js");</script>
            <!-- LikeBtn.com END -->
            <br>
            <br>




             <!--Google maps from Database-->

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
        <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
        <script type="text/javascript">

        $(document).ready(function () { initialize(); });

        function initialize() {
            var map_options = {
                center: new google.maps.LatLng(38.4990593,-1.6961302),
                zoom: 2,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };

            var google_map = new google.maps.Map(document.getElementById("map_canvas"), map_options);

            var info_window = new google.maps.InfoWindow({
                content: 'loading'
            });


            $.getJSON("GetLocations",null, function (json) {

                      var locations = json;

                      var id = [];
                      var x = [];
                      var y = [];
                      var name = [];

                      for (i = 0; i < locations.length; i++)
                      {
                          id.push(locations[i].ID);
                          x.push(locations[i].LatitudeOfStore);
                          y.push(locations[i].LongitudeOfStore);
                          name.push(locations[i].NameOfStore);
                      }





                var i = 0;
                for (item in id) {
                    var m = new google.maps.Marker({
                        map: google_map,
                        animation: google.maps.Animation.DROP,
                        title: id[i],
                        position: new google.maps.LatLng(x[i], y[i]),
                        html: name[i]
                    });

                    google.maps.event.addListener(m, 'click', function () {
                        info_window.setContent(this.html);
                        info_window.open(map, this);
                    });
                    i++;
                }
            });


        }
        </script>
        <div id="map_canvas" style="width:500px;height:400px;">Google Map</div>

        @section Scripts {
            <script src="~/lib/jquery/dist/jquery.min.js"></script>
            <script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
            <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
        }



</body>
</html>