﻿// JScript File
    function NewsShow(rollno){
		for (var i = 0; i < newsDivs.length; i++) {
	    	var div = document.getElementById(newsDivs[i]);
    		div.style.display = 'none';
        }
        
		var div = document.getElementById(newsDivs[rollno]);
		div.style.display = 'block';
		return false;
	}
    function ChangeNews(rollno){
        NewsShow(rollno);
        nextrollno = rollno + 1;
        if (newsDivs.length == nextrollno) {
            nextrollno = 0;
        }
        setTimeout("ChangeNews(" + nextrollno + ")",5000);			
    }
    function openwindow()
    {
	    window.open("/furniture/mp3/player.html","mywindow","menubar=0,resizable=0,width=390,height=250");
    }