//dominio = "http://www.docweb.inf.br";
//dominio = "http://192.168.1.48/demaria_novo";
dominio = "http://www.demaria.com.br/";
function mOvr(src,clrOver) {
	if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.bgColor = clrOver;
	}
}

function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.bgColor = clrIn;
	}
}

function popUp(){return};
function popDown(){return};
function startIt(){return};

// begin absolutely positioned scrollable area object scripts 
// Extension developed by David G. Miles 
// Original Scrollable Area code developed by Thomas Brattli 

function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 

bw=new verifyCompatibleBrowser(); 
var speed=50 
var loop, timer 

function MoveArea(x,y){ 
    this.x=x;
    this.y=y; 
    this.css.left=this.x; 
    this.css.top=this.y;
} 

function MoveAreaDown(move){ 
	if(this.y>-this.scrollHeight+objContainer.clipHeight){ 
    	this.MoveArea(0,this.y-move) 
    	if(loop) 
    	setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 

function MoveAreaUp(move){ 
	if(this.y<0){ 
    	this.MoveArea(0,this.y-move) 
    	if(loop) 
    	setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 

function PerformScroll(speed){ 
	if(initialised){ 
		loop=true; 
		if(speed>0) 
			objScroller.down(speed) 
		else 
			objScroller.up(speed) 
	} 
} 

function CeaseScroll(){ 
    loop=false 
    if(timer) 
    	clearTimeout(timer) 
} 
var initialised; 

NS4    = (document.layers);
IE4    = (document.all);
ver4   = (NS4 || IE4);
isMac  = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac));

if (!ver4) event = null;

if (isMenu) {
	menuVersion = 3;
	menuWidth = 190;
	borWid = 1;
	borSty = "double";
	borCol = "#ff9900";
	separator = 0;
	separatorCol = "#000000";
	fntFam = "verdana";
	fntBold = false;
	fntItal = false;
	fntSiz = 9;
	fntCol = "#000000";
	overFnt = "#ff9900";
	itemPad = 3;
	backCol = "#D3D3D3";
	overCol = "#ffddaa";
	imgSrc = dominio+"/img_ger/tri.gif";
	imgSiz = 10;
	childOffset = 6;
	childOverlap = 60;
	perCentOver = null;
	clickStart = false;
	clickKill = false;
	secondsVisible = 0.5;
	keepHilite = false;
	NSfontOver = false;
	isFrames = false;
	navFrLoc = "top";
	mainFrName = "main";
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
