﻿// Archivo JScript
function getFile(Url)
{
window.open(Url,'_blank');
}
function getURLif(Url,Tar,alto)
{
$('.Slice').hide(1000);
if(nav4)
$('#' + Tar).hide(100);
document.getElementById(Tar).innerHTML="<iframe src ='" + Url + "' frameborder='0' height='"+ alto+"' scrolling='yes' width='100%'></iframe>";
bookmarks.sethash('#!' + Url,"<iframe src ='" + Url + "' frameborder='0' height='"+ alto+"' scrolling='yes' width='100%'></iframe>",'Inf');
$('#' + Tar).show(1000);
if(Url.indexOf("central.html") >= 0){
	muestrapestanas();
}


}

var nav4= window.Event?false:true;

function getURL(URL,capa)
{
var d = new Date();
$('.Slice').hide(1000);
if(nav4)
$('#' + capa).hide(100);
FAjax(URL + '?id=' + d.getSeconds() ,capa,'','GET');
if(nav4)
$('#' + capa).show(500);

if(URL.indexOf("central.html") >= 0){
	muestrapestanas();
}
}

function getURLPrimeraVez(URL,capa)
{
   var d = new Date();
   FAjax(URL + '?id=' + d.getSeconds() ,capa,'','GET');
}

function muestrapestanas(){
	$('.Slice').show(1000);
}

function ocultapestanas(){
	$('.Slice').hide(1000);
}

