function ventana2(myurl) {
var w = 450
var h = 200
var winleft = (screen.width-w) / 2;
var wint = (screen.height-h) / 2;
var props = 'height='+h+',width='+w+',top=120,left='+winleft+',scrollbars=no, resizable=no, status=no'
var newWindow2;
newWindow2 = window.open(myurl, "b222", props);
newWindow2.window.focus();
}

function ventana3(myurl) {
var w = 450
var h = 300
var winleft = (screen.width-w) / 2-10;
var wint = (screen.height-h) / 2;
var props = 'height='+h+',width='+w+',top=120,left='+winleft+',scrollbars=no, resizable=no, status=no'
var newWindow2;
newWindow2 = window.open(myurl, "b3", props);
newWindow2.window.focus();
}

function ventana4(myurl) {
var w = 450
var h = 400
var winleft = (screen.width-w) / 2-10;
var wint = (screen.height-h) / 2;
var props = 'height='+h+',width='+w+',top=120,left='+winleft+',scrollbars=no, resizable=no, status=no'
var newWindow2;
newWindow2 = window.open(myurl, "b4", props);
newWindow2.window.focus();
}

function ventana5(myurl) {
var w = 550
var h = 600
var winleft = (screen.width-w) / 2-10;
var wint = (screen.height-h) / 2;
var props = 'height='+h+',width='+w+',top=120,left='+winleft+',scrollbars=yes, resizable=no, status=no'
var newWindow2;
newWindow2 = window.open(myurl, "b5", props);
newWindow2.window.focus();
}

function ventana5PRO(myurl) {
var w = 780
var h = 600
var winleft = (screen.width-w) / 2-10;
var wint = (screen.height-h) / 2;
var props = 'height='+h+',width='+w+',top=120,left='+winleft+',scrollbars=no, resizable=no, status=no'
var newWindow2;
newWindow2 = window.open(myurl, "b5", props);
newWindow2.window.focus();
}


function confirmaborrar(msg,url) {
if (confirm(msg)) {
window.location = (url);
}  
}

var linea='c';
				var linea_old='z';
				var base_linea_old='z';


				function cambiaColor(id, src, color)
				{
				document.all[id].bgColor = color;
				src.style.cursor="hand";
				}

				function cambiaColor3(color) {
				if (linea_old!='z') {
				document.all[linea_old].bgColor = color;
				document.all[base_linea_old].bgColor = '#C0C0C0';
				}
				}



				function cambiaColor2(id, t, src, color1, color2) {

				if (id==linea) {
				document.all[id].bgColor = color2;
				}
				else {
				document.all[id].bgColor = color1;
				//document.all[t].bgColor =   '#C0C0C0';
				}

				src.style.cursor="hand";
				}
				
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_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  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); 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];}
}
