// JavaScript Document

function loadIndex(){
parent.frames['left'].location.href='index_left.php'
parent.frames['right'].location.href='index_right.php'
parent.frames['bottom'].location.href='index_bottom.php'
parent.frames['botones'].location.href='index_botones.php'
}

function loadCirugia(){
parent.frames['left'].location.href='cirugia_left.php'
parent.frames['right'].location.href='cirugia_right.php'
parent.frames['bottom'].location.href='cirugia_bottom.php'
parent.frames['botones'].location.href='cirugia_botones.php'
}

function loadObesidad(){
parent.frames['left'].location.href='obesidad_left.php'
parent.frames['right'].location.href='obesidad_right.php'
parent.frames['bottom'].location.href='obesidad_bottom.php'
parent.frames['botones'].location.href='obesidad_botones.php'
}

function loadOjos(){
parent.frames['left'].location.href='ojos_left.php'
parent.frames['right'].location.href='ojos_right.php'
parent.frames['bottom'].location.href='ojos_bottom.php'
parent.frames['botones'].location.href='ojos_botones.php'
}

function loadGinecologia(){
parent.frames['left'].location.href='ginecologia_left.php'
parent.frames['right'].location.href='ginecologia_right.php'
parent.frames['bottom'].location.href='ginecologia_bottom.php'
parent.frames['botones'].location.href='ginecologia_botones.php'
}

function loadTraumatologia(){
parent.frames['left'].location.href='traumatologia_left.php'
parent.frames['right'].location.href='traumatologia_right.php'
parent.frames['bottom'].location.href='traumatologia_bottom.php'
parent.frames['botones'].location.href='traumatologia_botones.php'
}

function loadEstomago(){
parent.frames['left'].location.href='estomago_left.php'
parent.frames['right'].location.href='estomago_right.php'
parent.frames['bottom'].location.href='estomago_bottom.php'
parent.frames['botones'].location.href='estomago_botones.php'
}

function loadCardiologia(){
parent.frames['left'].location.href='cardiologia_left.php'
parent.frames['right'].location.href='cardiologia_right.php'
parent.frames['bottom'].location.href='cardiologia_bottom.php'
parent.frames['botones'].location.href='cardiologia_botones.php'
}

function loadCancerologia(){
parent.frames['left'].location.href='cancerologia_left.php'
parent.frames['right'].location.href='cancerologia_right.php'
parent.frames['bottom'].location.href='cancerologia_bottom.php'
parent.frames['botones'].location.href='cancerologia_botones.php'
}

function loadOtras(){
parent.frames['left'].location.href='otras_left.php'
parent.frames['right'].location.href='otras_right.php'
parent.frames['bottom'].location.href='otras_bottom.php'
parent.frames['botones'].location.href='otras_botones.php'
}

function loadHospitales(){
parent.frames['left'].location.href='hospitales_left.php'
parent.frames['right'].location.href='hospitales_right.php'
parent.frames['bottom'].location.href='hospitales_bottom.php'
parent.frames['botones'].location.href='hospitales_botones.php'
}

function loadHoteles(){
parent.frames['left'].location.href='hoteles_left.php'
parent.frames['right'].location.href='hoteles_right.php'
parent.frames['bottom'].location.href='hoteles_bottom.php'
parent.frames['botones'].location.href='hoteles_botones.php'
}

function loadRestaurantes(){
parent.frames['left'].location.href='restaurantes_left.php'
parent.frames['right'].location.href='restaurantes_right.php'
parent.frames['bottom'].location.href='restaurantes_bottom.php'
parent.frames['botones'].location.href='restaurantes_botones.php'
}

function loadTransporte(){
parent.frames['left'].location.href='transporte_left.php'
parent.frames['right'].location.href='transporte_right.php'
parent.frames['bottom'].location.href='transporte_bottom.php'
parent.frames['botones'].location.href='transporte_botones.php'
}


function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=575,height=405,scrollbars=no');
return false;
}

function popupBuscar(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=350,height=500,scrollbars=yes');
return false;
}

function updateParent(direccion) {
	window.opener.parent.location = direccion;
    self.close();
    return false;
}
