// JavaScript Document
/*
Page Name: infoText.js
Purpose: Contains the informational text and 
image rotation schema.


*/

function infoText(textType){
    
    var companyText = "";
	var productsText = "";
	var servicesText = "";
	var faqText = "";

	var clientInfoText = "";
	var hrInfoText = "";
	var contactUsText = "";
	var privacyPolicyText = "";
    var read_more = "";

	var showText = "";
	companyText = "Fringe Benefit Analysts is an Employee Health Benefits Consulting Firm comprised of a devoted team of experts committed to simplifying benefits management, reducing costs, saving time and generating greater employee satisfaction.";
	productsText = "Fringe Benefit Analysts represents over sixty different carriers enabling us to provide a comprehensive menu of benefit options.  This allows us to specifically cater to any employers needs.";
    servicesText = "Fringe Benefit Analysts is uniquely positioned to offer a complete range of services to meet your employee benefit and human resource needs.";
    faqText = "Do you have questions about your health insurance that you haven't had time to research? For your convenience, Fringe Benefit Analysts has compiled a list of answers to frequently asked questions.";

    clientInfoText= "In keeping with the latest trends in technology, Fringe Benefit Analysts employs web-based solutions for archiving client information.  Secured client access is granted to allow viewing of your current benefits, rates, and company profile.";
    hrInfoText = "Find pertinent information on current employee benefits issues. Review and maintain your company’s benefits. We have provided a link to the Performance Resources, Inc. website, please peruse our information concerning human resource, turnover and retention issues.  www.prol.ws ";
    contactUsText = "For additional information, or to arrange for a free consultation to see what Fringe Benefit Analysts can do for you?";
    privacyPolicyText = "In compliance with current HIPAA regulations, Fringe Benefit Analysts ensures that all information, documentation, records, files, and data, are protected as confidential.";

    switch(textType){
	    case 1:
            showText = companyText;
            read_more ="companyinfo.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 2:
		    showText = productsText;
            read_more ="products.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 3:
		    showText = servicesText;
            read_more ="services.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 4:
		    showText = faqText;
            read_more ="faq.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 5:
		    showText = clientInfoText;
            read_more ="clientaccess.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 6:
		    showText = hrInfoText;
            read_more ="hrinfo.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 7:
		    showText = contactUsText;
            read_more ="contactus.php";
            document.getElementById('read_more_link').href = read_more
		    break;
		case 8:
		    showText = privacyPolicyText;
            read_more ="privacypolicy.html";
            document.getElementById('read_more_link').href = read_more
		    break;
		default:
		    showText = "";
			break;
	}
    return(showText);

}

