function irA(L,ID)
{

	document.frmNews.Pagina.value = '';
	switch (L)
	{
	case "SID":
		document.frmNews.SID.value = ID;
		document.frmNews.UID.value = '';
		document.frmNews.action = "http://news.arnet.com.ar/home_noticias.asp";
		break;
	case "ID":
		document.frmNews.ID.value = ID;
		document.frmNews.action = "http://news.arnet.com.ar/detalle_noticias.asp";
		break;
	case "UID":
		document.frmNews.UID.value = ID;
		document.frmNews.SID.value = '';
		document.frmNews.action = "http://news.arnet.com.ar/home_noticias.asp"
	case "MP":
		document.frmNews.ID.value = ID;
//		document.frmNews.SID.value = '';
		document.frmNews.action = "http://news.arnet.com.ar/detalle_noticas_mp.asp"		
	}
	document.frmNews.submit()

}

function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
		if (restore) selObj.selectedIndex=0;
	  
  
}

function MM_jumpMenu1(targ,selObj,restore)
{ //v3.0
	
	var MyWidth;
	var MyHeight;

	MyWidth = (window.screen.width) - 30; 
	MyHeight = (window.screen.height) - 50;	
	var Url 
	var home = selObj.options[selObj.selectedIndex].value;
	if (home == 'http://chat.arnet.com.ar/')
	{
		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
		if (restore) selObj.selectedIndex=0;
	}
	else
	{
	Url = selObj.options[selObj.selectedIndex].value + "&ancho=" + MyWidth + "&alto=" + MyHeight ;


iMyWidth = (window.screen.width/2) - (window.screen.width/2); 
iMyHeight = (window.screen.height/2) - (window.screen.height/2);  	
var Wnd=window.open(Url,"Arnet",'resizable=no,left=' + iMyWidth + ',top=' + iMyHeight + ',screenX=' + iMyWidth + ',screenY=' + iMyHeight + ',scrollbars=no,height=' + MyHeight + ',width=' + MyWidth + '');
	}
}

<!--
//para abrir popups
function openURL(dirURL, sAncho, sLargo, sScrollbars) 
{
	if (sScrollbars == '')
	{
		sScrollbars = 'no';
	}	
	window.open(dirURL,'','toolbar=no,scrollbars=' + sScrollbars+ ',location=no,directories=no,status=no,menubar=no,resizable=false,width=' + sAncho + ',height=' + sLargo + ',top=50,left=50');
}

//fin para abrir popups-->


// ---------este es el javascript para la barra de navegacion
var topMenu
topMenu = null;
var br
if(navigator.appName == 'Netscape' && document.layers != null){br="N";}
else if(navigator.appName == 'Microsoft Internet Explorer' && document.all != null){br="IE";}
else{br=null}


// detecto si estoy dentro de un frame. (fspina)
origen = '';
if (top.location != self.location)
  { origen = 'parent.mainFrame.'; }

// muestra menu 
function showDDNav(){
	args = showDDNav.arguments;
	if(br=="N"){
		var args, theObj;
		args = showDDNav.arguments;
		theObj = eval(origen + args[1]);
		// posiciono el layer según el lugar del scroll actual. (fspina)
		//theObj.style.top = eval(origen + 'document.body.scrollTop') + topMenu;
		theObj.style.top = topMenu;
		if (theObj) if(theObj.visibility=='hide'){theObj.visibility = 'show';}
	}
	else if(br=="IE"){
		theObj=eval(origen + args[0]);
		if (theObj) 
				if(theObj.style.visibility=='hidden')
				{
					hideElement('SELECT');
					// posiciono el layer según el lugar del scroll actual. (fspina)
					// theObj.style.top = eval(origen + 'document.body.scrollTop') + topMenu;
					theObj.style.top = topMenu;
					theObj.style.visibility = 'visible';
				}
		}
	else{return}
}


// esconde menu 

function hideDDNav(){
	args = hideDDNav.arguments;
	if(br=="N"){
		var args, theObj;
		args = hideDDNav.arguments;
		theObj = eval(origen + args[1]);
		if (theObj) if(theObj.visibility=='show'){theObj.visibility = 'hide';}
	}
	else if(br=="IE"){
		theObj=eval(origen + args[0]);
		if (theObj) if(theObj.style.visibility=='visible'){showElement('SELECT');theObj.style.visibility = 'hidden'}
		}
	else{return}
}


// esconde menu cuando menu esta activo

function hideDiv(){
	args = hideDiv.arguments;
	if(br=="N"){}
	else if(br=="IE"){
		theObj=eval(args[0]);
		// calculate active size of menu
		leftDiv=theObj.offsetLeft +2
		rightDiv=theObj.offsetLeft + theObj.clientWidth -2
		topDiv=theObj.offsetTop +2
		bottomDiv=theObj.offsetTop + theObj.clientHeight -2
		if(window.event.clientY > bottomDiv || 
			window.event.clientY < topDiv || 
			window.event.clientX < leftDiv || 
			window.event.clientX > rightDiv)
			{theObj.style.visibility = 'hidden';showElement('SELECT');}				
		}
	else{return}
}

 
// highlight menu item cuando pasas por encima

function divOver(){
	args = divOver.arguments;
	if(br=="N"){}
	else if(br=="IE"){
		theObj=eval(args[0]);
		if(theObj.style.backgroundColor="cccccc"){
			theObj.style.backgroundColor="cccccc";
		}
	}
	else{return}
}

// highlight off menu item

function divOut(){
	args = divOut.arguments;
	if(br=="N"){}
	else if(br=="IE"){
	theObj=eval(args[0]);
		if(theObj.style.backgroundColor="eeeeee"){
			theObj.style.backgroundColor="eeeeee";
		}
	}
	else{return}
}


// highlight on menuitem in netscape

function menuOver(){
	var args, theMenu;
	args = menuOver.arguments;
	theMenu = eval(args[0]);
	theMenu.bgColor="#cccccc" 
}


// highlight off menuitem in netscape

function menuOut(){
	var args, theMenu;
	args = menuOut.arguments;
	theMenu = eval(args[0]);
	theMenu.bgColor="#eeeeee" 
}

// goes to specified url

function gotoUrl(){
	args = gotoUrl.arguments;
	parent.location.href=args[0]
}


// hides specified tag

function hideElement(HTMLtag)
{
	for (i = 25; i < document.all.tags(HTMLtag).length; i++)
	{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "hidden";
	}
}


// shows specified tag

function showElement(HTMLtag)
{
	for (i = 1; i < document.all.tags(HTMLtag).length; i++)
	{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "visible";
	}
}


// build the divs for IE

var tdID = 0
function doDiv(){
	args = doDiv.arguments;
	var divID = args[0];
	var x = args[1];
	var divLeft = args[2];
	var arrowPos = args[3];
	//var divTop = args[4];
	var divTop = 0
//raya superior

	objDiv = "<div id=\"" + divID + "\" style=\"position:absolute; left:"+ divLeft +"px; top:"+ divTop +"px; width:135px; z-index:2; background-color:#636563; visibility:hidden; padding-left:2;\" onMouseover=\"showDDNav('document.all[\\'"+ divID +"\\']')\"  onMouseout=\"hideDiv('document.all[\\'" + divID + "\\']')\">"
	objDiv += "<div id=\"arrow\" style=\"position:relative; background-color:#636563; width:135px;\"></div>"
	

//rayitas

	for (y = 0; y < 21; y++){
	    if(menuData[x][y][0]!=null){
		
		objDiv += "<div id=\"x" + tdID + "\" style=\"position:relative; background-color:#eeeeee; width:135px;\" onMouseover=\"divOver('document.all[\\'x" + tdID + "\\']')\" onMouseout=\"divOut('document.all[\\'x" + tdID + "\\']')\">&nbsp;<span class=\"texto2negro\" onClick=\"gotoUrl('"+menuData[x][y][1]+"')\">"+ menuData[x][y][0] +"&nbsp;</span></div>"
		tdID = tdID +1 ;
		objDiv += "<div id=\"line\" style=\"position:relative; background-color:#eeeeee; width:135px;\"></div>"
		}
	}

//raya inferior

	objDiv +="<div id=\"line\" style=\"position:relative; background-color:eeeeee; width:136px; height:5px;\"></div></div>"
	document.write(objDiv);
}


// build the layers for netscape

function doLayer(){
	args = doLayer.arguments;
	var nestLayerID=0
	var layerID = args[0];
	var x = args[1];
	var layerLeft = args[2];
	var layerTop = args[4];

	if(navigator.platform.indexOf("Win") < 0){layerInc=21;layerStyle="navMenu";}
	else{layerInc=22;layerStyle="navMenu";}	
		
	objDiv = "<layer id=\""+ layerID +"\" Z-INDEX=2 BGCOLOR=\"FFFFFF\" WIDTH=130 LEFT="+ layerLeft +" TOP="+ layerTop +" VISIBILITY=HIDE onmouseover=\"showDDNav('','document.layers[\\'"+ layerID +"\\']')\" onmouseout=\"hideDDNav('','document.layers[\\'"+ layerID +"\\']')\">"
	objDiv +="<layer id=\"line\" BGCOLOR=\"#ffffff\" WIDTH=130 HEIGHT=4 Z-INDEX=1><center><img src=images/bar.gif width=150 height=2></center></layer>"
	
	var nestTop=3
		for (y = 0; y < 10; y++){
		    if(menuData[x][y][0]!=null){
			
	objDiv += "<layer id=\"x"+nestLayerID+"\" CLIP=\"2,0,147,22\" class=\""+ layerStyle +"\" Z-INDEX=1 BGCOLOR=\"FFFFFF\" HEIGHT=18 WIDTH=130 TOP="+ nestTop +" onmouseover=\"menuOver('document.layers[\\'"+ layerID +"\\'].document.layers[\\'x"+nestLayerID+"\\']')\" onmouseout=\"menuOut('document.layers[\\'"+ layerID +"\\'].document.layers[\\'x"+nestLayerID+"\\']')\"><a id=navstyle href=javascript:gotoUrl('"+menuData[x][y][1]+"')><font color=#000000>"+ menuData[x][y][0]
	objDiv +="</font></a></layer>"		

	nestLayerID=nestLayerID+1
	nestTop=nestTop+layerInc
	objDiv +="<layer id=\"line2\" BGCOLOR=\"#ffffff\" WIDTH=130 HEIGHT=5 Z-INDEX=2 TOP="+ nestTop +"><center><img src=http:images/bar.gif width=150 height=2></center></layer>"
	nestTop=nestTop+2
			}
		}
	objDiv +="<layer id=\"lineEnd\" BGCOLOR=\"#FFffff\" WIDTH=130 HEIGHT=4 Z-INDEX=2 TOP="+ nestTop +"></layer></layer>"

	document.write(objDiv)
}


// declare array
menuData = new Array()
for (i=0; i < 7; i++) {
	menuData[i] = new Array(40)
	for (j=0; j < 21; j++) {
		menuData[i][j] = new Array(2)}}

// Menu "Productos"
menuData[0][0][0]="&nbsp;Banda Ancha";
menuData[0][0][1]="http://highway.telecom.com.ar";
menuData[0][1][0]="&nbsp;Dial Up";
menuData[0][1][1]="http://servicios.arnet.com.ar/ayuda-online/productos_dialup.asp";
menuData[0][2][0]="&nbsp;Wi-Fi";
menuData[0][2][1]="http://www.highway.arnet.com.ar/unplugged";
menuData[0][3][0]="&nbsp;Otros Servicios";
menuData[0][3][1]="http://servicios.arnet.com.ar/ayuda-online/productos_valor_agregado.asp";

// Menu "Canales"
menuData[1][0][0]="&nbsp;Actualidad";
menuData[1][0][1]="http://canales.arnet.com.ar/uicanal/muestrapagina.asp?Canal=708";
menuData[1][1][0]="&nbsp;Cientificos";
menuData[1][1][1]="http://cientificos.arnet.com.ar";
menuData[1][2][0]="&nbsp;Concursos";
menuData[1][2][1]="http://concursos.arnet.com.ar";
menuData[1][3][0]="&nbsp;Ecologia";
menuData[1][3][1]="http://www.ecologia.arnet.com.ar";
menuData[1][4][0]="&nbsp;El cuarto de los Chicos";
menuData[1][4][1]="http://servicios.arnet.com.ar/TourChicos/tourchicos2.asp";
menuData[1][5][0]="&nbsp;Entretenimientos";
menuData[1][5][1]="http://contenidos.arnet.com.ar/links/index-adondevamos.asp";
menuData[1][6][0]="&nbsp;Finanzas";
menuData[1][6][1]="http://finanzas.arnet.com.ar";
menuData[1][7][0]="&nbsp;Juegos";
menuData[1][7][1]="http://games.arnet.com.ar";
menuData[1][8][0]="&nbsp;Musica";
menuData[1][8][1]="http://telecom.10musica.com/html/home.html";
menuData[1][9][0]="&nbsp;Portal de Banda Ancha";
menuData[1][9][1]="http://www.point.arnet.com.ar";
menuData[1][10][0]="&nbsp;Noticias";
menuData[1][10][1]="http://news.arnet.com.ar/home_noticias.asp";
menuData[1][11][0]="&nbsp;Salud";
menuData[1][11][1]="http://canales.arnet.com.ar/uicanal/muestrapagina.asp?Canal=200";
menuData[1][12][0]="&nbsp;Tecnología";
menuData[1][12][1]="http://tecnologia.arnet.com.ar";
menuData[1][13][0]="&nbsp;Yo Matías";
menuData[1][13][1]="http://yomatias.arnet.com.ar/";

// Menu "Servicios"
menuData[4][0][0]="&nbsp;Asterisco Mail";
menuData[4][0][1]="http://serviciomail.arnet.com.ar/";
menuData[4][1][0]="&nbsp;Clasificados";
menuData[4][1][1]="http://arnet.clasificadosargentinos.com/";
menuData[4][2][0]="&nbsp;Copias de Fotos";
menuData[4][2][1]="http://arnet.magic-photo.com.ar/";
menuData[4][3][0]="&nbsp;Dejanos tu CV";
menuData[4][3][1]="http://cv.arnet.com.ar/";
menuData[4][4][0]="&nbsp;Mapas";
menuData[4][4][1]="http://mapas.arnet.com.ar/"
menuData[4][5][0]="&nbsp;Mensajes Personal";
menuData[4][5][1]="http://sms.personal.com.ar/Mensajes/msn.htm"
menuData[4][6][0]="&nbsp;Páginas Amarillas";
menuData[4][6][1]="http://www.paginasamarillas.com.ar/";
menuData[4][7][0]="&nbsp;Postales";
menuData[4][7][1]="http://postales.arnet.com.ar/";
menuData[4][8][0]="&nbsp;Ringtones";
menuData[4][8][1]="http://arnet.toing.com.ar";
menuData[4][9][0]="&nbsp;Traductor";
menuData[4][9][1]="http://babylon.arnet.com.ar/";

// Menu "Email"
menuData[5][0][0]="&nbsp;Email Arnet";
menuData[5][0][1]="http://webmail.arnet.com.ar/";
menuData[5][1][0]="&nbsp;Email Radar";
menuData[5][1][1]="http://ingreso.radar.com.ar/horde/imp/index.php3";


function cargaMenu(topNS,topIE){
if(br=="N"){
	// topNS = 75
	topMenu = topNS;
	doLayer('productos',0,75,'left',topNS)
	doLayer('Canales',1,163,'left',topNS)
	doLayer('servicios',4,233,'left',topNS)
	doLayer('email',5,363,'left',topNS)

}
else if(br=="IE"){
	// topNS = 73
	topMenu = topIE;
	doDiv('productos',0,155,'left',topIE)
	doDiv('Canales',1,235,'left',topIE)
	doDiv('servicios',4,304,'left',topIE)
	doDiv('email',5,425,'left',topIE)
}
else{}
}



/*
* Agregado/Modificado 17/11/2003 - JMHIERRO
* La funcion que esta a continuacion, originalmente es la que esta entre las {} del TRY.
* El TRY se agrego para resolver el error que habia cuando se cargaba una pagina dentro de un frame
*/

try
{
	// si tengo frames, y no estoy en el "header" del menu Arnet, cargo el menu de layers. (fspina)
	if (parent.document.frames.length > 0)
	  { cargaMenu(0,0); }
	else
	//aca esta la altura top
	  { cargaMenu(53,54); }
	// ------ fin del javascript para la barra de navegacion
	
}
catch (exception)
{
	{ cargaMenu(53,54); }
}

function goTo(select) {
	for (var i=0; i < select.options.length; i++)
		if ((select.options[i].selected==true)&& (select.options[i].value != ''))
		{	
			window.location = select.options[i].value
			
		}
}

var br
if(navigator.appName == 'Netscape' && document.layers != null){br="N";}
else if(navigator.appName == 'Microsoft Internet Explorer' && document.all != null){br="IE";}
else{br=null}

function reDo(){ window.location.reload() }
function setResize(){setTimeout("window.onresize=reDo",500);}
if(br=="N"){
window.onload = setResize;
}

function Start(page) {
	OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=no,location=yes,scrollbars=yes,resizable=yes,width=600, height=300");
}

function enviar()
{
   if (document.login.user.value == "" || document.login.pass.value == "" ) {
       alert( "Por favor necesito tu nombre de usuario y contaseña." );
	   return;
   } else {
	   document.login.submit();
   }
}

function menuItem(loc) {
	var newURL = (loc)
	location.href = newURL;
}

function Start(page) {
	OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=no,location=yes,scrollbars=yes,resizable=yes,width=600,height=300");
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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) { //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];}
}
 
function popup(theURL,winName,ancho,alto,features) { //v2.0
 var wleft = (screen.width - ancho)/2
 var wtop = (screen.height - alto)/2 
 if (features==null) {
	 features = "scrollbars='no', fullscreen='no' , resizable='no',status='no', toolbar='no', directories='no', location='no', menubar='no', copyhistory='no'";
	 }
 window.open(theURL, 'Arnet', "width="+ancho+", height="+alto+", "+ features +", top= "+ wtop.toString() +", left="+ wleft.toString());
}

function popupWMV(theURL,ancho,alto,features) { //v2.0
 var wleft = (screen.width - ancho)/2
 var wtop = (screen.height - alto)/2 
 if (features==null) {
	 features = "scrollbars='no', fullscreen='no' , resizable='no',status='no', toolbar='no', directories='no', location='no', menubar='no', copyhistory='no'";
	 }
 window.open(theURL, 'Arnet', "width="+ancho+", height="+alto+", "+ features +", top= "+ wtop.toString() +", left="+ wleft.toString());
}

function popupFlash(txtTipo, txtVideo, txtMarquesina, txtFormato){
	htmlPath = 'http://home.arnet.com.ar/includes/video_popup.php?video='+ txtVideo + '&marquesina=' + txtMarquesina + '&tipo='+ txtTipo + '&formato='+ txtFormato;
	features = 'width=410, height=354, toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no';
	window.open(htmlPath, 'Arnet', features);
}
function popupFlashSinMarquesina(txtTipo, txtVideo){
	htmlPath = 'http://home.arnet.com.ar/includes/video_popup.php?video='+ txtVideo + '&tipo='+ txtTipo;
	features = 'width=410, height=354, toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no';
	window.open(htmlPath, 'Arnet', features);
}
