function init() {
glide();
tease();
}

function glide() {
if(document.location.href.match("page=videos") || document.location.href.match("page=pictures")) {
window.scrollTo(700,0); } }

function tease() {
if(!document.location.href.match(/index.php/)) {
document.getElementById("teaser").style.width=document.documentElement.clientWidth+"px";
document.getElementById("teaser").style.height=document.documentElement.clientHeight+"px";
document.getElementById("teaser").style.visibility="visible";
document.getElementById("teaserinh").style.visibility="visible"; } }

function teaseoff() {
document.getElementById("teaser").style.visibility="hidden";
document.getElementById("teaserinh").style.visibility="hidden"; }

function pop(id,ch) {
var addr="/cgi-bin/blox/popup.cgi?ch="+ch+"&id="+id;
var det=window.open(addr,"DanielSabranski","width=800,height=600,scrollbars=yes");
det.focus(); }

