/**
* This file is used to allow language sesitive values to be controlled
* in javascript and to import some values from the database
*/
var sHttpDir = "http://www.quechup.com";
//var sHttpDir = "http://www.quechup.com";
var sHttpsDir = "https://secure.quechup.com";
var iUserId = -1;
var bIsLogedIn = 0;
var sUserAvatar = '';
var sUserAlias = 'Unknown';
var sUserStatusText = '';
var iUserPosX = 0;
var iUserPosY = 0;
var iUserCountry = 'US';
var bIsModerator = 0;
var bIsFreeMember = 1;
var sColourScheme = 'Turquoise';
var iMaxQMails = 0;
var iQMailSent = 0;
var iQMailRead = 0;
var iMailSent = 0;
var iMaxMails = 100;
var iThumbWidthA = 85;
var iThumbHeightA = 170;
var iThumbWidthB = 35;
var iThumbHeightB = 70;
var iThumbWidthC = 55;
var iThumbHeightC = 110;
var iPhotoWidthP = 280;
var iPhotoHeightP = 280;
var procText = 'Please wait...';
var cancelFrndText = 'Cancel Invite';
var addFrndText = 'Add to Friends';
var rmvFrndText = 'Remove Friend';
sNewsTextDontShow = 'stop messages like this';
sNewsTextNewBlog = '%s has added a new blog entry: ';
sNewsTextNewBlogs = '%s has added new blog entries: ';
sNewsTextNewPhoto = '%s has added a new photo';
sNewsTextNewPhotos = '%s has added new photos:';
sNewsTextNewFriend = '%s is now friends with ';
sNewsTextYou = 'you';
sNewsTextYour = 'your';
sNewsTextNewFriendYou = '%s has accepted your friendship';
sNewsTextNewInvite = '%s has invited you to be their friend';
sNewsTextNewBlogComment = '%s commented on a blog by %s';
sNewsTextNewPhotoComment = '%s commented on a photo by %s ';
sNewsTextNewVideoComment = '%s commented on a video by %s';
sNewsTextProfileUpdated = '%s has updated their profile.';
sNewsTextBirthdayToday = 'It's %s's Birthday today! Why not send them your best wishes!';
sNewsTextBirthdayTodayYou = 'The Quechup Team would like to wish you a very Happy Birthday!';
sNewsTextNewMessage = 'There is a new message from %s in your inbox';
sNewsTextNewQuickMessage = '%s sent you a quick message';
sNewsTextNewVideo = '%s has added a new video';
sNewsTextNewVideos = '%s has added new videos:';
sNewsTextNewStatus = '%s - "%s"';
sNewsTextNewTweet = '%s "%s"';
sNewsTextOldTweets = '
Tweeted recently:
';
sNewsTextNewFacebookStatus = '%s "%s"';
sNewsTextTaggedYou = '%s has tagged you as: ';
sTextPrevious = "Previous";
sTextNext = "Next";
sTextUntitledPhoto = "Untitled Photo";
sTextAlbumCoverSet = "Your new album cover has been set";
sTextDone = "Done";
sTextSend = "Send";
sTextCancel = "Cancel";
sTextWait = "Please wait...";
sTextMoreTags = "More Tags";
sTextTagAnother = "Tag More Members";
sTextSelectTags = "Please select your tags for this user.";
sTextTagSet = "You have tagged this user.";
sTextDoingNow = "What are you doing now?";
sTextMessageSent = "Message sent";
sTextReportSent = "Report Sent.\nWe will investigate the claim.";
sTextRatingSaved = "Rating saved. Thanks for the support.";
sTextHelpFreeZoneTitle = "What is the \"Free Zone\"";
sTextHelpFreeZoneBody = "The \"Free Zone\" allows members in the following countries unrestricted messaging and chatting with other \"Free Zone\" members. Countries currently in the Free Zone are: Bangladesh, China, Hong Kong, India, Indonesia, Israel, Kazakhstan, Democratic People's Republic Of Korea, Nepal, Pakistan, Philippines, Sri Lanka, Taiwan, Turkey and Vietnam.";
sTextHelpQConnectTitle = "What is My Address Book";
/** sTextHelpQConnectBody = 'Check your Webmail account. Any contacts in your webmail address book already on Quechup that you add as a friend will be added to your "Address Book" so you can chat, message and share photos, blogs and videos with them. Also any contacts not on Quechup you invite to join will be added to your "Address Book" as soon as they join from your invite.'; **/
sTextHelpUpgradeTitle = "UPGRADE TO PREMIUM MEMBERSHIP";
sTextHelpUpgradeBody = 'To fully interact with all Quechup members you will need to upgrade to a Premium Member. Click here to Upgrade Now.';
sTextHelpAddBookTitle = "UNRESTRICTED CHAT & MESSAGING WITH FRIENDS";
sTextHelpAddBookBody = 'Check your Hotmail, Yahoo and Gmail address books to find friends already on Quechup and communicate free. Invite others to join and enjoy unrestricted chat and messaging. Click here to check your address book.';
sTextNoChatFreeZoneTitle = "Chatting Restricted";
sTextNoChatFreeZoneBody = 'You can only chat with "free zone" members or friends from your "My Address Book", for full access ';
sTextNoChatQConnectTitle = "Chatting Restricted";
sTextNoChatQConnectBody = 'You can only chat with friends from your "My Address Book", for full access ';
sNewsTextDontShow = "don't show messages like these";
sNewsFrndInvd = "Friend invite sent";
sNewsFrndInvCnl = "Friend invite cancelled";
sNewsFrndApp = "New friendship confirmed";
sCannotBeUsed = 'Cannot be used: ';
sErrorRotateBussy = "Currently rotating another image, please wait...";
sErrorUploadTimeout = "File upload has timed out. Select your file again to retry.";
sErrorBadFile = "File upload failed. Select your file again to retry";
sErrorBadFileType = "File type not permitted. Select a file in one of the allowed formats.";
sErrorFileTooBig = "File too large. Select a file smaller the 3 megs in size.";
sErrorMovingPhoto = "Sorry, this photo could not be moved here.";
sErrorDeletePhoto = "Sorry, this photo could not be removed.";
sErrorUserNotFound = "The user you are looking for could not be found or has opted to remain private.";
sErrorRestricted = "Restricted Content" ;
sErrorSettingTag = "There was an error setting the tag you selected. Please try again later or select a different tag." ;
sErrorTagUsed = "You have already tagged this person using that tag. Please try again with a different tag.";
sErrorSetAvatar = "Sorry, there was an error setting your profile photo.\n\nPlease try again later or select a different photo.";
sErrorTagMeOptOut = "You are currently opted out of 'Tag Me'."
iQuickMessageTypeHi = 1;
sQuickMessageTextHi = '%s said hi!';
iQuickMessageTypeSmile = 2;
sQuickMessageTextSmile = '%s smiled at you.';
iQuickMessageTypeWink = 3;
sQuickMessageTextWink = '%s winked at you.';
iQuickMessageTypeKiss = 4;
sQuickMessageTextKiss = '%s blew you a kiss.';
iQuickIssueTypePhoto = 1;
iQuickIssueTypeBlog = 2;
iQuickIssueTypeVideo = 3;
iQuickIssueTypeUser = 4;
iQuickIssueTypeMessage = 5;
iQuickIssueTypeWhy = [];
iQuickIssueTypeWhy[iQuickIssueTypePhoto] = 'Provide details as to why you are reporting this Photo.';
iQuickIssueTypeWhy[iQuickIssueTypeBlog] = 'Provide details as to why you are reporting this Blog.';
iQuickIssueTypeWhy[iQuickIssueTypeVideo] = 'Provide details as to why you are reporting this Video.';
iQuickIssueTypeWhy[iQuickIssueTypeUser] = 'Provide details as to why you are reporting this User.';
iQuickIssueTypeWhy[iQuickIssueTypeMessage] = 'Provide details as to why you are reporting this Message.';
iTagMeTypeEveryone = 1;
iTagMeTypeFriends = 2;
iTagMeTypeNone = 0;
iRequestAccessTypePhoto = 1;
iRequestAccessTypeBlog = 2;
iRequestAccessTypeVideo = 3;
iRequestAccessTypeAlbum = 4;
function getNewTypeClass(iType) {
sReturn = '';
switch (iType*1) {
case 1:
sReturn = 'icoFriend-in';
break;
case 2:
sReturn = 'icoBlog';
break;
case 3:
sReturn = 'icoCamera';
break;
case 4:
sReturn = 'icoComment';
break;
case 6:
sReturn = 'icoVideo';
break;
case 7:
sReturn = 'icoMsg';
break;
case 8:
sReturn = 'icoSayhi';
break;
case 9:
sReturn = 'icoQ';
break;
case 10:
sReturn = 'icoComment';
break;
case 11:
sReturn = 'icoFriend-in';
break;
case 12:
sReturn = 'icoTick';
break;
case 13:
sReturn = 'icoComment';
break;
case 5:
sReturn = 'icoEdit';
break;
case 14:
sReturn = 'icoAnnounce';
break;
case 15:
sReturn = 'icoTag';
break;
case 17:
sReturn = 'icoBirthday';
break;
case 18:
sReturn = 'icoTweet';
break;
case 19:
sReturn = 'icoFacebook';
break;
}
return sReturn;
}