var tWidth='820px';                  // width (in pixels)
var tHeight='18px';                  // height (in pixels)
var tcolour='#ffdb4d';               // background colour:
var moStop=true;                     // pause on mouseover (true or false)
var fontfamily = 'arial,sans-serif'; // font for content
var tSpeed=1;                        // scroll speed (1 = slow, 5 = fast)

// enter your ticker content here (use \/ and \' in place of / and ' respectively)
var tab = '&nbsp;&nbsp;';
var tem_content = '<a class="newsreel" href="http:\/\/www.ozzmedianetwork.com\/index.php\/blugniche\/blugniche-10\/blugniche-101">OZZ launches \"The Story of OZZ - how the few affect so many.\" - See Blugniche 1.0.1<\/a> ------ <a class="newsreel" href="http:\/\/www.ozzmedianetwork.com\/index.php\/growth-curve\/growth-curve-20\/growth-curve-201">Experience Sky Scrapin\' - the Gregorash Aviation Story - See Growth Curve 2.0.1<\/a> ------ <a class="newsreel" href="http:\/\/www.ozzmedianetwork.com\/videos\/beerintroJAN-16-09b.mov">Watch the Movie Trailer for Beer, the Book - See Capture 3.0.1 </a> ------ ';
var content = "";
for(currLoop=0;currLoop<50;currLoop++){
	content=content+tem_content+tab;
	if(currLoop==50){
		break;
	}
}
//content = content + tab + '<b>March 7th - See you in Calgary at the AME!</b>';
//content = content + tab + '<b>April 4th - See you in Anchorage!</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) - 6; 

function startticker(){

if (document.getElementById) {

var tick = '<div style="position:relative;width:838px;height:18px;background-color:#ffdb4d"><img src="imgs/icon_newsreel.gif" border="0" align="absmiddle"><div style="position:absolute;left:18px;top:0px;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:3px;font-family:'+fontfamily+';font-size:'+fsz+'px;white-space:nowrap;"><\/div><\/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()",30);}} 

function scrollticker(){
mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tWidth)+10+"px";
}

