/*

javascripts.js | functions submenu_

- Lässt das Submenu erscheinen bei Mouseovers

*/

function deleteLogin()
{
		document.getElementById("login").value="";
}

function deletePwd()
{
		document.getElementById("pwd").value="";
}

function show_submenu_musterdepots () 
{
  if (document.getElementById)
  {
   	 document.getElementById("d_submenu_depotaktien").style.visibility = "hidden";
 	 document.getElementById("d_submenu_insider").style.visibility = "hidden";   	 
   	 document.getElementById("d_submenu_musterdepots").style.visibility = "visible";
  }
}

function show_submenu_depotaktien () 
{
  if (document.getElementById)
  {
   	 document.getElementById("d_submenu_musterdepots").style.visibility = "hidden";
   	 document.getElementById("d_submenu_insider").style.visibility = "hidden";
   	 document.getElementById("d_submenu_depotaktien").style.visibility = "visible";
  }
}

function show_submenu_insider() 
{
  if (document.getElementById)
  {
   	 document.getElementById("d_submenu_musterdepots").style.visibility = "hidden";
   	 document.getElementById("d_submenu_depotaktien").style.visibility = "hidden";
   	 document.getElementById("d_submenu_insider").style.visibility = "visible";
  }
}

function show_no_submenus() 
{
  if (document.getElementById)
  {
   	 document.getElementById("d_submenu_musterdepots").style.visibility = "hidden";
   	 document.getElementById("d_submenu_depotaktien").style.visibility = "hidden";
 	document.getElementById("d_submenu_insider").style.visibility = "hidden";   	 
  }
}

function open_dialogwindow(url, n, w, h)
{
    kwin = window.open(url, n, 'width=' + w + ',height=' + h + ',left=50,top=50,location=no,menubar=no,toolbar=no,status=no,resizable=no,scrollbars=yes');
    kwin.focus();
}

function open_dialogwindow_nsb(url, n, w, h)
{
    kwin = window.open(url, n, 'width=' + w + ',height=' + h + ',left=50,top=50,location=no,menubar=no,toolbar=no,status=no,resizable=no,scrollbars=no');
    kwin.focus();
}