<!--
function fbs_click() {u=location.href;t=document.title;window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&amp;t="+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436");return false;}
function tw_click() {u=location.href;t=document.title;return(encodeURIComponent(t)+"%3A"+encodeURIComponent(u));}
function Favos() { if (window.sidebar && window.sidebar.addPanel) { window.sidebar.addPanel( document.title ,location.href,""); } else { window.external.AddFavorite(location.href,document.title) } }
function vervid(id,cc) { window.open('/video_popup.php?yt_id='+id+'&cc='+cc+'&t='+document.title,'video_popup','fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0,width='+screen.availWidth+',height='+screen.availHeight); return(false); }

window.fbAsyncInit = function() { FB.init({appId: '103243029760338', channelUrl: '//www.derutasydestinos.com/channel.php', status: true, cookie: true, xfbml: true }); };
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/es_LA/all.js"; d.getElementsByTagName('head')[0].appendChild(js);
}(document));

(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=103243029760338";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));


function Flags()
{
 u=location.href;
 document.write('<img src="/imagenes/flags.png" width="214" height="15" alt="" usemap="#flagmap" /><map name="flagmap" id="flagmap"><area target="_blank" shape="rect" coords="0,0,22,15" href="http://translate.google.com/translate?client=tmpg&amp;hl=pt&amp;u='+u+'&amp;langpair=es|pt" title="Portugues" alt="PT" /><area target="_blank" shape="rect" coords="49,0,70,15" href="http://translate.google.com/translate?client=tmpg&amp;hl=en&amp;u='+u+'&amp;langpair=es|en" title="English" alt="EN" /><area target="_blank" shape="rect" coords="97,0,118,15" href="http://translate.google.com/translate?client=tmpg&amp;hl=it&amp;u='+u+'&amp;langpair=es|it" title="Italiano" alt="IT" /><area target="_blank" shape="rect" coords="145,0,166,15" href="http://translate.google.com/translate?client=tmpg&amp;hl=de&amp;u='+u+'&amp;langpair=es|de" title="Deutsch" alt="DE" /><area target="_blank" shape="rect" coords="193,0,214,15" href="http://translate.google.com/translate?client=tmpg&amp;hl=fr&amp;u='+u+'&amp;langpair=es|fr" title="Français" alt="FR" /></map>');
}

function Instuti() { document.write('<img src="/imagenes/institu.png" width="874" height="48" alt="" usemap="#institumap" /><map name="institumap">  <area shape="rect" coords="0,0,88,48" href="http://www.turismo.gov.ar" title="Ministerio de Turismo Argentina" alt="" />  <area shape="rect" coords="128,0,190,48" href="http://www.norteargentino.gov.ar" title="Turismo Norte Argentina" alt="" />  <area shape="rect" coords="235,0,302,48" href="http://www.cuyoargentina.gov.ar" title="Turismo Cuyo Argentina" alt="" />  <area shape="rect" coords="342,0,422,48" href="http://www.litoralargentina.gov.ar" title="Turismo Litoral Argentina" alt="" />  <area shape="rect" coords="456,0,534,48" href="http://www.buenosaires.tur.ar" title="Turismo Provincia Buenos Aires" alt="" />  <area shape="rect" coords="565,0,650,48" href="http://www.bue.gov.ar" title="Turismo Ciudad Autonoma de Buenos Aires" alt="" />  <area shape="rect" coords="680,0,750,48" href="http://www.cordobaturismo.gov.ar" title="Turismo Cordoba" alt="" />  <area shape="rect" coords="792,0,874,48" href="http://www.patagonia.gov.ar" title="Turismo Patagonia Argentina" alt="" /></map>');}

var timeout         = 100;
var closetimer= 0;
var ddmenuitem      = 0;

// open hidden layer
function mopen(id)
{	
	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
window.clearTimeout(closetimer);
closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose; 
// -->

