//Funciones Para Hipernet
function init(){

self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
}
//Esta función hace saltar los textos privacidad y legal

function texto(tipo){
if (window.screen.width==800){var Sx=55;var Sy=144 }
else {var Sx=((window.screen.width - 550)/2)-5;var Sy=((window.screen.height - 300)/2)-15;}

if (tipo=="legal"){

window.open('legal.html','texto','Width=550,Height=300,left=' + Sx + ',top=' + Sy);

}
if (tipo=="cv"){

window.open('cv.html','texto','Width=550,Height=300,left=' + Sx + ',top=' + Sy);

}

if (tipo=="privacidad"){

window.open('privacidad.html','texto','Width=550,Height=300,left=' + Sx + ',top=' + Sy);

}
}

function publicidad(){
if (window.screen.width==800){var Sx=351;var Sy=26 }
else {var Sx=((window.screen.width - 293)/2)-5;var Sy=((window.screen.height - 274)/2)-15;}
window.open('ciberpyme.htm','ciberpyme','Width=293,Height=274,left=' + Sx + ',top=' + Sy);

}


