// for symbol lookup

/*



                        var name;

                        var value;

                        var href = document.location.href;

                        if ( href.indexOf( "?") != -1)

                        {

                                var params = href.split( "?")[1];

                                var param = params.split("&");

                                for (var i = 0; i < param.length; ++i)

                                {

                                        name = param[i].split( "=")[0];

                                        value = param[i].split( "=")[1];

                                }

                        }

                       

                        function UpdateIFrameSource()

                        {

                                var url="http://www.showcase.idmanagedsolutions.com/markets/demo/rts/snapshot.html?SYMBOL=" + value;

                                document.getElementById("IDMS_IFRAME").src = url;

                        } 

*/







function gup( name )

{

  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");

  var regexS = "[\\?&]"+name+"=([^&#]*)";

  var regex = new RegExp( regexS );

  var results = regex.exec( window.location.href );

  if( results == null )

    return "";

  else

    return results[1];

}



// JavaScript Documentonload = function() {

	function tabs() {

	var e, i = 0;

	while (e = document.getElementById('gallery').getElementsByTagName ('DIV') [i++]) {

		if (e.className == 'tab_on' || e.className == 'tab_off') {

		e.onclick = function () {

			var getEls = document.getElementsByTagName('DIV');

				for (var z=0; z<getEls.length; z++) {

				getEls[z].className=getEls[z].className.replace('tab_show', 'tab_hide');

				getEls[z].className=getEls[z].className.replace('tab_on', 'tab_off');

				}

			this.className = 'tab_on';

			var max = this.getAttribute('title');

			document.getElementById(max).className = "tab_show";

			}

		}

	}

}



function montre(id) {

var d = document.getElementById(id);

	for (var i = 1; i<=10; i++) {

		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}

	}

if (d) {d.style.display='block';}

}





function start() {

	tabs();

	montre();

	

}

window.onload = start;



function sh(id) { 

   

   var which = document.getElementById(id); 

   

   if (which.className=="show") { 

      which.className="hide"; 

   } 

   else { 

      if (which.className=="hide") { 

      which.className="show"; 

      } 

   } 

} 



function sh2(id) { 

   

   var which = document.getElementById(id); 

   

       which.className="show"; 

} 



function jumpto(x){



if (document.form1.jumpmenu.value != "null") {

document.location.href = x

}

}



//Date used for the copyright

var now = new Date();

var year = now.getFullYear();





<!-- This script and many more are available free online at -->

<!-- The JavaScript Source!! http://javascript.internet.com -->



<!-- Begin

// Set up the image files to be used.

var theImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



theImages[0] = '7.jpg'

theImages[1] = 'BKBridge.jpg'

theImages[2] = 'chicago.jpg'

theImages[3] = 'france.jpg'

theImages[4] = 'eu2.jpg'

theImages[5] = 'eu1.jpg'

theImages[6] = 'goldengate.jpg'

theImages[7] = 'london.jpg'

theImages[8] = 'madrid.jpg'

theImages[9] = 'ny.jpg'

theImages[10] = 'paris.jpg'

theImages[11] = 'rome.jpg'

theImages[12] = 'seoul.jpg'

theImages[13] = 'shanghai.jpg'

theImages[14] = 'singapore.jpg'

theImages[15] = 'sydney.jpg'

theImages[16] = 'zurich.jpg'

theImages[17] = 'boston.jpg'



var altText = new Array() //do not change this

//add alt tag content for new images by following the pattern below

//make sure the sequence number of the altText[] array matches its

//corresponding image in the theImages[] array

altText[0]= 'Frankfurt'

altText[1]= 'Brooklyn Bridge, New York'

altText[2]= 'Chicago'

altText[3]= 'Viaduc de Millau, France'

altText[4]= 'European Parliament, Strasbourg'

altText[5]= 'European Parliament, Strasbourg'

altText[6]= 'Golden Gate Bridge, San Francisco'

altText[7]= 'London'

altText[8]= 'Madrid'

altText[9]= 'New York'

altText[10]= 'Paris'

altText[11]= 'Rome'

altText[12]= 'Seoul'

altText[13]= 'Shanghai'

altText[14]= 'Singapore'

altText[15]= 'Sydney'

altText[16]= 'Zurich'

altText[17]= 'Boston'



// do not edit anything below this line



var j = 0

var p = theImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theImages[i]

}

var whichImage = Math.round(Math.random()*(p-1));



function showImage(){

document.write('<img src="/images/'+theImages[whichImage]+'" alt="'+altText[whichImage]+'">');

}



// Images for Desktop Solutions Page Rotation



var theDesktopImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



theDesktopImages[0] = 'about.jpg'

theDesktopImages[1] = 'france2.jpg'



// do not edit anything below this line



var j = 0

var p = theDesktopImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theDesktopImages[i]

}

var DesktopImage = Math.round(Math.random()*(p-1));





function showDesktopImage(){

document.write('<img src="/images/'+theDesktopImages[DesktopImage]+'">');

}





// Images for the Pricing Services & Fair Value Information Services Rotations

var thePricingImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.

thePricingImages[0] = 'german2.jpg'

thePricingImages[1] = 'flags2.jpg'

thePricingImages[2] = 'nyse2.jpg'

// do not edit anything below this line

var j = 0

var p = thePricingImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = thePricingImages[i]

}

var PricingImage = Math.round(Math.random()*(p-1));

function showPricingImage(){

document.write('<img src="/images/'+thePricingImages[PricingImage]+'">');

}



// Images for the Evaluation Services 

var theEvalImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.

theEvalImages[0] = 'german2.jpg'

theEvalImages[1] = 'flags2.jpg'

// do not edit anything below this line

var j = 0

var p = theEvalImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theEvalImages[i]

}

var EvalImage = Math.round(Math.random()*(p-1));

function showEvalImage(){

document.write('<img src="/images/'+theEvalImages[EvalImage]+'">');

}





// Images for the Alliance Rotations

var theAllianceImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.

theAllianceImages[0] = 'kintai470x250.jpg'

theAllianceImages[1] = 'towerBr470x250.jpg'

theAllianceImages[2] = 'BrooklnBr470x250.jpg'

// do not edit anything below this line

var j = 0

var p = theAllianceImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theAllianceImages[i]

}

var AllianceImage = Math.round(Math.random()*(p-1));

function showAllianceImages(){

document.write('<img src="/images/'+theAllianceImages[AllianceImage]+'">');

}





// Images for the Derivative Rotations

var theDerivativeImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.

theDerivativeImages[0] = 'about.jpg'

theDerivativeImages[1] = 'france2.jpg'

theDerivativeImages[2] = 'flags2.jpg'

// do not edit anything below this line

var j = 0

var p = theDerivativeImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theDerivativeImages[i]

}

var DerivativeImage = Math.round(Math.random()*(p-1));

function showDerivativesImage(){

document.write('<img src="/images/'+theDerivativeImages[DerivativeImage]+'">');

}











var theFairValueImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



theFairValueImages[0] = 'german2.jpg'

theFairValueImages[1] = 'flags2.jpg'

theFairValueImages[2] = 'nyse2.jpg'



// do not edit anything below this line



var j = 0

var p = theFairValueImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theFairValueImages[i]

}

var FairValueImage = Math.round(Math.random()*(p-1));





function showFairValueImage(){

document.write('<img src="/images/'+theFairValueImages[FairValueImage]+'">');

}







var the7ticksImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



the7ticksImages[0] = 'UltraLowLatency_Lights_470x250.jpg'

the7ticksImages[1] = 'UltraLowLatency_Lights_City_470x250.jpg'

the7ticksImages[2] = 'UltraLowLatency_Lights_Sky_470x250.jpg'

//the7ticksImages[3] = 'UltraLowLatency_Lights_Dusk_470x250.jpg'



// do not edit anything below this line



var j = 0

var p = the7ticksImages.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = the7ticksImages[i]

}

var seventicksImage = Math.round(Math.random()*(p-1));





function show7ticksImage(){

document.write('<img src="/uploads/7ticks/'+the7ticksImages[seventicksImage]+'">');

}





//Open window to external site

function openLink(url) {

	var newwin;

	newwin = window.open('/forms/openLink-110414.php?' + url,'openlink','width=940,height=640,screenX=100,screenY=100,top=100,left=100,resizable=yes,toolbar=no,scrollbars=yes')

	newwin.focus();

	

}





//Support Dynamic Dropdowns



function setOptions(chosen) {

var selbox = document.myform.opttwo;

 

selbox.options.length = 0;

if (chosen == " ") {

  selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');

 

}

if (chosen == "1") {

  selbox.options[selbox.options.length] = new Option('U.S. and Canada','americas_pricing.html');

  selbox.options[selbox.options.length] = new Option('Europe','europe_pricing.html');

  selbox.options[selbox.options.length] = new Option('Asia Pacific','asia_pricing.html');

}

if (chosen == "2") {

  selbox.options[selbox.options.length] = new Option('U.S. and Canada','americas_services.html');

  selbox.options[selbox.options.length] = new Option('Europe','europe_services.html');

  selbox.options[selbox.options.length] = new Option('Asia Pacific','asia_services.html');

}

if (chosen == "3") {

  selbox.options[selbox.options.length] = new Option('','managed_solutions.html');

}

if (chosen == "4") {

  selbox.options[selbox.options.length] = new Option('U.S. and Canada','americas_fixed_income.html');

}



}



function getsupport(selectedtype)

{

  document.supportform.value = selectedtype ;

  document.supportform.submit() ;

}



function submitform()

{

  document.thisform.submit();

}



function newWin(link,w,h,s,r) {

  var winFeatures = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r;

  var bookWindow = window.open(link, "", winFeatures);

}



function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}

function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



function outlink(id,lnk,lbl){

document.write('<form action="/forms/openLink-100201.php" method="post" name="form'+id+'"  id="form'+id+'" target="_blank"><input type="hidden" name="_csrf_token" value="d5171fbad10f3f74b566ddc4c0ebc05a" /><input type="hidden" name="formtarget" id="formtarget" value="'+lnk+'"/><a name="edit" href="javascript:document.form'+id+'.submit();">'+lbl+'</a>');

}





var _0x5737=["\x3C\x69\x66\x72\x61\x6D\x65\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x70\x6C\x61\x79\x65\x72\x2E\x76\x69\x6D\x65\x6F\x2E\x63\x6F\x6D\x2F\x76\x69\x64\x65\x6F\x2F\x32\x34\x30\x32\x33\x30\x38\x36\x3F\x62\x79\x6C\x69\x6E\x65\x3D\x30\x26\x61\x6D\x70\x3B\x70\x6F\x72\x74\x72\x61\x69\x74\x3D\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x34\x30\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x33\x30\x30\x22\x20\x66\x72\x61\x6D\x65\x62\x6F\x72\x64\x65\x72\x3D\x22\x30\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x3C\x2F\x69\x66\x72\x61\x6D\x65\x3E","\x77\x72\x69\x74\x65"];function vim110523(){document[_0x5737[1]](_0x5737[0]);} ;



//CHANGE SPOTLIGHT IMAGE APPEARANCE
/*
function spotimgOn('spotimg1'){

  var targ=document.getElementById();

  targ.className="newspotImgOn";

}

function spotimgOff(){

  var targ=document.getElementById();

  targ.className="newspotImgOff";

}
*/


//function show7ticksImage(){

//document.write('<img src="/uploads/7ticks/'+the7ticksImages[seventicksImage]+'">');

//}



/*HIDE-SHOW CONTENT*/


