var message="EyE Consultoria em TI"  
var message=message+"          " 
i="0"			      
var temptitle=""                
var speed="150"               

function titler(){
if (!document.all&&!document.getElementById){
return
document.title=temptitle+message.charAt(i)  
temptitle=temptitle+message.charAt(i)       
i++					    
if(i==message.length)			    
{
i="0"					    
temptitle=""				    
}
setTimeout("titler()",speed) 		   
}

window.onload=titler

}



function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=40
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=8
else if (window.highlighting)
clearInterval(highlighting)
}
//

function namosw_scrollstatus()
{
  var str = 'EyE Consultoria em TI';
  if (namosw_scrollstatus.arguments.length > 0) {
    var i;
    for (str = '', i = 0; i < 100; i++)
      str += ' ';
    for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
      str += namosw_scrollstatus.arguments[i] + ' ';
    document.namosw_scrollstatus = str;
  } else {
    var src_str = document.namosw_scrollstatus;
    str  = src_str.substring(1, src_str.length);
    str += src_str.substring(0, 1);
    document.namosw_scrollstatus = str;
  }
  window.status = str;
  setTimeout('namosw_scrollstatus()', 100);
}

//

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

//

function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}




function goLite(FRM,BTN)
{
   var UA = navigator.userAgent;
   window.document.forms[FRM].elements[BTN].style.color = "#FF0000";
   window.document.forms[FRM].elements[BTN].style.backgroundColor = "#0000FF";
   if (UA.indexOf('IE') > -1)  {
   window.document.forms[FRM].elements[BTN].style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff00CCFF',EndColorStr='#ffAAAAAA')";
   }
   window.document.forms[FRM].elements[BTN].style.borderStyle = "dashed";
}

function goDim(FRM,BTN)
{
   var UA = navigator.userAgent; 
   window.document.forms[FRM].elements[BTN].style.color = "#3300FF";
   window.document.forms[FRM].elements[BTN].style.backgroundColor = "#D3D6CE";
          if (UA.indexOf('IE') > -1)  {
   window.document.forms[FRM].elements[BTN].style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ffAAAAAA',EndColorStr='#ff00CCFF')";
		  }
   window.document.forms[FRM].elements[BTN].style.borderStyle = "dotted";
}

function goDown(FRM,BTN)
{
	    var UA = navigator.userAgent;
		if (UA.indexOf('IE') > -1 || UA.indexOf('firefox') > -1)  {
   window.document.forms[FRM].elements[BTN].style.color = "#3311FF";
   window.document.forms[FRM].elements[BTN].style.backgroundColor = "#D3D6CE";
		}
       if (UA.indexOf('IE') > -1)  {
   window.document.forms[FRM].elements[BTN].style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#ffffAAAA',EndColorStr='#ff00CCFF')";
	   }
   window.document.forms[FRM].elements[BTN].style.borderStyle = "dotted";
}


function click() {
if (event.button==2||event.button==3) {
oncontextmenu='return false';
  }
}
document.onmousedown=click
document.oncontextmenu = new Function("return false;")


function click2() 
{
	if (event.button==2||event.button==3) 
	{
		oncontextmenu='return false';
	}
}
document.onmousedown=click2
document.oncontextmenu = new Function("return false;")

