//no sacar estas barras sacar las de abajo- - width es ancho
//
//////////oparzon@tutopia.com
//
//---------------- FUNCION VENTANAS----------------------------------------------
//
//deberia abrirla segun le digo y en el centro de la pantalla
//-------las medidas y el archivo vienen desde el html que llama esta funcion--------
//
var win=null;
function ventana(mypage,myname,w,h,scroll,pos)
	{
	if(pos=="random")
		{
		LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
		}
	if(pos=="center")
		{
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;
		}
	else if((pos!="center" && pos!="random") || pos==null)
		{
		LeftPosition=0;
		TopPosition=20;
		}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);
}
//
//
//
//----------------FIN FUNCION VENTANAS----------------------------------------------
function click() {
if (event.button==2) {
alert('Klaein.com.ar!');
}
}
document.onmousedown=click

function mail() {
OpenWin = this.open("mail.htm", "no", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=480,height=500,left=155,top=0");
}
function rdz() {
OpenWin = this.open("mail.htm", "dos", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=520,height=580,left=100,top=0");
}
function mantis() {
OpenWin = this.open("mantis.htm", "tres", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=630,height=510,left=0,top=0");
}
function rdz1() {
OpenWin = this.open("rdz/index.html", "capa", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=800,height=600,left=0,top=0");
}
function cuatro() {
OpenWin = this.open("aseso.htm", "asesora", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=330,height=290,left=155,top=5");
}
function cinco(page) {
OpenWin = this.open(page, "com", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=373,height=445,left=155,top=5");
}

function seis(page) {
OpenWin = this.open(page, "compu", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=400,height=300,left=155,top=5");
}

function siete(page) {
OpenWin = this.open(page, "electric", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=541,height=398,left=155,top=5");
}

function ocho(page) {
OpenWin = this.open(page, "alarma", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=450,height=450,left=155,top=5");
}

function nueve(page) {
OpenWin = this.open(page, "ilumina", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=536,height=356,left=155,top=5");
}

function diez(page) {
OpenWin = this.open(page, "video", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=383,height=465,left=155,top=5");
}

function once(page) {
OpenWin = this.open(page, "sonido", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=405,height=501,left=155,top=5");
}


function doce(page) {
OpenWin = this.open(page, "audio", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=285,height=110,left=155,top=5");
}
//
//
//
//	FUNCION FECHA
//
function Dia_de_Semana (d1,d2,d3,d4,d5,d6,d7) {
this[0]=d1;
this[1]=d2;
this[2]=d3;
this[3]=d4;
this[4]=d5;
this[5]=d6;
this[6]=d7;
	}

function Mes_del_Anio (d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12) {
this[0]=d1;
this[1]=d2;
this[2]=d3;
this[3]=d4;
this[4]=d5;
this[5]=d6;
this[6]=d7;
this[7]=d8;
this[8]=d9;
this[9]=d10;
this[10]=d11;
this[11]=d12;
	}

Semana = new Dia_de_Semana ("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado");

Mes = new Mes_del_Anio ("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");

var today= new Date;
diahoy = today.getDay();
fechahoy = today.getDate();
meshoy = today.getMonth();
anio = today.getYear();
if(anio < 1900) {anio += 1900}

function dia () {
//document.write ("<font face="Arial, Helvetica, sans-serif size='2' color='#000000'>");
document.write ('.:Gran Buenos Aires Norte, ');
document.write (Semana[diahoy]+' '+fechahoy);
document.write (' de '+Mes[meshoy]+' de '+anio+':.');
document.write ("<BR>");
}
function dia2 () {
//document.write ("<font face="Arial, Helvetica, sans-serif size='2' color='#ffffff'>");
//document.write ('.:Gran Buenos Aires Norte:.');
//document.write ("<BR>");
document.write (Semana[diahoy]+' '+fechahoy);
document.write (' de '+Mes[meshoy]+' de '+anio+'');
//document.write ("");
}
//
//window.open('cat.htm','remoto','toolbar=no, directories=no,location=no,status=no,menubar=no,scrollbars=no,//resizable=no,width=360,height=481,left=0,top=0')
//window.close();
//
//function taller1() {
//OpenWin = this.open("taller/index.html", "tres", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,//width=500,height=400,left=100,top=0");
//



