iens6=document.all||document.getElementById
ns4=document.layers

<!-- Lower is faster -->
var bname = navigator.appName;
if (bname == "Microsoft Internet Explorer")
   {
   var scrollspeed = 2
   //window.location="explorer_version.html";
   }
else
   {
   var scrollspeed = 40
   //window.location="netscape_version.html";
   }

<!-- scroll down function -->
function scrolldown() {
	if(window.scrolltimerup){
		clearTimeout(scrolltimerup)
	}
	if(iens6&&parseInt(contentobj.style.top)>=(contentheight*(-1)+100)){
		contentobj.style.top=parseInt(contentobj.style.top)-step
	}else if(ns4&&contentobj.top>=(contentheight*(-1)+100)){
		contentobj.top-=step
	}
	scrolltimerdown = setTimeout("scrolldown()",scrollspeed)
}
<!-- scroll up function -->
function scrollup() {
	if(window.scrolltimerdown){
		clearTimeout(scrolltimerdown)
	}
	if(iens6&&parseInt(contentobj.style.top)<=0){
		contentobj.style.top=parseInt(contentobj.style.top)+step
	}else if(ns4&&contentobj.top<=0){ 
		contentobj.top+=step
	}
	scrolltimerup = setTimeout("scrollup()",scrollspeed)	
}
<!-- function to stop all scroll timers -->
function stopall() {
	if(window.scrolltimerup){
		clearTimeout(scrolltimerup)
	}
	if(window.scrolltimerdown){
		clearTimeout(scrolltimerdown)
	}
}

function getcontent_height(){
	if (iens6)
	contentheight=contentobj.offsetHeight
}
window.onload=function()
{
getcontent_height();
//Taggetcontent_height();
}

<!-- scroll down function -->
function Tagscrolldown() {
	if(window.scrolltimerup){
		clearTimeout(scrolltimerup)
	}
	if(iens6&&parseInt(contentobj1.style.top)>=(contentheight1*(-1)+100)){
		contentobj1.style.top=parseInt(contentobj1.style.top)-step
	}else if(ns4&&contentobj1.top>=(contentheight1*(-1)+100)){
		contentobj1.top-=step
	}
	scrolltimerdown1 = setTimeout("Tagscrolldown()",scrollspeed)
}
<!-- scroll up function -->
function Tagscrollup() {
	if(window.scrolltimerdown1){
		clearTimeout(scrolltimerdown1)
	}
	if(iens6&&parseInt(contentobj1.style.top)<=0){
		contentobj1.style.top=parseInt(contentobj1.style.top)+step
	}else if(ns4&&contentobj1.top<=0){ 
		contentobj1.top+=step
	}
	scrolltimerup1 = setTimeout("Tagscrollup()",scrollspeed)	
}
<!-- function to stop all scroll timers -->
function Tagstopall() {
	if(window.scrolltimerup1){
		clearTimeout(scrolltimerup1)
	}
	if(window.scrolltimerdown1){
		clearTimeout(scrolltimerdown1)
	}
}

function Taggetcontent_height(){
	if (iens6)
	contentheight1=contentobj1.offsetHeight
}

function ValidateLogin(){
			if(document.frmHeaderlogin.txtEmail.value == ""){
				alert("Please enter login email id.");
				document.frmHeaderlogin.txtEmail.focus();
				return false;
			}
			if(document.frmHeaderlogin.txtPassword.value == ""){
				alert("Please enter password.");
				document.frmHeaderlogin.txtPassword.focus();
				return false;
			}
			return true;

		}





