/*
Cross browser m script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the m's width (in pixels)
var mwidth="205px";
//Specify the m's height
var mheight="25px";
//Specify the m's m speed (larger is faster 1-10)
var mspeed=1;
//configure background color:
var mbgcolor="#009999";
//Pause m onMousever (0=no. 1=yes)?
var pause=1;
//Specify the m's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var mcontent='<nobr>Accomplish CashManager, AccPac for Windows, AccPac Plus, Attache 5, Attache Business Partner, Beyond Private Ledger, Business Products, CaseWare, Charter QX, Cash Manager Business, Cash Manager Rural, Global Accounting, Intech, Intersoft, Jobal Cashbook, Kellogg FRS, Master 2000, MYOB Accountants Enterprise MAS, MYOB Accountants Office, MYOB Business Products, Professional Accounting, Professional Accounting - multiple account transfer via Xcede Admin Tool, SmartLink, Xcede Professional Accounting version 8, Acclipse WebPractice</nobr>';
mspeed=(document.all)? mspeed : Math.max(1, mspeed-1); //slow speed down by 1 for NS
var cspeed=mspeed;
var pspeed=(pause==0)? cspeed: 0;
var idom=document.all||document.getElementById;

if (idom)
	document.write('<span id="tem" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+mcontent+'</span>');
		
var awidth='';
var cross_m, ns_m;

function popu(){
	if (idom){
		cross_m=document.getElementById? document.getElementById("imarquee") : document.all.imarquee;
		cross_m.style.left=parseInt(mwidth)+8+"px";
		cross_m.innerHTML=mcontent;
		awidth=document.all? tem.offsetWidth : document.getElementById("tem").offsetWidth;
	}
	else if (document.layers){
		ns_m=document.ns_m.document.ns_m2;
		ns_m.left=parseInt(mwidth)+8;
		ns_m.document.write(mcontent);
		ns_m.document.close();
		awidth=ns_m.document.width;
	}
	lefttime1=setInterval("scrollm()",20);
}

function scrollm(){
	if (idom){
		if (parseInt(cross_m.style.left)>(awidth*(-1)+8))
			cross_m.style.left=parseInt(cross_m.style.left)-cspeed+"px";
		else
			cross_m.style.left=parseInt(mwidth)+8+"px";
	}
	else if (document.layers){
		if (ns_m.left>(awidth*(-1)+8))
			ns_m.left-=cspeed;
		else
			ns_m.left=parseInt(mwidth)+8;
	}
}

function writemarqueeS() {
	if (idom||document.layers){
		with (document){
			document.write('<table width="205" border="0" cellspacing="0" cellpadding="0" bgcolor="#009999" class="infoTable"><td>');
			if (idom){
				write('<div style="position:relative;width:'+mwidth+';height:'+mheight+';overflow:hidden">');
				write('<div style="position:absolute;width:'+mwidth+';height:'+mheight+';background-color:'+mbgcolor+'" onMouseover="cspeed=pspeed" onMouseout="cspeed=mspeed">');
				write('<div id="imarquee" style="position:absolute;left:0px;top:0px"></div>');
				write('</div></div>');
			}
			
			else if (document.layers){
				write('<ilayer width='+mwidth+' height='+mheight+' name="ns_m" bgColor='+mbgcolor+'>');
				write('<layer name="ns_m2" left=0 top=0 onMouseover="cspeed=pspeed" onMouseout="cspeed=mspeed"></layer>');
				write('</ilayer>');
			}
			document.write('</td></table>');
		}
	}
}