text: //
  // Client IDS
  // Defines the CLIENT_ID (AppID's) of the OAuth2 providers
  // relative to the domain host where this code is presented.
  
  var location_https = window.location.href.indexOf('https://') === 0;
  
  
  // Register your domain with Facebook at  and add here
  var FACEBOOK_CLIENT_ID = {
  	'local.knarly.com' : '285836944766385',
  }[window.location.hostname] || '160981280706879';
  
  
  // Register your domain with Windows Live at http://manage.dev.live.com and add here
  var WINDOWS_CLIENT_ID = {
  	'local.knarly.com' : '000000004405FD31'
  }[window.location.hostname] || '00000000400D8578';
  
  
  // Google Register --  https://console.developers.google.com
  var GOOGLE_CLIENT_ID = '656984324806-sr0q9vq78tlna4hvhlmcgp2bs2ut8uj8.apps.googleusercontent.com';
  
  // To make it a little easier
  var CLIENT_IDS = {
  	windows : WINDOWS_CLIENT_ID,
  	google : GOOGLE_CLIENT_ID,
  	facebook : FACEBOOK_CLIENT_ID
  };
  
  // Dropbox full 't5s644xtv7n4oth'... requires production authentication
  var DROPBOX_CLIENT_ID = '1lkagy1bz7h2uhl';
  
  // LinkedIn Register - https://www.linkedin.com/secure/developer
  var LINKEDIN_CLIENT_ID = 'bixrjszkfk0j'; // 'exgsps7wo5o7'
  
  var YAHOO_CLIENT_ID = {
  	'local.knarly.com' : 'dj0yJmk9cjVDdHlDaGtrbldJJmQ9WVdrOVYyZFhSWE4yTm04bWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1jOA--',
  	'adodson.com' : 'dj0yJmk9dkVoREN1R3BLTThhJmQ9WVdrOVYyNUpORXRXTnpZbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1mNw--'
  }[window.location.hostname];
  
  var TWITTER_CLIENT_ID = {
  	'local.knarly.com' : 'krGNvpEVVBE27jcemC6uA'
  }[window.location.hostname] || 'eQuyZuECKWPiv3D7E4qdg';
  
  
  // SoundCloud Register - http://soundcloud.com/you/apps/
  var SOUNDCLOUD_CLIENT_ID = {
  	'local.knarly.com' : '8a4a19f86cdab097fa71a15ab26a01d6',
  	'adodson.com' : location_https ? 'eacfb4d662e046c19e53c9e44bf7f7b7' : '47a386647dadf913e559c12ef6db4292'
  }[window.location.hostname];
  
  // Spotify - Register https://beta.developer.spotify.com/dashboard/applications/create 
  var SPOTIFY_CLIENT_ID = '79f269bb5e804ffda7b2eca80477f6cc';
  
  // FourSquare Register - https://foursquare.com/developers/apps
  var FOURSQUARE_CLIENT_ID = {
  	'local.knarly.com' : '3HEXMBQVH2SV0VXUKXOGQRPWH1PUTEIZN4KBDY5L54ZDXCDP',
  	'adodson.com' : 'MFRXCJP1TKMUSYC2JBYU50L0IH0GJP1HTNS1BV0ML3NNXG5B'
  }[window.location.hostname];
  
  // Github Register - https://github.com/settings/applications
  var GITHUB_CLIENT_ID = {
  	'local.knarly.com' : 'ca7e06a718b2e8eef737',
  	'adodson.com' : location_https ? 'c379ed1ef504fccfa85c' : 'd934ef34e2e40cf9b00a'
  }[window.location.hostname];
  
  // Instagram Register - http://instagram.com/developer/clients/manage/
  var INSTAGRAM_CLIENT_ID = {
  	'local.knarly.com' : 'bfbbf362ac3148aeb1150e5b8256bbe9',
  	'adodson.com' : location_https ? 'e47d210f864c4b1ca94225ddab97205a' : '264d13a33ba845f396a152cc326e6f5d'
  }[window.location.hostname];
  
  
  var FLICKR_CLIENT_ID = {
  	'local.knarly.com' : '46dfea40b0f9d3765bc598966b5955d3',
  	'adodson.com' : '8d7cfb86e6d6bfab49579c3bfdb95796'
  }[window.location.hostname];
  
  var VK_CLIENT_ID = {
  	'local.knarly.com' : '5001721',
  	'adodson.com' : '5001721'
  }[window.location.hostname];
  
  
  var TUMBLR_CLIENT_ID = {
  	'local.knarly.com' : '1odTR4hLo2oAoPlIoGN8O60d1tUw0CsZGdysFFPikX7APlcXlN',
  	'adodson.com' : 'BHKkYCvKt33lL34iM1yWUhkYRw1lqwifbKKTfgh5FAX5uBzzxn'
  }[window.location.hostname];
  
  
  // join.me Register - https://developer.join.me
  var JOINME_CLIENT_ID = {
  	'adodson.com': (location_https ? 'hnvbrvsb63gt3fwa2c7nmhfc' : 'myenm7aw34dbgejhuw4sv8zz'),
  	'local.knarly.com': 'e7jmevgbve6uzqvsttf7pb85'
  }[window.location.hostname];
  
  
  // To make it a little easier
  var CLIENT_IDS_ALL = {
  	windows : WINDOWS_CLIENT_ID,
  	google : GOOGLE_CLIENT_ID,
  	facebook : FACEBOOK_CLIENT_ID,
  	dropbox : DROPBOX_CLIENT_ID,
  	twitter : TWITTER_CLIENT_ID,
  	yahoo : YAHOO_CLIENT_ID,
  	instagram : INSTAGRAM_CLIENT_ID,
  	joinme: JOINME_CLIENT_ID,
  	linkedin : LINKEDIN_CLIENT_ID,
  	soundcloud : SOUNDCLOUD_CLIENT_ID,
  	foursquare : FOURSQUARE_CLIENT_ID,
  	github : GITHUB_CLIENT_ID,
  	flickr: FLICKR_CLIENT_ID,
  	vk: VK_CLIENT_ID
  };
  
  
  //
  // OAUTH PROXY
  //
  var OAUTH_PROXY_URL = {
  	'local.knarly.com' : 'http://local.knarly.com:5500/proxy'
  }[window.location.hostname] || 'https://auth-server.herokuapp.com/proxy';
  
  
  
  //
  // Redirect URI
  //
  var REDIRECT_URI = '/hello.js/redirect.html';
  if (typeof chrome === 'object' && typeof chrome.identity === 'object' && chrome.identity.launchWebAuthFlow) {
  	REDIRECT_URI = 'https://'+window.location.hostname+'.chromiumapp.org/redirect.html';
  }
  