
//scroller width
        var swidth=520;

        //scroller height
        var sheight=100;

        //background color
        var sbcolor='#ffffff';

        //scroller's speed
        var sspeed=1;

        var msg=''

        //Your messages go below:


        msg +=



'<ul><li style=" font-weight: bold;color: #FF0000;">7/5/11 - BOGART SE 4 HAS BEEN RELEASED!</li>'+

            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/s_downloads.html" target="blank">Download it here</a> </li>'+
            '<li> </li></ul>'+ 


'<ul><li style=" font-weight: bold;color: #FF0000;">1/17/11 - CLAMCAM VIDEO NOW A DITOGEAR AFFILIATE</li>'+

            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.ditogear.com/store/?aff=11&utm_source=clamcamvideo.com&utm_medium=referral&utm_content=AffiliateLinks&utm_campaign=Affiliate" target="blank">See their products here</a> </li>'+
            '<li> </li></ul>'+ 

'<ul><li style=" font-weight: bold;color: #FF0000;">1/17/11 - OMNISLIDER NOW AVAILABLE FOR RENT</li>'+

            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/omnislider.html" target="blank">See it in action here</a> </li>'+
            '<li> </li></ul>'+ 

'<ul><li style=" font-weight: bold;color: #FF0000;">12/6/10 - NEW CASSIES NOW SHIPPING!</li>'+

            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/editors.html" target="blank">Read about them here</a> </li>'+
            '<li> </li></ul>'+ 


'<ul><li style=" font-weight: bold;color: #FF0000;">7/30/10 - BLU-RAY DUPLICATION NOW AVAILABLE!</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/duplicators.html" target="blank">Read about it here</a> </li>'+
            '<li> </li></ul>'+ 


'<ul><li style=" font-weight: bold;color: #FF0000;">7/29/10 - WE ADD A NEW POV CAMCORDER PRODUCT!</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/video_accessories.html" target="blank">Read about it here</a> </li>'+
            '<li> </li></ul>'+ 

'<ul><li style=" font-weight: bold;color: #FF0000;">6/1/10 - SMARTEDIT 9 & BOGART 3 RELEASED!</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://www.clamcamvideo.com/s_downloads.html" target="blank">Go here to download the files</a> </li>'+
            '<li> </li></ul>'+ 

'<ul><li style=" font-weight: bold;color: #FF0000;">12/30/09 - CLAMCAM VIDEO STARTS A BLOG!</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="http://clam-stuff.blogspot.com/" target="blank">Go here to read the entries</a> </li>'+
            '<li> </li></ul>'+ 

'<ul><li style=" font-weight: bold;color: #FF0000;">12/30/09 - CLAMCAM VIDEO ADDS NEW LINE OF VIDEO ACCESSORIES</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="video_accessories.html" target="blank">Read about them here</a> </li>'+
            '<li> </li></ul>'+ 

 
'<ul><li style=" font-weight: bold;color: #FF0000;">12/12/09 - CLAMCAM VIDEO WINS AWARD!</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="news.html" target="blank">Read about it here</a> </li>'+
            '<li> </li></ul>'+ 


'<ul><li style=" font-weight: bold;color: #FF0000;">9/18/09 - TIMELAPSE APP FOR IPHONE RELEASED</li>'+
            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: blue;"><a href="video_accessories.html#app" target="blank">Read about it here</a> </li>'+
            '<li> </li></ul>'+ 

        
            '<ul><li><li style=" font-weight: bold;color: #FF0000;">12/14/07 - WE GET A GOLD-STAR</li>'+

            '<li style="margin: 0px 0px 0px 25px; font-weight: normal;color: #333333;">ClamCam Video joins the prestigious ranks of top Casablanca Resellers!</li>'+
            '<li> </li></ul>'+                     
            
            

        '';

        //End of your messages
        // Begin the ticker code

        var resumesspeed=sspeed
        function start() {
                if (document.all) iemarquee(ticker);
                else if (document.getElementById)
                        ns6marquee(document.getElementById('ticker'));
        }
        
        function iemarquee(whichdiv){
                iediv=eval(whichdiv)
                sheight += 5;
                iediv.style.pixelTop=sheight
                iediv.innerHTML=msg 
                sizeup=iediv.offsetHeight
                ieslide()
        }
        
        function ieslide(){
                if (iediv.style.pixelTop>=sizeup*(-1)){
                        iediv.style.pixelTop-=sspeed
                        setTimeout("ieslide()",100)
                }
                else{
                        iediv.style.pixelTop=sheight
                        ieslide()
                }
        }
        
        function ns6marquee(whichdiv){
                ns6div=eval(whichdiv)
                sheight += 5;
                ns6div.style.top=sheight + "px";
                ns6div.innerHTML=msg
                sizeup=ns6div.offsetHeight
                ns6slide()
        }
        function ns6slide(){
                if (parseInt(ns6div.style.top)>=sizeup*(-1)){
                        theTop = parseInt(ns6div.style.top)-sspeed
                        ns6div.style.top = theTop + "px";
                        setTimeout("ns6slide()",100)
                }
                else {
                        ns6div.style.top = sheight + "px";
                        ns6slide()
                }
        }



// Menu Animation with timeout on drop-down sub-menus


var timeout	= 500;
var closetimer	= 0;
var ddmenuitem	= 0;

// open hidden layer

function mopen(id)
{	
	mcancelclosetime();

	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';
}

function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

document.onclick = mclose;

// Swap Images

if (document.images)
   {
     pic1on= new Image(39,20);
     pic1on.src="images/banner/banner_home_on.jpg";  
     pic2on= new Image(72,20);
     pic2on.src="images/banner/banner_contact_on.jpg"; 
     pic3on= new Image(53,20);
     pic3on.src="images/banner/banner_cart_on.jpg";  
	pic4on= new Image(100,50);
     pic4on.src="../images/content/reel_btn_on.jpg";  


     pic1off= new Image(39,20);
     pic1off.src="images/banner/banner_home.jpg";
     pic2off= new Image(72,20);
     pic2off.src="images/banner/banner_contact.jpg";
     pic3off= new Image(53,20);
     pic3off.src="images/banner/banner_cart.jpg";
	pic4off= new Image(100,50);
     pic4off.src="../images/content/reel_btn.jpg";


   }

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }


function checkform ( form )
{
  if (form.os0.value == "") {
    alert( "ERROR:  Please enter your Casablanca's Serial Number." );
    form.os0.focus();
    return false ;
  }
  if (form.os1.value == "") {
    alert( "ERROR:  Please enter your second Casablanca's Serial Number." );
    form.os1.focus();
    return false ;
  }
  return true ;
}

function checkform2 ( form )
{
  if (form.os0.value == "") {
    alert( "ERROR:  Please enter your Epson Printer Model Number." );
    form.os0.focus();
    return false ;
  }
  if (form.os1.value == "") {
    alert( "ERROR:  Please enter the color you need." );
    form.os1.focus();
    return false ;
  }
  return true ;
}


function checkform3 ( form )
{
  if (form.os0.value == "") {
    alert( "ERROR:  Please enter your Cassie Model Number." );
    form.os0.focus();
    return false ;
  }
return true ;
}





