﻿// JScript File
msg = "खाद्य, नागरिक आपूर्ति एवं उपभोक्ता संरक्षण विभाग";
timeID = 4;
stcnt = 16;
wmsg = new Array();
        wmsg[0]=msg;
        blnk = "                                                               ";
        for (i=1; i<32; i++)
        {
                b = blnk.substring(0,i);
                wmsg[i]="";
                for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
        }
function wiper()
{
        if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
        if (stcnt-- < -40) stcnt=31;
        status = str;
		
        clearTimeout(timeID);
        timeID = setTimeout("wiper()",100);
}

wiper()
function toggle(){
                   //alert("hello")
	var div1 = document.getElementById('div1')
                 	if (div1.style.display == 'none') 
	  {  
                      div1.style.display = 'block'
	  }
                else {
		div1.style.display = 'none'
	}
}
function toggle2(){
                   //alert("hello")
	var div2 = document.getElementById('div2')
                 	if (div2.style.display == 'none') 
	  {  
                      div2.style.display = 'block'
	  }
                else {
		div2.style.display = 'none'
	}
}

