var news = new Array();
var updates = new Array();
var currentNewsItem = 0;
var currentUpdatesItem = 0;
var deepLink = 'undefined';
var currentBenefit = 4;

var benefits = new Array();
benefits = ['Agility', 'Experience', 'Innovation', 'Integrity', 'Precision'];

var operationalAlphaQuotes = new Array();
operationalAlphaQuotes[0] = "<div id='captionTitle' class='captionTitle'><span class='captionTitleIntro'>Operational Alpha:</span><span class='captionTitleFull'>Agility</span></div>&quot;We put a premium on strong operations, accurate information and flawless execution.  We are pleased to partner with Omnium to leverage their technology, processes and people to maximize our own operations and allow us to focus on our investments.&quot;<br/><div class='captionSignature'>- Rafael Mayer, Managing Partner, Khronos</div>";
operationalAlphaQuotes[1] = "<div id='captionTitle' class='captionTitle'><span class='captionTitleIntro'>Operational Alpha:</span><span class='captionTitleFull'>Experience</span></div>&quot;During our search for an administrator and middle office service provider, we found Omnium&rsquo;s depth of product knowledge and quality of training amongst its personnel to stand out among its peers. Their ability to handle and process complex instruments is integral to our business.&quot;<br/><div class='captionSignature'>- Kurt Locher, CFO, One William Street Capital Management</div>";
operationalAlphaQuotes[2] = "<div id='captionTitle' class='captionTitle'><span class='captionTitleIntro'>Operational Alpha:</span><span class='captionTitleFull'>Innovation</span></div>&quot;After considering several top administrators, we chose the firm that we believe will add the most value and help us drive our business forward. Omnium has solid technology combined with an experienced team.&quot;<br/><div class='captionSignature'>- Christopher Gust, CEO, Wolverine Asset Management</div>";
operationalAlphaQuotes[3] = "<div id='captionTitle' class='captionTitle'><span class='captionTitleIntro'>Operational Alpha:</span><span class='captionTitleFull'>Integrity</span></div>&quot;Especially in today&rsquo;s environment, believing in the integrity of your counterparties is critical - the Omnium team has demonstrated honesty and the ability to stand by their principles throughout our engagement.&quot;<br/><div class='captionSignature'>- Ken Warren, CFO, LittleJohn & Co. LLC</div>";
operationalAlphaQuotes[4] = "<div id='captionTitle' class='captionTitle'><span class='captionTitleIntro'>Operational Alpha:</span><span class='captionTitleFull'>Precision</span></div>&quot;Their technology is built to scale - seamlessly, accurately, and reliably.  These qualities are essential to support the trading activities of a fund that trades significant volumes of trades on a daily basis like ours.&quot;<br/><div class='captionSignature'>- Josh Goldstein, COO, Verition</div>";

//preload images
var pathToImg = new Array()
for (i = 0; i < benefits.length; i++) {
	pathToImg[i] = new Image()
	pathToImg[i].src = "./img/operationalAlphaBenefits/" + benefits[i] + ".png";
}

var inc = -1;

function bgSlide() {
	if (document.getElementById('captionTitle')) {
		if (inc < benefits.length - 1)
			inc++
		else
			inc = 0

		document.getElementById('captionText').innerHTML = operationalAlphaQuotes[inc];
		currentBenefit = inc;

		var flashvars = {
			xmlPath : "xml/",
			swfPath : "swf/",
			showClose : "false",
			deepLink : currentBenefit
		};

	}
}

if (document.all || document.getElementById)
	window.onload = new Function('bgSlide();setInterval("bgSlide()",10000)')

function navigateNews(direction) {

	if (news[0]) {

		if (direction == "down") {
			if (news[currentNewsItem + 1]) {
				currentNewsItem++;
				document.getElementById('newsItem').innerHTML = news[currentNewsItem].headline;
				document.getElementById('newsDate').innerHTML = news[currentNewsItem].date;
			}

		}

		else {
			if (news[currentNewsItem - 1]) {
				currentNewsItem--;
				document.getElementById('newsItem').innerHTML = news[currentNewsItem].headline;
				document.getElementById('newsDate').innerHTML = news[currentNewsItem].date;
			}

		}

		if (!news[currentNewsItem + 1]) {
			document.getElementById('newsDownNav').style.backgroundPosition = '-10px -8px';
			document.getElementById('newsDownNav').style.cursor = 'default';
		} else {
			document.getElementById('newsDownNav').style.backgroundPosition = '0px -8px';
			document.getElementById('newsDownNav').style.cursor = 'pointer';
		}

		if (!news[currentNewsItem - 1]) {
			document.getElementById('newsUpNav').style.backgroundPosition = '-10px 0px';
			document.getElementById('newsUpNav').style.cursor = 'default';
		} else {
			document.getElementById('newsUpNav').style.backgroundPosition = '0px 0px';
			document.getElementById('newsUpNav').style.cursor = 'pointer';
		}

	}

}

function navigateUpdates(direction) {

	if (updates[0]) {

		if (direction == "down") {
			if (updates[currentUpdatesItem + 1]) {
				currentUpdatesItem++;
				document.getElementById('updateItem').innerHTML = updates[currentUpdatesItem].headline;
				document.getElementById('updateDate').innerHTML = updates[currentUpdatesItem].date;
			}

		}

		else {
			if (updates[currentUpdatesItem - 1]) {
				currentUpdatesItem--;
				document.getElementById('updateItem').innerHTML = updates[currentUpdatesItem].headline;
				document.getElementById('updateDate').innerHTML = updates[currentUpdatesItem].date;
			}

		}

		if (!news[currentUpdatesItem + 1]) {
			document.getElementById('updateDownNav').style.backgroundPosition = '-10px -8px';
			document.getElementById('updateDownNav').style.cursor = 'default';
		} else {
			document.getElementById('updateDownNav').style.backgroundPosition = '0px -8px';
			document.getElementById('updateDownNav').style.cursor = 'pointer';
		}

		if (!news[currentUpdatesItem - 1]) {
			document.getElementById('updateUpNav').style.backgroundPosition = '-10px 0px';
			document.getElementById('updateUpNav').style.cursor = 'default';
		} else {
			document.getElementById('updateUpNav').style.backgroundPosition = '0px 0px';
			document.getElementById('updateUpNav').style.cursor = 'pointer';
		}

	}

}

// Header Menu

var timeout = 200;
var closetimer = 0;
var ddmenuitem = 0;
var remainOpen = false;
var currentId = 0;

// open hidden layer
function mopen(id) {
	// cancel close timer
	mcancelclosetime();
	

	// close old layer
	if (ddmenuitem)
		ddmenuitem.style.visibility = 'hidden';

	
	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

	if (currentId == currentPage)
		ddmenuitem = 0;

}
// close showed layer
function mclose() {
	if (currentId != currentPage) {
		//if (!remainOpen)
		if (ddmenuitem)
			ddmenuitem.style.visibility = 'hidden';
	}
}

// go close timer
function mclosetime() {
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime() {
	if (closetimer) {
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose;

// Benefits Fade

var TimeToFade = 2000.0;

function fade(eid) {

	var element = document.getElementById(eid);
	if (element == null)
		return;

	if (element.FadeState == null) {
		element.FadeState = -2;

	}

	if (element.FadeState == 1 || element.FadeState == -1) {
		element.FadeState = element.FadeState == 1 ? -1 : 1;
		element.FadeTimeLeft = TimeToFade - element.FadeTimeLeft;

	} else {
		element.FadeState = element.FadeState == 2 ? -1 : 1;
		element.FadeTimeLeft = TimeToFade;
		setTimeout("animateFade(" + new Date().getTime() + ",'" + eid + "')",
				33);

	}

}

function animateFade(lastTick, eid) {

	var curTick = new Date().getTime();
	var elapsedTicks = curTick - lastTick;

	var element = document.getElementById(eid);

	if (element.FadeTimeLeft <= elapsedTicks) {

		element.style.opacity = element.FadeState == 1 ? '1' : '0';
		element.style.filter = 'alpha(opacity = '
				+ (element.FadeState == 1 ? '100' : '0') + ')';
		element.FadeState = element.FadeState == 1 ? 2 : -2;

		if (element.FadeState == -2) {
			document.getElementById('pageBenefitsBar').style.left = '-970px';
			document.getElementById('pageBlackout').style.display = 'none';
		}

		return;
	}

	element.FadeTimeLeft -= elapsedTicks;
	var newOpVal = element.FadeTimeLeft / TimeToFade;
	if (element.FadeState == 1)
		newOpVal = 1 - newOpVal;

	element.style.opacity = newOpVal;
	element.style.filter = 'alpha(opacity = ' + (newOpVal * 100) + ')';

	setTimeout("animateFade(" + curTick + ",'" + eid + "')", 33);

}

// Benefits Block Scroll

x = 80
y = -970
distanceX = 0
distanceY = 0

function slideBenefitsRight() {

	if (document.layers) {
		document.layers.pageBenefitsBar.left = y + "px";
	}
	if (document.all) {
		document.all.pageBenefitsBar.style.left = y;
	}
	if (document.getElementById) {
		document.getElementById('pageBenefitsBar').style.left = y + "px";
	}

	if (parseInt(distanceY) > 63) {
		clearTimeout(timer1), y = parseInt(y), distanceY = parseInt(distanceY);
		document.getElementById('pageBenefitsBar').style.left = 0 + "px";
	} else {
		y = parseInt(y) + 15, distanceY = parseInt(distanceY) + 1, timer1 = setTimeout(
				'slideBenefitsRight()', 1);
	}

	if (document.layers) {
		document.layers.pageBlackout.style.display = "block";
	}
	if (document.all) {
		document.all.pageBlackout.style.display = "block";
	}
	if (document.getElementById) {
		document.getElementById('pageBlackout').style.display = "block";
	}

}

function slideBenefitsLeft() {

	if (document.layers) {
		document.layers.pageBenefitsBar.left = y - 5 + "px";
	}
	if (document.all) {
		document.all.pageBenefitsBar.style.left = y - 5;
	}
	if (document.getElementById) {
		document.getElementById('pageBenefitsBar').style.left = y - 5 + "px";
	}

	if (distanceY < 1) {
		clearTimeout(timer1), y = parseInt(y), distanceY = parseInt(distanceY);
	} else {
		y = parseInt(y) - 15, distanceY = parseInt(distanceY) - 1, timer1 = setTimeout(
				'slideBenefitsLeft()', 15);
	}

	if (document.layers) {
		document.layers.pageBlackout.style.display = "none";
	}
	if (document.all) {
		document.all.pageBlackout.style.display = "none";
	}
	if (document.getElementById) {
		document.getElementById('pageBlackout').style.display = "none";
	}
}

/* Setup the Benefits Bar Deep Linking */

var servicesData = new Array();


// Trade Processing

var TradeProcessingText = "";

TradeProcessingText += "<span class='arcTitle'>Trade Processing</span><span class='arcNav'>Trade Capture</span><div id='servicesDetailText' class='servicesDetailText'>Our clients input their trades and allocations directly into our OmniumAccess client interface or our Client Gateway connecting directly to their order management or portfolio management system.  We can capture trades in real-time or batch for our clients. </div>";
TradeProcessingText += "<span class='arcNav'>Trade Transmission</span><div id='servicesDetailText' class='servicesDetailText'>We use the SWIFT infrastructure to transmit trades individually and in real-time to prime brokers.  We immediately resolve errors and automate the cancel/correct process.  This improves operational efficiency for our clients. </div>";
TradeProcessingText += "<span class='arcNav'>Same Day Trade Match</span><div id='servicesDetailText' class='servicesDetailText'>With our same day trade match service, our clients can resolve discrepancies and reduce risk well before the settlement date.</div>";
TradeProcessingText += "<span class='arcNav'>Fail Management</span><div id='servicesDetailText' class='servicesDetailText'>Our Fail Management Service takes advantage of reporting tools to track all failing trades and actively resolve issues between your prime broker and executing counterparties. We also research the underlying causes of your fails to make sure the same issues don't recur.</div>";
TradeProcessingText += "<span class='arcNav'>Reconciliations</span><div id='servicesDetailText' class='servicesDetailText'>We ensure our clients’ books are accurate across all activity, positions and cash with a fully automated reconciliation of their records with those of their counterparties.  Delivered through the OmniumAccess client interface, our concise exception-based reporting helps our clients resolve breaks quickly and effectively.</div>";
TradeProcessingText += "<span class='arcNav'>Break Resolution</span><div id='servicesDetailText' class='servicesDetailText'>For clients subscribing to our break resolution service, we will follow up with their team, their counterparties and their prime brokers to understand and resolve any exceptions.</div>";
// Fund Administration

var FundAdministrationText = "";

FundAdministrationText += "<span class='arcTitle'>Fund Administration</span><span class='arcNav'>Financial Statements</span><div id='servicesDetailText' class='servicesDetailText'>Our multi-tiered controls and our team of certified public accountants ensure accurate and timely financial statements.  We actively consult with our clients as to the appropriate accounting treatment for complex instruments and review any structural changes throughout the reporting period.</div>";
FundAdministrationText += "<span class='arcNav'>NAV Calculation</span><div id='servicesDetailText' class='servicesDetailText'>We apply rigorous processes and controls to ensure an accurate NAV calculation and investor allocation.</div>";
FundAdministrationText += "<span class='arcNav'>Annual Financials &amp; Audit Support</span><div id='servicesDetailText' class='servicesDetailText'>We assist with the audit process for our clients by providing their auditors with first draft annual financial statements including footnotes.  We respond quickly and accurately to auditor requests for additional information.  Our experience and our SAS 70 Type II certification ensure a seamless audit process. </div>";
FundAdministrationText += "<span class='arcNav'>Annual Tax Support</span><div id='servicesDetailText' class='servicesDetailText'>We provide all of the supporting data for the preparation of K-1 forms and tax returns for our clients.</div>";

TradeProcessingText += "";
TradeProcessingText += "";
TradeProcessingText += "";


// OmniumAccess Applications


var ArkApplicationsText = "<span class='arcTitle'>OmniumAccess&#8482;</span><div class='servicesDetailText'>Continuing our commitment to transform the client-administrator relationship, Omnium collaborated with clients, investors and our premier team of technologists to develop OmniumAccess. This innovative technology suite: <ul><li>Empowers its users to access, configure and manage data in real-time</li><li>Seamlessly integrates with our clients’ books and records to ensure constant data consistency between systems</li><li>Allows for configurable, permission-based access to facilitate varying employee and investor transparency needs</li><li>Supports multi-PB, multi-counterparty and multi-trading systems</li></ul> Via simple, web-based depolyment from your desktop; experience administration like you never thought possible </div>";
ArkApplicationsText += "<span class='arcNav'>Cross-Application Functionality</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>View trades and positions across all funds, strategies, desks, asset classes, counterparties, trading systems and custom labels</li><li>Customize views with flexible filtering and pivoting options</li><li>Customize data layout with column sort, hide, drag and drop functionality</li><li>Import and export data directly from the applications based on industry standard file formats</li></ul></div>";
ArkApplicationsText += "<span class='arcNav'>Transaction Management</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>View all trades in real-time</li><li>Book, allocate, monitor affirmation and post trades in real-time to books and records across time zones</li><li>Utilize rules-based allocation logic for multi-fund and multi-prime strategies, as well as flexible commission schedule configurations by region, currency, counterparty and financial type</li><li>Identify and correct trade booking errors on trade date and amend trades on T+1 via an exception blotter and electronic, automated workflows with the account management team</li><li>Query for historical transactions inclusive of trades, corporate actions, accruals, pay downs and any lifecycle events affecting your portfolio</li><li>Monitor a comprehensive audit trail to track all trade events inclusive of trade bookings, allocations, cancels, amendments and other post trade lifecycle events</li></ul></div>";
ArkApplicationsText += "<span class='arcNav'>Position &amp; P&amp;L Management</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>View your portfolio with live intraday updates of positions based on new transactions including trades, amendments, corporate actions and other post trade lifecycle events</li><li>View price and P&L updates when new data is received</li><li>Slice and dice your portfolio based on customizable hierarchical views of your portfolio, P&L and prices for real-time intraday and historical analysis, with flexible grouping, drill-down and filtering functionality</li></ul></div>";
ArkApplicationsText += "<span class='arcNav'>Cash Management</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>Enter cash transactions directly to your books and records</li><li>Enter and approve outbound wire requests from your bank account and monitor the status in real-time</li><li>Maintain payment models in the system for maximum control and efficiency</li></ul></div>";
ArkApplicationsText += "<span class='arcNav'>Valuation Center</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>Utilize the interactive valuation dashboard as a central console for current and historical pricing data</li><li>Upload prices and monitor posting status to ensure successful processing</li><li>Access your security master for referential data on all positions in your portfolio</li></ul></div>";
ArkApplicationsText += "<span class='arcNav'>Reporting, Custom Labels &amp; Online Help</span><div id='servicesDetailText' class='servicesDetailText'><ul><li>Manage your daily, monthly and yearly reports, available in PDF, XLS and CSV</li><li>Assign custom descriptive labels for your positions and symbols, and incorporate them in your views of position and P&L for attribution</li><li>Take advantage of intuitive, context-specific online help, accessible directly from each application </li></ul></div>";
  
servicesData['AccountManagement'] = "<div class='servicesDetailSubTitle' style='background-image: url(./img/pages/services/ClientCoverage.png);'>&nbsp;</div><div id='servicesDetailText' class='servicesDetailText'>Experience exceptional service.<br/><br/>Your Omnium account manager is a seasoned operations domain expert and serves as your day-to-day contact, making sure your administered business runs efficiently and effectively. They also serve as your advocate for special requests. Omnium goes the distance to make sure your service is exceptional. </div>";


servicesData['Applications'] = "<span class='arcTitle'>Applications</span><span class='arcNav'>Ignition</span><div id='servicesDetailText' class='servicesDetailText'>Bloomberg has joined forces with Omnium to create Ignition&#153;, a fully-integrated platform with tools designed to support CFOs, traders, middle-office operations as well as traditional and alternative fund managers.<br/><br/>Ignition combines the Operational Alpha delivered only via Omnium&#039;s administration platform with the power of Bloomberg AIM&#039s trading platform, allowing our clients to enhance operational accuracy and efficiency by including middle-office and fund administration support into firm-wide workflow.<br/><br/>Turn-key Implementation<ul><li>Full integration of front-, middle-, and back-office solutions including OMS, EMS, risk, compliance, data, pricing, middle office and fund administration in one streamlined process</li><li>Daily, automated reconciliation of trading positions to the Fund Administrator</li><li>Bi-directional connectivity allows for exchange of prices, trade status transmission, book structure and more</li></ul>Firm-wide Workflow<ul><li>Bloomberg and Omnium deliver a consistent workflow with real-time trade notifications and complete reconciliation between the front- and back-office </li><li>Straight-through, real-time trade processing for a broad range of transaction types with status messaging on the trade blotter</li><li>Access to admin prices from the trading system; the ultimate in valuation transparency</li><li>Superior controls, and a Best Practices approach which promotes investor confidence</li></div>";

servicesData['Ark'] = ArkApplicationsText;

servicesData['AssetServicing'] = "<span class='arcTitle'>Asset Servicing</span><span class='arcNav'>Security Management</span><div id='servicesDetailText' class='servicesDetailText'>We establish and maintain all relevant security data for our clients’ positions in our security master and provide our clients with full transparency via our OmniumAccess client interface.  Our team of experts provides accurate and consistent reference data with controls based on product best practices and market conventions.</div><span class='arcNav'>Corporate Actions and Event Processing</span><div id='servicesDetailText' class='servicesDetailText'>Our forecast reporting allows our clients to plan ahead for corporate actions in their portfolios.  Straight-through processing handles mandatory events with speed and efficiency.  We post voluntary corporate actions only upon instruction.</div><span class='arcNav'>OTC Derivatives</span><div id='servicesDetailText' class='servicesDetailText'>Our best-in-class OTC environment automates derivative processing and our domain experts oversee transactions, positions and events.  Take advantage of our direct connectivity with the DTCC for automated confirmation and matching or rely on our experts to verify the economic details of paper confirmations.  We can reconcile resets and cash flows on client positions prior to funds being exchanged with counterparties.<br/><br/>Our bank debt platform provides efficient transaction processing and detailed positions and profit/loss tracking.  Our access to Wall Street Office data services means maturing contracts, interest payments, pay downs and PIKs are processed quickly and accurately for our clients.</div><span class='arcNav'>Global Fixed Income Processing</span><div id='servicesDetailText' class='servicesDetailText'>Our systems and expertise make fixed income securities easy to manage.  Our platform provides advanced automation that creates securities real-time.  It also provides seamless lifecycle event processing from pay downs to factor changes, principal losses and interest rate short falls.  Our team monitors control reports and verifies data integrity, making sure your events are processed quickly and correctly.</div><span class='arcNav'>Expiration Services</span><div id='servicesDetailText' class='servicesDetailText'>We provide our clients with priority handling for option expirations and futures maturities.  We confirm that our clients’ instructions reflect accurate positions and prices, post actions over expiration weekend and identify any issues prior to the start of trading. </div>";
servicesData['CashManagement'] = "<span class='arcTitle'>Cash Management</span><span class='arcNav'>Bank Account &amp; Wire Services</span><div id='servicesDetailText' class='servicesDetailText'>Our clients have the ability to enter and approve wire transfers through our OmniumAccess interface. Client funds are moved quickly and securely using OmniumAccess.</div><span class='arcNav'>OTC Collateral Management</span><div id='servicesDetailText' class='servicesDetailText'>Our systems automatically calculate collateral requirements based on a client’s positions and pricing policies.  This allows our clients to easily validate and manage daily OTC collateral calls.</div><span class='arcNav'>Capital Reporting</span><div id='servicesDetailText' class='servicesDetailText'>We provide our clients with transparency through aggregated daily cash requirements and counterparty exposure reporting.  Capital can be managed more efficiently using our capital reporting tools. </div>";
servicesData['FundAdministration'] = FundAdministrationText;
servicesData['Implementation'] = "<span class='arcTitle'>Implementation</span><span class='arcNav'>New Fund Launches</span><div id='servicesDetailText' class='servicesDetailText'>A dedicated team of Omnium launch specialists gets our start-up clients up and running on schedule. We help our clients cover every detail and clear unexpected obstacles, making sure they get it right, from the start.</div><span class='arcNav'>Fund Conversions</span><div id='servicesDetailText' class='servicesDetailText'>Whether transitioning from an internal platform or another administrator, our Omnium conversion specialists will make it happen smoothly. Up-front analysis of our clients’ portfolios eliminates surprises while proprietary technology simplifies the process. </div><div class='servicesDetailTitle' style='background-image: url(./img/pages/services/AccountManagement.png);'>&nbsp;</div><span class='arcTitle'>Account Management</span><span class='arcNav'>Client Coverage</span><div id='servicesDetailText' class='servicesDetailText'>Our clients are assigned an Omnium account manager who is a seasoned operations domain expert and serves as their day-to-day contact, making sure our clients’ services are performed efficiently and effectively. The account manager also serves as our clients’ advocate for special requests. Omnium goes the distance to make sure service is exceptional. </div>";
servicesData['InvestorServices'] = "<span class='arcTitle'>Investor Services</span><span class='arcNav'>Reporting</span><div id='servicesDetailText' class='servicesDetailText'>We assist our clients in keeping their investors informed with our flexible reporting options.  Our permission-based reporting provides customized month-end investor reports.  Clients are given the tools to create their own customized reports. </div><span class='arcNav'>Subscriptions, Redemptions &amp; Transfers</span><div id='servicesDetailText' class='servicesDetailText'>Our solutions streamline investor capital activity including subscriptions, redemptions and transfers.  We provide our clients with reporting capabilities to track investor activities. </div><span class='arcNav'>AML (Anti-Money Laundering)</span><div id='servicesDetailText' class='servicesDetailText'>Our team ensures compliance with AML provisions and Know Your Client (KYC) requirements resulting in a streamlined authorization process. </div>";
servicesData['TradeProcessing'] = TradeProcessingText;
servicesData['Valuation'] = "<span class='arcTitle'>Valuation / Product Control</span><span class='arcNav'>Valuation</span><div id='servicesDetailText' class='servicesDetailText'>Our team ensures that valuation policies are applied consistently across our clients’ entire portfolio.  We use many different valuation providers in order to guarantee a timely revaluation that meets our client&#039;s pricing preferences.  <br/><br/>Our month-end valuation process provides thorough documentation and complete transparency.  Monthly valuation statements are reviewed for accuracy by experienced team members ensuring an accurate portfolio valuation.</div><span class='arcNav'>Profit &amp; Loss Calculation</span><div id='servicesDetailText' class='servicesDetailText'>We calculate a daily P&L in order to provide our clients with timely portfolio performance data.  Our integrated P&L calculation process provides for a straight-forward month-end reconciliation process.  Our tools allow for customized reporting tailored to meet our client&#039;s analytical needs. </div>";

var urlVars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1)
		.split('&');

for (var i = 0; i < hashes.length; i++) {
	hash = hashes[i].split('=');
	urlVars.push(hash[0]);
	urlVars[hash[0]] = hash[1];
}

if (urlVars["deepLink"] == undefined)
	urlVars["deepLink"] = "Ark"

function changeSelection(selection) {
	document.getElementById('servicesDetailTitle').style.backgroundImage = "url(./img/pages/services/"
			+ selection + ".png)";
			
	if (selection == "Valuation")
		document.getElementById('servicesDetailTitle').style.backgroundImage = "url(./img/pages/services/ValuationProductControl.png)";		
	
	if (servicesData[selection].length > 0)
		document.getElementById('servicesDetail').innerHTML = servicesData[selection];

}

function getFlashMovieObject(movieName) {
	if (window.document[movieName]) {
		return window.document[movieName];
	}
	if (navigator.appName.indexOf("Microsoft Internet") == -1) {
		if (document.embeds && document.embeds[movieName])
			return document.embeds[movieName];
	} else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	{
		return document.getElementById(movieName);
	}
}

function SendDataToFlashMovie() {
	var flashMovie = getFlashMovieObject("benefitsBar");
	flashMovie.StopPlay();
	flashMovie = null;

	var flashContainer = document.getElementById("pageBenefitsBar");
	flashContainer.innerHTML = "<div id='benefitsBar'></div>";
	var flashvars = {
		xmlPath : "xml/",
		imgPath : "img/",
		swfPath : "swf/",
		showClose : "true",
		skipIntro : "true"
		//deepLink : currentBenefit
	};
	// deepLink: 0 thru 4
	// Agility - 0
	// Precision - 4

	var params = {
		wmode : "transparent"
	};
	swfobject.embedSWF("swf/benefits.swf", "benefitsBar", "940", "483", "10.0.0", "expressinstall.swf", flashvars, params, { id:"site" } );
	

}
