var incrementVal = 1;
var timer;
function initScroll(){
		document.getElementById("divNewsCont").style.visibility = "visible";
		scroll();
}
function scroll(flag){
	var divMaskHeight = parseInt(document.getElementById("divNewsCont").offsetHeight);
	var obj = document.getElementById("divNewsText");	
	var divHeight = obj.offsetHeight;
	var Y = parseInt(obj.style.top);
	if (chBrowser('MSIE')) {
		if(Y==NaN || Y < -(230))Y=0;
		obj.style.setAttribute("top", "0px");
		obj.style.setAttribute("top", (Y - incrementVal) + "px");	
	}
	else {
		if(Y==NaN || Y < -(237))Y=0;
		obj.style.top = "0px";
		obj.style.top = (Y - incrementVal) + "px";
	}
	timer = setTimeout("scroll(1)",incrementVal*50);
}
function chBrowser(name){  
	var agent = navigator.userAgent.toLowerCase();  
	if (agent.indexOf(name.toLowerCase())>-1) {  
		return true;  
	}  
	return false;  
}  