/*
Copyright 2012 Red Edge LLC. All Rights Reserved. Neither this software nor any part of it may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written permission of Red Edge LLC. By using this product, user agrees not to hold Red Edge LLC liable for any problems, errors, or malfunctions directly involving or associated with the software.
 */
var SocialReader = (function() {
        function SocialReader(options) {
            this.init(options);
        }
        SocialReader.prototype = {
            init: function(options) {
                this.widgets = {
                    login: IEgetElementsByClassName('sr-widget-fbLogin'),
                    friendActivity: IEgetElementsByClassName('sr-widget-fbFriendActivity'),
                    aggregateActivity: IEgetElementsByClassName('sr-widget-fbAggregateActivity'),
                    allInOne: IEgetElementsByClassName('sr-fb-allInOne')
                };
                this.fb = new FacebookWrapper({
                    appId: options.appId,
                    channelUrl: options.channelUrl,
                    curUrl: options.curUrl,
                    fbObject: options.fbObject,
                    namespace: options.namespace,
                    pluginPath: options.pluginPath,
                    cookie: true,
                    status: true,
                    xfbml: true,
                    oauth: true,
                    frictionlessRequests: true,
                    parent: this
                });
            }
        }
        return SocialReader;
    })();
