
var win=null;

onerror = stopError;
function stopError(){
	return true;
}
function v_free_code1(){
	myleft=100;
	mytop=100;
	settings="width=600,height=450,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_free1.php","mypopup",settings);
	win.focus();

}
function v_free_code2(){
	myleft=100;
	mytop=100;
	settings="width=600,height=450,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_free2.php","mypopup",settings);
	win.focus();

}
function v_free_code_logo1(){
	myleft=100;
	mytop=100;
	settings="width=600,height=120,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_free_logo1.php","mypopup",settings);
	win.focus();

}
function v_free_code_logo2(){
	myleft=100;
	mytop=100;
	settings="width=600,height=120,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_free_logo2.php","mypopup",settings);
	win.focus();

  }
function v_free_code_logo3(){
	myleft=100;
	mytop=100;
	settings="width=600,height=120,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_free_logo3.php","mypopup",settings);
	win.focus();

  }
function popup_agb(){
	myleft=100;
	mytop=100;
	settings="width=530,height=380,top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.unterwasser-videos.de/seiten/popup_agb.php","mypopup",settings);
	win.focus();
  
}


// weiterempfehlen
// focus
function ub() {
    document.getElementById("email").className = "input_menus ub";
    if (document.getElementById("email").value == "Email-Adresse") {
        document.getElementById("email").value = "";
    }
}

// blur
function ug() {
    if (document.getElementById("email").value == "") {
        document.getElementById("email").value = "Email-Adresse";
        document.getElementById("email").className = "input_menus ug";
    }
}

//-->

// volltextsuche links
// focus
function ubv() {
    document.getElementById("suche").className = "input_menus ub";
    if (document.getElementById("suche").value == "Volltextsuche") {
        document.getElementById("suche").value = "";
    }
}

// blur
function ugv() {
    if (document.getElementById("suche").value == "") {
        document.getElementById("suche").value = "Volltextsuche";
        document.getElementById("suche").className = "input_menus ug";
    }
}