var tWidth='768px';                  // width (in pixels)
var tHeight='21px';                  // height (in pixels)
var tcolour='#ffffcc';               // background colour:
var moStop=false;                     // pause on mouseover (true or false)
var fontfamily = 'arial,sans-serif'; // font for content
var tSpeed=4;                        // scroll speed (1 = slow, 5 = fast)

// enter your ticker content here (use \/ and \' in place of / and ' respectively)
//var content='Are you looking for loads of useful information <a href="http:\/\/javascript.about.com\/">About Javascript<\/a>? Well now you\'ve found it.';
//var content = '<span style="background-color:#001B8E;"><font color="#FFFFFF">&nbsp;2008 Year end value Mei Moses&reg; All Art Index:&nbsp;</font></span><b> 267.1 </b> &nbsp; &nbsp; <span style="background-color:#001B8E;"><font color="#FFFFFF">&nbsp;2009 Mid Year Tracking Report:&nbsp;</font></span><b> All Art Index down 31% </b>'
var content;
content = '<b>';

content += '<font color="#001B8E">September 2011 Tracking Result For The Mei Moses&reg; World All Art Index: <font color="#008000">Up 4.10%</font> From Year End 2010</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">2011 Third Quarter Tracking Results For The New Mei Moses&reg; Art Indexes From Year End 2010:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Impressionist and Modern Index:</font>';
content += ' <font color="#008000">Up 17.30%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Old Master and 19th Century Index:</font>';
content += ' <font color="#008000">Up 7.20%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Post War and Contemporary Index:</font>';
content += ' <font color="#FF0000">Down 4.7%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Traditional Chinese Index:</font>';
content += ' <font color="#008000">Up 24.00%</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">July 2011 Tracking Result For The Mei Moses&reg; World All Art Index: <font color="#008000">Up 5.40%</font> From Year End 2010</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">2011 Mid Year Tracking Results For The New Mei Moses&reg; Art Indexes From Year End 2010:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">World All Art:</font>';
content += ' <font color="#008000">Up 7.86%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Regional All Art - New York:</font>';
content += ' <font color="#008000">Up 10.12%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">London:</font>';
content += ' <font color="#008000">Up 19.79%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Europe:</font>';
content += ' <font color="#008000">Up 16.95%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">World Collecting Category:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Impressionist And Modern:</font>';
content += ' <font color="#008000">Up 19.34%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Old Master And 19th Century:</font>';
content += ' <font color="#008000">Up 5.26%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Post War and Contemporary:</font>';
content += ' <font color="#FF0000">Down 4.42%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Traditional Chinese Works Of Art:</font>';
content += ' <font color="#008000">Up 31.11%</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">2011 First Quarter Tracking Results For Mei Moses&reg; World Indexes Percentage Change From Year End 2010:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">All Art Index-W:</font>';
content += ' <font color="#008000">Up 1.46%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Impressionist and Modern Index-W:</font>';
content += ' <font color="#008000">Up 6.28%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Old Master and 19th Century Index-W:</font>';
content += ' <font color="#008000">Up 15.67%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Post War and Contemporary Index-W:</font>';
content += ' <font color="#008000">Up 3.68%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Traditional Chinese Index-W:</font>';
content += ' <font color="#008000">Up 14.59%</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">2010 Year End Mei Moses&reg; World Art Indexes Percentage Change From Year End 2009:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">All Art Index-W:</font>';
content += ' <font color="#008000">Up 22.29%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Impressionist and Modern Index-W:</font>';
content += ' <font color="#008000">Up 7.55%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Old Master and 19th Century Index-W:</font>';
content += ' <font color="#008000">Up 4.77%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Post War and Contemporary Index-W:</font>';
content += ' <font color="#008000">Up 28.47%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Traditional Chinese Index-W:</font>';
content += ' <font color="#008000">Up 55.60%</font>';
content += ' &nbsp; &nbsp; ';

content += '<font color="#001B8E">2010 Year End Mei Moses&reg; Indexes New York Based Percentage Change From Year End 2009 Values:</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">All Art Index-NY:</font>';
content += ' <font color="#008000">Up 16.6%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">American Before 1950 Index-NY:</font>';
content += ' <font color="#008000">Up 6.23%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Impressionist and Modern Index-NY:</font>';
content += ' <font color="#008000">Up 10.97%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Latin America Index-NY:</font>';
content += ' <font color="#FF0000">Down 1.00%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Old Master and 19th Century Index-NY:</font>';
content += ' <font color="#008000">Up 3.54%</font>';
content += ' &nbsp; &nbsp; ';
content += '<font color="#001B8E">Post War and Contemporary Index-NY:</font>';
content += ' <font color="#008000">Up 29.60%</font>';
content += ' &nbsp; &nbsp; ';

content += '</b>'

// Simple Marquee / Ticker Script
// copyright 3rd January 2006, Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the below code in this script (including this
// comment) is used without any alteration
var cps=tSpeed;
var aw, mq;
var fsz = parseInt(tHeight) - 3;

function startticker() {
	if (document.getElementById) {
		var tick = '<div style="position:relative;width:'+tWidth+';height:'+tHeight+';overflow:hidden;background-color:'+tcolour+'"';
		if (moStop)
			tick += ' onmouseover="cps=0" onmouseout="cps=tSpeed"';
		tick +='><div id="mq" style="position:absolute;left:0px;top:0px;font-family:'+fontfamily+';font-size:'+fsz+'px;white-space:nowrap;"><\/div><\/div>';
		document.getElementById('ticker').innerHTML = tick;
		mq = document.getElementById("mq");
		mq.style.left=(parseInt(tWidth)+10)+"px";
		mq.innerHTML='<span id="tx">'+content+'<\/span>';
		aw = document.getElementById("tx").offsetWidth; lefttime=setInterval("scrollticker()",50);
	}
}

function scrollticker() {
	mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ? parseInt(mq.style.left)-cps+"px" : parseInt(tWidth)+10+"px";
}

window.onload=startticker;
                  
