// share on facebook
function fbs_click() {
u=location.href;
t=document.title;
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
return false;
}

// tweet this
function tweettweet() {
var url = window.location;
var text = "";
var twt = "http://twitter.com/timeline/home?status=";
the_url = (twt+text+url);
window.open(the_url);
}

// recommmend this
function recommend() {
var url = escape(window.location);
fenster=window.open("http://www.erlebnisfuehrer.ch/recommend_de.php?site="+url, "Seite weiterempfehlen", "width=500,height=450,resizable=no,status=no,scrollbars=no");
fenster.focus();
return false;
}

//watch this in streetview
function streetview(lang) {
//var url = window.location;
fenster=window.open("http://www.erlebnisfuehrer.ch/streetview.php?lang="+lang, "Streetview", "width=520,height=520,resizable=no,status=no,scrollbars=no");
fenster.focus();
return false;
}

// show hide
function tv(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
   e.style.display = 'none';
else
   e.style.display = 'block';
}