function OpenBr(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="on"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2-14;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  win =  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);

if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function txt (texto)
{
window.status = texto;
}


function blink() {
	var blink = document.all.tags("blink")
	for (var i=0; i<blink.length; i++)
               blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
}
{
	if (document.all)
		setInterval("blink()",750)
}


// SWAP IMAGE
//
// <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','001/001b.jpg',1)"><img src="001/001a.jpg" name="Image1" width="160" height="160" border="0" id="Image1"></a>
//
// <a href="javascript:;" onclick="toggleImage('Image3','','001/001b.jpg',0)"><img src="001/001a.jpg" name="Image3" width="160" height="160" border="0" id="Image3" /></a>
//



function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var	toggle = 0;

function toggleImage(imdid, nstr, img, zval )	{
	if( !toggle )	{
		MM_swapImage(imdid, nstr, img, zval);
	}
	else	{
		MM_swapImgRestore();
	}
	toggle ^= 1;
}
// ------------------------------------onLoad="MM_preloadImages('yourimageb.jpg','yourimageb.jpg','yourimageb.jpg','yourimage.jpg','yourimageb.jpg','yourimageb.jpg')"