
 //This file sets and handles all the tooltip content for the site


//used to wrap custom divs/classes around the tips	
//var startTip = "<div class='tooltip menutip'>";
var startTip = "<div class='menutip'><span><span><span><span>";
var endTip = "<\/div>";
var startAccessTip = "<div class='menutip accesstip'>";
var endAccessTip = "</span></span></span></span><\/div>";

//set html access level info 	
access_levels_text = startAccessTip+"<h3>(1) Internal ></h3><p>Internal clients are people in the office and people directly involved with the various aspects of a release. <b>An internal user can see all files.</b></p> <h3>(2) Business ><\/h3> <p>Business clients are clients such as artists, their management, distributors, printers, artwork providers, etc. <b>A business user can ONLY see files with Business, Media and Casual access level.<\/b><\/p> <h3>(3) Media ><\/h3> <p>Media clients are anyone connected with media activities. <b>A media user can ONLY see files with Media or Casual access level<\/b><\/p> <h3>(4) Casual ><\/h3><p>A casual client is a client that only needs low-level casual access to approved data, such as photos or press release info. <b>A casual user can ONLY see files with the Casual user access level.<\/b><\/p>"+endAccessTip;

//used most tips	
function regularTip(arg) { 
	Tip (startTip+arg+endTip, DELAY, 500, WIDTH, 250, SHADOW, true, JUMPHORZ, true, FADEIN, 400, FADEOUT, 400, BORDERWIDTH, 1, BORDERCOLOR, "#FAAF40",BGCOLOR, "#FAAF40", PADDING, 1, SHADOWCOLOR, "#666") ; 
}
//used the HELP/SETUP tips	
function helpTip(arg,id) { 
	Tip (startTip+arg+endTip, FIX, [id, -75, 5], DURATION, 5000, TEXTALIGN, 'center', WIDTH, 180, SHADOW, true, FADEIN, 400, FADEOUT, 400, BORDERWIDTH, 1, BORDERCOLOR, "#999",BGCOLOR, "#FFF", PADDING, 1, SHADOWCOLOR, "#333") ; 
}

function MyTip(arg) {

  switch(arg) {
    case "features_limitsUSD":
		return regularTip("* All clients receive a combined 25 GB of upload/download/storage and can use as much as they like, however all usage over the initial 25 GB will be charged at $1 per GB.");	
    case "features_limitsEURO":
		return regularTip("* All clients receive a combined 25 GB of upload/download/storage and can use as much as they like, however all usage over the initial 25 GB will be charged at 1 &euro; per GB.");	
//main menus
    case "home":
        return regularTip("Click to go back to your Home/Start page");
    case "view_all_projects":
        return regularTip("View all your Projects");
    case "go_back":
        return regularTip("Go back to the previous page");
    case "watch_videos":
        return regularTip("View tutorial videos on how to use this service");
    case "techsupport":
        return regularTip("Contact Tech Support with any problems you might be experiencing");
    case "add_a_new_project":
        return regularTip("Create Projects and Upload files to them");
    case "manage_mailing_lists":
        return regularTip("Create, Delete, View, and Modify your Mailing Lists");
    case "manage_users":
        return regularTip("Add, Delete, View, and Change User Info");
    case "manage_site":
        return regularTip("Upload your Logo, Track Downloads, Billing Info, and Modify your Company Settings");
    case "upload_file":
        return regularTip("Upload a file to this project");
    case "back_to_projects":
        return regularTip("Go back to view all the available files in this project");
    case "new_mailing_list":
        return regularTip("Create a new mailing list to send out download links to groups of people quickly");
    case "new_user":
        return regularTip("create a new user for this site with their own username and password to manage projects and upload files");
    case "company_info":
        return regularTip("Update your company information, including name, email and logo");
    case "site_usage":
        return regularTip("View and sort detailed information on how this site is being used");
//new project
    case "project_name":
        return regularTip("The name or description of the new project");
    case "catalogue_number":
        return regularTip("If this project has a catalogue # put it here");
    case "release_date":
        return regularTip("The Release date of this project");
//upload file
    case "file_description":
        return regularTip("Describe the file, to help people easily know what it is");
    case "access":
        return regularTip("What access level must a person have to access this File?");
    case "choose_file":
        return regularTip("Choose the file you want to upload here by clicking the Choose File button");
    case "file_type":
        return regularTip("Set what type of file this is help identify and search for it later");
//new mailing list
    case "new_list":
        return regularTip("Name or describe the new Mailing List for easy identification");
//manage users
    case "user_name":
        return regularTip("Full name of the New User");
    case "user_email":
        return regularTip("This eMail address will be used to send them their new account information, notifications, and new feature updates");
    case "user_username":
        return regularTip("This Username will be used to login into this new account (letters and numbers only!)");
    case "user_password":
        return regularTip("This Password will be used to login into this new account (letters and numbers only!)");
    case "user_company":
        return regularTip("What Company (if any) does this person represent or belong to?");
    case "user_access":
        return regularTip("What Access Level will this person have? This Access Level will determine what files they will be able to see and work with.");
    case "user_email_files":
        return regularTip("Will this user be allowed to eMail files to other people and mailing lists?");
    case "user_file_notification":
        return regularTip("Should this user be Notified when a new file is uploaded? Notifications can also be set on a per project basis.");
//manage site/company
    case "company_name":
        return regularTip("Name of the Company or Person this account belongs to");
    case "company_address":
        return regularTip("Address of the Company or Person this account belongs to, useful for invoices.");
    case "company_contact":
        return regularTip("This eMail address is used for all billing, notifications, and new feature updates");
    case "website_language":
        return regularTip("The preferred language you would like this site to appear in");
    case "company_logo":
        return regularTip("If you have a company or personal logo you can upload it to personalize this account. Logo will appear on all the download emails that gets sent out when emailing files and projects.");
//start help tips	 - include ARGS and ID
    case "helpMail":
        return helpTip("Click this icon to eMail this file",'helptip4');
//needed diff positioning for this tip	
    case "access_levels":
        return Tip(access_levels_text, DELAY, 1000, WIDTH, 400, SHADOW, true, JUMPHORZ, true, OFFSETY, -210, FADEIN, 400, FADEOUT, 400, BORDERWIDTH, 1, BORDERCOLOR, "#999",BGCOLOR, "#FFF", PADDING, 1, SHADOWCOLOR, "#333");
//needed diff positioning for this tip	
    case "access_levels2":
        return Tip(access_levels_text, DELAY, 1000, WIDTH, 400, SHADOW, true, JUMPHORZ, true, OFFSETY, -100, FADEIN, 400, FADEOUT, 400, BORDERWIDTH, 1, BORDERCOLOR, "#999",BGCOLOR, "#FFF", PADDING, 1, SHADOWCOLOR, "#333");

  }
}


