(function(glob){
	if(glob.v4_bsbConfigParams){
		return;
	}
	
	glob.v4_bsbConfigParams={
		  apps:{
		      fb_activity:          "false", 
		      fb_like:              "false", 
		      fb_recommend:         "false", 
                      fb_fanpage:           "false", 
                      fb_fanpage_id:        "139479268218", 
		      feedbackForm:         "false",
		      flickr:               "false", 
		      flickr_link:          "", 
                      friendFeed:           "false",
                      Gplus_like:           "false",
                      grooveShark:          "false",
		      im_chat:              "false", 
                      LinkedIn:             "false",
		      live_feed:            "false",  
		      live_notification:    "false", 
                      onlineGame:           "false",
		      picasa:               "false", 
		      picasa_link:          "",
		      random_posts:         "false", 
		      random_posts_link:    "http://feeds2.feedburner.com/Step-ScienceTechnologyAndEducationInPakistan", 
		      recent_posts:         "false", 
		      recent_posts_link:    "http://feeds.bbc.co.uk/caribbean/index.xml", 
		      rising_posts:         "false", 
		      rss_feed:             "false", 
		      rss_feed_link:        "http://news.google.com/news?output=rss", 
		      page_scroll:          "false", 
		      share:                "false", 
		      shoutbox:             "false", 
		      site_search:          "false", 
		      translate:            "false", 
                      tweet_button:         "false",
                      twitter:              "false", 
		      twitter_username:     "htshowbiz", 
		      youtube:              "false", 
//		      youtube_link:         "http://gdata.youtube.com/feeds/api/users/uploads",
		      youtube_link:         "",
                      weather:              "false",
                      
		      polls:"false"
		  },
		  theme:{
		      name: "custom", 
		      alignment: "center", 
		      color_hex: "142733", 
		      color_hsb: {
		          h:204,
		          s:61,
		          b:20
		      }, 
		      icon_set: "url(http://bumpin.com/bumpin_social_bar_v4/css/skins/theme/std.png.light.png)", 
		      pattern: "url(http://bumpin.com/bumpin_social_bar_v4/css/skins/split/split_sprite.png)", 
		      opacity: "0.9", 
		      width: "90", 
		      width_type: "percent"
		  },
		  bar_settings:{
		      domain: "exteen.com",
		      super_lite: "false",
		      stay_min_on_close: "false",
		      notifyApp_stay_min_on_close: "false",
		      show_on_scroll:'false'
		  },
		  position:{
		      left:{
		          'site_search':0,
		          'share':4
		      },
		      right:{}
		  },
		  Bumpin_settings:{
		      bar:false,
		      ipw:true
		  },
		  boot:{
		  	load: ["http://bumpin.com/social_bar_v4/App/LiveFeed/liveFeedApp.js"],
		  	deps: ["Bumpin.LiveFeedApp"]
		  },
		  ipw_apps: {"live_feed":{"width":"900","height":"417","mode":"1","name":"live_feed"}}
	};


  try{
      //check if jQuery is found on the page
      var pathToBumpinJs = "http://bumpin.com/social_bar_v4" ;
      var bumpinJsFileToLoad  = "/Bumpin.js";
      if(window.jQuery){
          glob.v4_bsbConfigParams.bumpinJqueryFoundOnPage = true;
      }else{
          //load bumpin.js with jQuery
          bumpinJsFileToLoad = "/Bumpin_withjQ.js"
      }
      var head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement;
      var script = document.createElement("script");
      script.setAttribute("src",pathToBumpinJs+bumpinJsFileToLoad);
      script.setAttribute("type","text/javascript");
      var loaded = false;
      var loadFunction = function(){
          if (loaded){
              return;
          }
          if(typeof Bumpin === "undefined"){
              if ( head && script.parentNode ){
                  head.removeChild(script);
              }
              getBSBFiles(pathToBumpinJs+'_no_zip'+bumpinJsFileToLoad);
          }else{
              loaded=true;
          }
      };
      script.onload  = loadFunction;
      script.onerror = loadFunction;
      script.onreadystatechange = function() {
          if (this.readyState == "loaded" || this.readyState == "complete") {
              loadFunction();
          }
      };
      head.insertBefore( script, head.firstChild );
  }catch(e){
      //console.log(e)
  }
})(window);

