
 var ie4=document.all    // Microsoft Internet Explorer
 var ns4=document.layers // Netscape Navigator
 var ns_gecko=document.getElementById&&!document.all //Netscape Gecko,Mozilla..
//title scroll begin

var repeat=10 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1

//var title=document.title
var title="*Welcome to the Official  Website of N.E.C,Narasaraopet          *"

var leng=title.length

var start=1

function titlemove() {

  titl=title.substring(start, leng) + title.substring(0, start)

 //document.title=titl
 window.status= "Narasaraopet Engineering College,Narasaropet "
  start++

  if (start==leng+1) {

    start=0

    if (repeat==0)

    return

  }

  setTimeout("titlemove()",140)

}

if (document.title)

titlemove()
//end title


  
 function lieffect() {
 var ipt=document.getElementsByTagName('INPUT'); 
 for(ip=0;ip<ipt.length;ip++) {
 ipt[ip].style.cssText="font-weight:bold;height:18px;background:whitesmoke;color:gray;border:1px solid gray";
 ipt[ip].onfocus=function() { this.style["backgroundColor"]='papayawhip';}
 ipt[ip].onblur=function() { this.style["backgroundColor"]='whitesmoke';}
 } 
 var bt=document.getElementsByTagName('BUTTON'); 
 for(btn=0;btn<bt.length;btn++) {
 bt[btn].style.cssText="cursor:pointer;font-weight:bold;height:22px;background:lightslategray;color:aliceblue;width:120px";
 bt[btn].onmouseover=function() { this.style["backgroundColor"]='steelblue';this.blur()}
 bt[btn].onmouseout=function() { this.style["backgroundColor"]='lightslategray';}
 } 
/*var tlist=document.getElementById('homing').getElementsByTagName('TD'); 
 for(i=0;i<tlist.length;i++) {
 tlist[i].style.cssText="font-weight:bold;font-size:12px;line-height:12px;text-align:center;cursor:pointer;border-style:solid;border-color:cadetblue;border-width:1px;font-family:ms sans serif;color:aliceblue;background:cadetblue";
 tlist[i].onmouseover=function() { this.style["borderColor"]='white';this.style.background='teal'}
 tlist[i].onmouseout=function() { this.style["borderColor"]='cadetblue';this.style.background='cadetblue'}
 }*/ }
 onload=function() {lieffect(); runSlide();listevents();

 
 }
//document.write('<td class=tdc ><img src="1.jpg" width=250  name=iobj /></td>');

