/*------------------------------------------------------------------------------------
  Loads up all needed Javascript Files
------------------------------------------------------------------------------------*/

var ScriptLoader = {
  scriptLocation: '/assets/js/', // Change this to the location, probably /assets/js/

  load: function(arrNames) {
    for(var i=0; i<arrNames.length; i++){
      name = arrNames[i];
      document.write('<script type="text/javascript" src="'+this.scriptLocation+name+'"></script>');
    }
  }
}

ScriptLoader.load([
   //'libraries/prototype.js',
   //'libraries/domready.js',
   'libraries/mootools.js',
   'libraries/mootools-plugins.js',
   'libraries/sifr.js',
   'main.js',
    'refresh.js'
 ]);

var rim = window.rim || {};

rim.lang = {
    rootPath: '/',
    compare: {
        compareInCartText: 'Compare now',
        compareOutCartText: 'Add to compare',
        buyToday: 'Buy Today',
        repalcePhone: 'Replace this smartphone',
        removePhone: 'Remove this smartphone',
        pixels: 'pixels',
        upto: 'Up to',
        talktime: 'hours of<br />talk time',
        standby: 'days of<br />standby',
        music: 'hours of<br />music playback',
        onboardmem: 'onboard memory',
        memcard: 'media card included',
        height: 'height',
        width: 'width',
        depth: 'depth',
        weight: 'weight',
        camera: 'camera',
        zoom: 'digital zoom',
        available: 'available',
        notavailable: 'Not available',
        defaultDevice: '2286'
    },
    noflash: 'Adobe Flash Player Required <a href="http://get.adobe.com/flashplayer/" target="blank">Install Now</a>',
    close: 'Close',
    join: 'Join',
    follow: 'Follow',
    like: 'Like',
    search: 'Search',
    username: 'Username',
    password: 'Password',
	facebook: {
        id: 'href=http://www.facebook.com/BlackBerryIndia',
        locale: 'en_IN' 
    }
};
