

function ventana(imagename, ancho, alto){
ancho=ancho+20
alto=alto+30
if (ancho > 790) {ancho=790;};
if (alto > 550) {alto=500;};
window.open(imagename,"Imagen","menubar=no,scrollbars=yes,status=no,width="+ancho+",height="+alto+", top=0, left=0, screenX=0, screenY=0")
}



<!-- imagenes de la izquierda	

//Pictures to switch inbetween

var Rollpic1 = "imagenes/izq/img1.jpg";
var Rollpic2 = "imagenes/izq/img2.jpg";
var Rollpic3 = "imagenes/izq/img3.jpg";
var Rollpic4 = "imagenes/izq/img4.jpg";
var Rollpic5 = "imagenes/izq/img5.jpg";
var Rollpic6 = "imagenes/izq/img6.jpg";
var Rollpic7 = "imagenes/izq/img7.jpg";
var Rollpic8 = "imagenes/izq/img8.jpg";
var Rollpic9 = "imagenes/izq/img9.jpg";


//Start at the what pic:
var PicNumber=1;
//Number of pics:
var NumberOfPictures=9;
//Time between pics switching in secs
var HowLongBetweenPic=9;

//SwitchPic Function
function SwitchPic(counter){

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPic("+counter+")",1000); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPic(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPic(0);
				}
	
		}

}
// termina imagenes de la izquierda -->



 function infoscroll(seed,looped)
  {
    var text1  = " TELEVISIÓN HELLIN, -  WWW.TVHELLIN.COM";
    var msg    = text1;
    var putout = " ";
    var c      = 1;
    if (looped > 3) {
      
    }
    else if (seed > 100) {
         seed--;
         var cmd="infoscroll(" + seed + "," + looped + ")";
         timerTwo=window.setTimeout(cmd,100);
    }
    else if (seed <= 100 && seed > 0) {
      for (c=0 ; c < seed ; c++)
        putout += " ";
      putout += msg.substring(0, 100-seed);
      seed--;
      var cmd = "infoscroll(" + seed + "," + looped + ")";
      window.status = putout;
      timerTwo = window.setTimeout(cmd,100);
    }
    else if (seed <= 0) {
      if (-seed < msg.length) {
        putout+=msg.substring(-seed,msg.length);
        seed--;
        var cmd="infoscroll(" + seed + "," + looped + ")";
        window.status=putout;
        timerTwo=window.setTimeout(cmd,100); // 100
      }
      else {
        window.status=" ";
        looped += 1;
        var cmd = "infoscroll(100," + looped + ")";
        timerTwo=window.setTimeout(cmd,75); // 75
      }
    }
  }

  infoscroll(100,1);
  
<!-- Begin
function lista(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->

<!-- Begin
function lista1(form1){
var URL = document.form1.site.options[document.form1.site.selectedIndex].value;
window.location.href = URL;
}
// End -->







<!--//formulario
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_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' no valido.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' no valido.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+'.\n'; }
  } if (errors) alert('Debe rellenar:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//--> termina



