﻿// JScript File
var Message="Developed By REGENT Computronics Pvt. Ltd.";
var place=1;
var checkedObject = null;
var txt="-:: ::- KRISHI DESAI -:: ::-";
var espera=200;
var refresco=null;
 
            function isChecked(what){
                if(checkedObject == null)
                {
                    checkedObject = what;
                    return true;
                }
                else{
                    if(what==checkedObject)
                    {
                        if(!what.checked)
                        {
                            checkedObject = null;
                            return true;
                        }
                    }
                    else{
                        alert('You can only choose one option');
                        checkedObject = null;
                        return true;
//                        return false;
                    }
                }      
            }
  
function rotulo_title() {
        document.title=txt;
        txt=txt.substring(1,txt.length)+txt.charAt(0);        
        refresco=setTimeout("rotulo_title()",espera);}
rotulo_title();



function scrollIn() 
{
window.status=Message.substring(0, place);
if (place >= Message.length) 
{
place=1;
window.setTimeout("scrollOut()",300); 
} 
else 
{
place++;
window.setTimeout("scrollIn()",50); 
} 
}


function scrollOut() 
{
window.status=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 100);
} 
else 
{
place++;
window.setTimeout("scrollOut()", 50);
 }
}