﻿// Demo Rollover Text
var advent_office_overview = "This overview provides a high-level view of the Advent Office powerful solution suite from portfolio accounting and reporting to trade order management and automated reconciliation, to a variety of customizable Web-based applications. View this demo to see how these integrated solutions allow you to maximize client service, automate and streamline processes, and enable the acceleration of your business";
var axys_portfolio_reporting = "Axys&reg, Advent's industry-leading portfolio management solution brings speed, accuracy, and flexibility to all your portfolio management and accounting functions.  It's a powerful portfolio management and reporting tool that helps you produce a wide variety of professional, graphic reports.  View the demo to see how easy it is to produce sophisticated client portfolio reports.";
var axys_performance_reporting = "Axys Portfolio Accounting, Management and Reporting is a powerful tool for quickly producing performance reports that provide the information you need to support decisions and track your results. View the Performance Reporting demo to see the variety of sophisticated reports you can easily produce.";
var axys_management_reporting = "Axys Portfolio Accounting, Management and Reporting allows you to easily create management reports that help you run your business more effectively. From making better investment decisions to managing brokerage commissions, to accessing timely financial data, view this demo to see how Axys management reports provide the information you need at your fingertips.";
var axys_fixed_income_reporting = "Axys Portfolio Accounting, Management, and Reporting handles the full spectrim of fixed income and asset-backed securities, from basic corporate bonds to the most demanding CMOs and variable rate securities. View the Fixed Income Reporting demo to see samples of the specialized reporting capabilities that Axys provides for these securities.";
var advent_browser_reporting_solutions = "Advent Browser Reporting for Enterprise Users and Advent Broswer Reporting for Investors are examples of how Advent office solutions leverage the power of the Internet. Online access to your portfolio reporting streamlines operations, reduces costs and improves client communication.";
var moxy_trading_and_order_management = "Moxy&reg, Advent's Trade Order Management system, automates manual trading.  It tightly integrates with other Advent applications to enable internal and external straight through processing (STP) and to unite mission-critical functions throughout an organization.  It reports on a full spectrum of security transaction types, including multi-currency, derivatives, swaps, fixed income transactions and complex trading strategies.  View this demo to see how Moxy easily handles all the administrative details so you can focus on trading and investment strategies.";
var moxy_quick_order_creation = "The quickest and easiest of Moxy's powerful order creation capabilities is the Quick Order. Whether you know exactly what security and quantity you want to order or you want to analyze complex allocation strategies, Moxy is a powerful intuitive tool. View this demo to see just how easy creating orders can be";
var moxy_allocation_strategies = "Moxy's comprehensive order-processing toolset makes allocation strategies simple and straightforward. Moxy automates the details reduces trading errors and lowers execution costs - leaving you free to focus on investment decisions. View this demo to see how you can automate your entire order generation process with Moxy.";
var moxy_modeling_and_rebalancing = "Moxy's modeling tools make quick work of balancing portfolios to models. Whether you're balancing against theoretical models or existing portfolios, Moxy does more than just the calculations. It actually generates the necessary buy and sell orders as well. Moxy modeling gives you the power and finesse you need to improve performance";
var qube_client_relationship_management = "Qube, the Advent Office client and portfolio management solution, allows you to take personalized client relationship management to new heights. View this demo to see how Qube's seamless integration with Axys, the leading portfolio accounting and reporting solution, allows you and your firm to deliver unprecedented levels of client service.";
var advent_partner_complete_partnership_accounting = "Advent Partner fully automates the difficult and time-consuming task of accurately accounting for limited partnerships and hedge funds. See how you can handle your complex accounting requirements with ease, increase your accuracy, save time and reduce management expenses with Advent Partner.";
var straight_through_processing = "Advent's STP solutions integrate our software applications with investment managers' mission critical counterparties, brokers, the DTCC, custodians, data sources and other technology.  View this demo to see how STP Connectivity and Integration lower costs for trade execution, integrate data from industry-leading sources, and increase the choice for clients when selecting counterparts and service providers.";
var solutions_demos_apx = "Advent Portfolio Exchange&trade; is the first solution to fully integrate the front office functions of prospecting, marketing and Contact Relationship Management with the back office operations of portfolio accounting and reporting.  See why Portfolio Exchange is the new choice that leverages Advent\'s 23 years of industry expertise and introduces a new SQL based, browser-interface platform.";
var asset_manager_solution = "With more than 1,800 asset management clients, the Advent solution for asset managers is designed to meet the specialized portfolio accounting and reporting, order management, custodial data, and client relationship management needs of firms like yours.  Watch how the asset manager solution leverages thoroughly integrated modules to handle diverse business and technical challenges.";
var advent_partner_premium = "Ideal for fund administrators and hedge funds, Advent Partner Premium provides investor management reporting, and full investor accounting for both onshore and offshore funds.  Report on investor's multiple capital accounts, either within one fund or across multiple funds.  View a single Management Report across all of your funds.";
var family_office = "Advent for Family Offices is the industry's first front-to-back-office solution designed to meet the specialized investment management and reporting requirements for single-family and multi-family offices of all sizes."
var revenue_center = "Advent Revenue Center provides asset managers with a solution that automates complex billing processes, from fee creation to accounts-receivable management."
var advent_portfolio_exchange = "Advent Portfolio Exchange,  the integrated portfolio management and client service solution, automates all phases of the investment management process from marketing to reporting. In addition to industry leading reporting, built-in CRM and compliance, APX now includes performance analytics to give you deeper insight into results. (Length: 6 min)";
var axys = "Axys, Advent's industry-leading portfolio management, reporting and accounting solution, brings speed, accuracy and flexibility to your firm's investment management practice.";
var moxy = "Moxy, Advent's Trade Order Management system, integrates with other Advent applications to enable internal and external straight through processing. With more than 750 firms relying on Moxy everyday for trade order management, Advent sets the standard for trading workflow.  Moxy streamlines all aspects of the trading process --from portfolio construction through settlement -- providing a stable, centralized location for making and executing trading decisions.  (Length: 6 min)";
var advent_partner = "Advent Partner is the only solution you need for complete investor accounting and servicing for both your onshore and offshore funds.";
var hedge_funds = "Advent for Hedge Fund Managers provides a solution that dramatically streamlines the process of delivering timely, and accurate information to your front office, middle office, and investors.";
var independent_advisors = "Advent Software offers investment management firms the comprehensive tools needed to increase efficiency and improve profitability. The deep functionality of Axys, Advent's industry standard portfolio management and reporting module, enables firms to streamline and automate their operations while providing unmatched reporting capabilities.";
var geneva = "Geneva, Advent's full financial accounting and real time investment platform offers a unified data model to support all instruments, all departments, and all offices across a firm.  Now, Geneva delivers another advantage, an entirely new user interface and reporting platform for easier access to critical information across the firm.  Retrieving and acting on accurate, real time data has never been easier. (Length: 6 min)"
var abos = "Advent Back Office Service (ABOS) allows you to leverage the full power of Advent's industry-leading portfolio accounting and reporting software, while outsourcing your data management functions. This 6 minute demo explores how outsourcing your back office to Advent's industry-leading portfolio accounting system Advent Portfolio Exchange (APX) will help your firm attain new levels of speed, accuracy and flexibility.";
var rules_manager = "With Advent Rules Manager, a comprehensive solution for trading compliance and portfolio monitoring, you can turn your manual policies and procedures into automated processes and take compliance to a new level. Advent Rules Manager comes with easy-to-implement rule guides, flexible coverage options, and automated reporting, allowing you to protect clients during trading, honor investor preferences, and support key elements of industry regulations.";
var wealth_managers = "Advent for Wealth Managers is a comprehensive solution designed to meet the specialized needs of wealth managers, trust companies and private banks. More than 200 wealth managers of varying sizes currently leverage Advent's reliable and proven investment management technology. The Advent solution provides you with the ability to respond quickly to customized reporting requests, automate manual processes like quarter end reporting, and improve your operational efficiency in trade order management and straight through processing."
var hedge_funds = "With more than 500 alternative investment clients, Advent understands the needs of hedge fund managers. The Advent solution features an industry leading accounting model, flexible reporting and data management capabilities, and a powerful investor management and partnership accounting tool. Watch how this end-to-end solution gives firms like yours the power to deliver timely, accurate information to portfolio managers, traders and investors alike. (7 min)";
var tamale_solution = "Designed to quickly capture and centralize the primary research that investment professionals use every day, Tamale RMS (Research Management Solution) is an easy-to-use research management solution that helps analysts and portfolio managers intuitively capture and aggregate information relevant to their investment process, and effortlessly sort and filter research.";
var tamale_multi_manager = "Tamale RMS provides a centralized repository for capturing and organizing research data to support your manager search, selection and oversight processes. By aggregating manager research in a single location, Tamale facilitates collaboration, creates greater transparency and enhances institutional memory.";

//function to show demo description
function showLayer(layerName) {
	hideLayer();
	$("#demoDescription").html(eval(layerName));
}

//function to show demo description for lower section
function showLowerLayer(layerName) {
	hideLayer();
	$("#demoDescriptionLower").html(eval(layerName));
}

function hideLayer() {
	$("#demoDescription").html('');
	$("#demoDescriptionLower").html('');
}

// Page Tools Popup
function PopPageTools(url) {
	pageToolsWin = window.open(url, "", "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=690,height=560");
}

function addBookmark(title, url) {
	//alert('adding ' + title + ', ' + url);
	if (window.sidebar) {
		window.sidebar.addPanel(title, url, "");
	} else if (document.all) {
		window.external.AddFavorite(url, title);
	} else if (window.opera && window.print) {
		return true;
	}
}

function autoEllipseText(element, text, width) {
    element.innerHTML = "<span id='ellipsisSpan' style='white-space:nowrap;'>" + text + "</span>";
    inSpan = document.getElementById('ellipsisSpan');
    if (inSpan.offsetWidth > width) {
        var i = 1;
        inSpan.innerHTML = '';
        while (inSpan.offsetWidth < (width) && i < text.length) {
            inSpan.innerHTML = text.substr(0, i) + '';
            i++;
        }

        returnText = inSpan.innerHTML;
        element.innerHTML = '';
        return returnText;
    }
    return text;
}

