

var marqueewidth= "140px";
var marqueeheight= "100px";
var speed=2;


// you can set images or text here
var marqueecontents='<img src="images/cm_sc_01.jpg" width="140px" height ="100px" alt="Enter" /><img src="images/cm_sc_02.jpg" width="140px" height ="100px" alt="Enter" /><img src="images/cm_sc_03.jpg" width="140px" height ="100px" alt="Enter" /><img src="images/cm_sc_04.jpg" width="140px" height ="100px" alt="Enter" /><img src="images/cm_sc_05.jpg"  width="140px" height ="100px" alt="Enter" />'

if (document.getElementById)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')
// document.getElementById("merv").src = "marqueecontents";
document.getElementById("img_scroll").src = "marqueecontents";
function regenerate(){
window.location.reload()
}

function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",350)
intializemarquee()
}

}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}

window.onload=regenerate2

/* *************************************************
*
*             Copyright 2005-2005 Webcore.com.au.
*	This JavaScript is protected by
*	Coypright and Intellectual Property Rights. No part may be
*	repoduced without express written permission of Brian Powell.
*	Permission may be withdrawn at any time.
*  	Copyright 2005-2007 Webcore.com.au (Brisbane).
*	By: Brian Powell (Brisbane)
*	Updated:	Jan 17, 2007
*
*************************************************** */
