
var tickercontents=new Array()
tickercontents[0]= 'Visit our sponsor'
tickercontents[1]= 'AMAC SP'

//configure the below 2 variables to set the width/background color of the ticker
var tickerwidth='100%'
var tickerbgcolor=''

//configure the below variable to determine the delay between ticking of messages (in miliseconds
var tickdelay=2000

////Do not edit pass this line////////////////

var currentmessage=0

function changetickercontent()
{
if (document.layers){
document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage])
document.tickernsmain.document.tickernssub.document.close()
}
else if (document.all)
tickerie.innerHTML=tickercontents[currentmessage]

if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}

function start_ticking(){
if (document.layers)
document.tickernsmain.visibility="show"
changetickercontent()
}


function showhide(id)
{ 
if (document.getElementById)
	{ 
	obj = document.getElementById(id); 
	if (obj.style.display == "none")
		{ 
		obj.style.display = "";
		} 
	else 
		{ 
		obj.style.display = "none"; 
		} 
	} 
} 



function ShowPic(sPicURL) 
            { 
window.open("showpic.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200,left=0, top='0");
			}
			

/*************************************************************************
  This code is from Dynamic Web Coding at http://www.dyn-web.com/
  Copyright 2003 by Sharon Paine 
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

// leave in page for way to customize layout of tooltip 
// and avoid errors if onmouseovers/outs before page completely loaded
function doTooltip(e, msg) {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.show(e, msg);
}

function hideTip() {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.hide();
} 
