
function openLogIn (url) {
  //alert(url);
  f1 = window.open(url, "popup", "width=800,height=600,left=100,top=100,scrollbars=yes");
  f1.focus();
}
function logIn(wert){
//alert(wert);
//document.getElementById("var2flash").value= wert;
//alert(document.getElementById("var2flash").value);
window.document.main.SetVariable("id_session", wert);
}
function logOut(){
	window.document.main.SetVariable("id_session", 0);
}

function openWindow(url){
url = "userdb/login.php?aktion="+url;
//alert(url);
f1 = window.open(url, "popup", "width=800,height=600,left=150,top=150,scrollbars=yes");
  f1.focus();

}
function openContent(url){
url = "userdb/content.php?aktion="+url;
//alert(url);
f1 = window.open(url, "popup", "width=800,height=600,left=150,top=150,scrollbars=yes");
  f1.focus();
}

function openHistory(){

f1 = window.open("history.php", "popup", "width=1024,height=768,left=150,top=150");
  f1.focus();
}

function hallo(wert){
window.document.main.SetVariable("id_session", wert);
alert(wert);
}
function openTopic(id_topic){
url = "topics.php?id_topic="+id_topic;
//alert(url);
f1 = window.open(url, "popup", "width=800,height=600,left=150,top=150,scrollbars=yes");
  f1.focus();
}
function openPW(id_person){

url = "userdb/content.php?id_person="+ id_person +"#"+ id_person;
//alert(url);
f1 = window.open(url, "popup", "width=800,height=600,left=150,top=150,scrollbars=yes");
  f1.focus();


}
function openTopicAZ(){
//alert(url);
f1 = window.open("userdb/content.php?aktion=topicAZ", "popup", "width=800,height=600,left=150,top=150,scrollbars=yes");
  f1.focus();
}