var EMPTY_IMAGE = 'Please upload atleast one image.';
var INVALID_IMAGE_TYPE = "You can upload .jpg, .jpeg or .png images only.";
var PRAVACY_CHECKED = 'Your photo cannot be uploaded without you agreeing to our Terms of Use and Privacy Policy.';
var DELETE_PHOTO     = 'Are you sure you want to delete this photo?';
var loading = "Loading...<img src='/storage/image/default/loading.gif'/>";
var photo_ext = Array('.jpg','.jpeg','.png');
var ERROR_NO_PHOTO_BODY_TEXT = 'Please enter a comment.';
var ERROR_LOGIN_REQUIRED = 'Please login for further proceed.';
var ERROR_REPORT_ABUSE_SAME_USER = 'Sorry, you cannot report abuse self comments';
var EMPTY_SEARCH_KEYWORD = 'Please enter keywords to be searched.';
var ERROR_DELETE_FAVS_PHOTO = 'Are you sure you want to remove this photo?.';
var ERROR_DELETE_ALBUM = 'Are you sure you want to remove this Album?.';
var PHOTOS_TITLE_ABUSE = 'Report Abuse';
var ERROR_PHOTO_REMOVE_FROM_FAVS = 'Remove From Favorites';
var ERROR_PHOTO_ADD_TO_FAVS = 'Add To Favorites';
var ERROR_SWF_PHOTO_UPLOAD_SELECT = 'Please select file to upload.';
var DELETE_PHOTO     = 'Are you sure you want to delete this photo?';
function displayErrorCommon(divId,errorMessage,errorClass){
  document.getElementById(divId).style.display = 'block';
  document.getElementById(divId).innerHTML = '<div class="'+errorClass+'">'+errorMessage+'</div>';
}
