
      if(typeof(console) === 'undefined') {
          var console = {};
          console.log =
          console.error =
          console.info =
          console.debug =
          console.warn =
          console.trace =
          console.dir =
          console.dirxml =
          console.group =
          console.groupEnd =
          console.time =
          console.timeEnd =
          console.assert =
          console.profile = function() {};
      }
var TOKEN = 'no-token';
var ARTIST = false;
var USER = false;
var LANG = { post_overlay_open : "Open ^"
,
	post_overlay_close : "Close X"
,
	confirm_delete : "Are you sure you want to delete it?"
,
	confirm_membership_fee : "Are you sure you want to save the membership fee?"
,
	confirm_spam : "Are you sure you want to it as spam?"
,
	confirm_toggle : "Are you sure you want to toggle the promocode status?"
,
	confirm_cancel : "Are you sure you want to cancel?"
,
	publish_now : "Publish Now"
,
	save_now : "Save"
,
	publish_later : "Publish Later"
,
	mail_password : "Your Meylah Password"
,
	mail_password_send : "You should receive your password in a few minutes."
,
	mail_doesnt_exists : "This email doesn't exists."
,
	too_many_categories : "You can't add over 6 categories"
,
	category_must_be_unique : "Category names must be unique"
,
	invalid_image : "The image dimensions are too small"
,
	enter_email : "Please enter your email address"
,
	video_warning : "Please allow a few minutes for your video to save. We have to do some work in the background to get it all in the proper format."
,
	warning_delete_image : "You must delete the current image before adding a new one"
,
	upload_error : "There was an error during the upload process"
,
	sizeLimitMax : "The file you’re trying to upload is too large"
,
	comm_error : "There was an error communicating with our server. Please try uploading your file again."
,
	plan_invalid : "Please select a subscription plan"
,
	promocode_updated : "Promo code updated"
,
	marketplace_status_updated : "Marketplace status updated"
 };
var IMAGES = new Array('jpg', 'jpeg', 'png', 'gif');
var LAYOUT = {portrait : {width : 375,height : 500},landscape : {width : 375,height : 281},logo : {width : 100,height : 100},banner : {width : 376,height : 100},mbanner : {width : 870,height : 120}};
var FTP = {host : 'meylah.brianhogg.ca',user : 'userftp',pass : 'YosVC3x9xHfMdb',port : '2121'};
var VIDEOS = new Array('wmv', 'avi', 'mpg', 'mpeg', 'mp4', '3gp', 'mov');
var MEDIAS = new Array('jpg', 'jpeg', 'png', 'gif', 'wmv', 'avi', 'mpg', 'mpeg', 'mp4', '3gp', 'mov');

