function ema(u,s)
{
   document.location="mailto:"+u+"@sacoin.co.za?subject="+(s?s:"FREE COIN VALUATION")
}

function wema(u)
{
   document.write('<a href="mailto:'+u+'@sacoin.co.za">'+u+'@sacoin.co.za</a>')
}

FF=!document.all
var news=new Array()
var addr=new Array()

// items here
news[0]="Proof 90th Birthday rare coin issue projected to show highest growth ever!"
news[1]="SA rare coin sells for US $184,210 (R1.4 million)"
news[2]="Mandela R5 Inauguration sells for US $81,521 (R750 000)"
news[3]="Birthday Mandela R5 sells for US $10,526 (R100 000)"

// address here
addr[0]="coin_topic15.html"
addr[1]="info_topic14.html"
addr[2]="coin_topic12.html"
addr[3]="coin_topic13.html"

//
var tix=0,tix1,tix2

function ticker(d,c,f)
{
	if(f)
	{
		f=f-10
		if(f>9)
		{
			tix1.style.opacity=f/100
			tix1.style.filter="alpha(opacity="+f+")"
			setTimeout("ticker(0,0,"+f+")",70)
		}
		else
		{
			tix1.innerHTML=""
			tix1.style.opacity=""
			tix1.style.filter=""
			d=tix1.parentNode
			d.style.left=10
			d.style.right=""
			document.getElementById("ticker").onclick=function(){location=addr[tix];return false}
			setTimeout("ticker(0,0)",9)
		}
	}
	else if(d)
	{
		tix2.innerHTML="_"
		setTimeout("ticker(0,"+c+")",10)
	}
	else
	{
		tix2.innerHTML=""
		d=news[tix].charAt(c)
		if(d)
		{
			tix1.innerHTML+=d
			d=tix1.parentNode
			if(d.clientWidth>690)
			{
				d.style.left=""
				d.style.right=0
			}
			c++
			setTimeout("ticker(1,"+c+")",20)
		}
		else
		{
			tix++
			if(!news[tix])
				tix=0
			setTimeout("ticker(0,0,100)",2500)
		}
	}
}

function tixD()
{
	document.write("<table id=ticker><tr><th colspan=2><div style=position:relative;width:820;text-align:left;overflow:hidden><b>Breaking News: </b><a href='goto: Article' onclick='return false' style=position:absolute;top:0;right:0;display:block;text-align:left;width:"+(FF?695:705)+";height:20;overflow:hidden><span style=display:block;position:absolute;top:"+(FF?3:2)+";left:0;white-space:nowrap;overflow:visible><b></b><u></u></span></a></div></th></tr></table>")
}

function tixS()
{
	clearTimeout(tix)
	var i=document.getElementById("tick")
	if(i)
	{
		i=i.getElementsByTagName("A")[0]
		if(i&&tix!=0)
		{
			tix=0
			tix1=i.getElementsByTagName("B")[0]
			tix2=i.getElementsByTagName("U")[0]
			ticker(0,0,100)
		}
	}
	if(!i)
		tix=setTimeout("tixS()",100)
}

tixS()


var BN=new Array()
BN[0]="Frank Stuy"
BN[1]="Patti Du Plessis"
BN[2]="Rentia Nortjie"
BN[3]="Paul Zapasnik"
BN[4]="Eion Blignaut"
BN[5]="Kevin Dent"
BN[6]="Youshaa Motan"
BN[7]="Jacques Theron"

FF=!document.all

function BNR(v,a,b,f)
{
	f=f+10
	if(f<101)
	{
		if(FF)
		{
			document.getElementById("Bi"+a).style.opacity=f/100
			document.getElementById("Bi"+b).style.opacity=(100-f)/100
			document.getElementById("Bn"+a).style.opacity=f/100
			document.getElementById("Bn"+b).style.opacity=(100-f)/100
		}
		else
		{
			document.getElementById("Bi"+a).style.filter="alpha(opacity="+f+")"
			document.getElementById("Bi"+b).style.filter="alpha(opacity="+(100-f)+")"
			document.getElementById("Bn"+a).style.filter="alpha(opacity="+f+")"
			document.getElementById("Bn"+b).style.filter="alpha(opacity="+(100-f)+")"
		}
		setTimeout("BNR("+v+","+a+","+b+","+f+")",99)
	}
	else
	{
		document.getElementById("Bn"+a).innerHTML=BN[v]
		document.getElementById("Bi"+a).src="img/brokers/"+v+".gif"
		v++
		v=BN[v]?v:0
		document.getElementById("Bi"+b).src="img/brokers/"+v+".gif"
		document.getElementById("Bn"+b).innerHTML=BN[v]
		setTimeout("BNR("+v+","+(a==1?2:1)+","+(b==2?1:2)+",0)",3000)
	}
}

function BNA()
{
	var a=""
	a+="<div id=Bpre>"
	var i=0
	while(BN[i])
	{
		a+="<img src=img/brokers/"+i+".gif>"
		i++
	}
	a+="</div>"
	a+="<div id=BR onclick=\"location='info_topic3.html'\" onmouseover=\"this.style.borderColor='#CFC956'\" onmouseout=\"this.style.borderColor='#AEAE48'\""+(FF?" style=width:300":"")+">"
	a+="<div id=B2>"
	a+="<div>"
	a+="<b id=B1>EXPERT ADVICE</b>"
	a+="GET FREE ADVICE FROM<br>A SENIOR BROKER"
	a+="<b id=Bn1>"+BN[0]+"</b>"
	a+="<b id=Bn2>"+BN[1]+"</b>"
	a+="</div>"
	a+="</div>"
	a+="<div id=B3><u>Call 011-808-0300</u>FOR THE BEST ADVICE IN THE COIN MARKET</div>"
	a+="<img src=img/brokers/0.gif id=Bi1>"
	a+="<img src=img/brokers/1.gif id=Bi2>"
	a+="</div>"
	document.write(a)
}