// <!-- Kontextmenü

<!--
var menucontent = "";
var sourcedir = "";
menucontent += '<HTML><HEAD><STYLE><!--.generale{position: absolute; left: -999; top: -999; z-index: 999; cursor: default; background-color: #E0E0E0; color: menuText; width: 150;visibility: hidden; border-style: outset; border-width: 2px; height: 150}.components{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; padding-left: 10px; padding-right: 10px; padding-top: 3px; padding-bottom: 3px }// --></STYLE></HEAD>';
menucontent += '<DIV ID="right_menu" CLASS="generale">';
menucontent += '<center><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Kontext Menu</b></font></center><hr>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'back\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/back.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">&nbsp;&nbsp;Vorherige Seite</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'forward\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/forward.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">&nbsp;&nbsp;Nächste Seite</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'reload\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/reload.gif" ALIGN="absmiddle" WIDTH="15" HEIGHT="16">&nbsp;&nbsp;Aktualisieren</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'home\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/home.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Als Startseite</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'bookmark\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/bookmark.gif" ALIGN="absmiddle" WIDTH="15" HEIGHT="15">&nbsp;&nbsp;Zu den Favoriten</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'emaildp\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/email.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Email Me</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'info\')" STATUSTEXT=""><IMG SRC="' + sourcedir + 'images/icons/info.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Info</DIV>';

menucontent += '</DIV></BODY></HTML>';
if (document.all && window.print) document.write (menucontent);
function light_on (){
if (event.srcElement.className == "components"){
event.srcElement.style.backgroundColor="highlight";
event.srcElement.style.color="highlightText";
if (event.srcElement.STATUSTEXT) {
window.status = event.srcElement.STATUSTEXT;
}
}
}
function light_off (){
if (event.srcElement.className == "components"){
event.srcElement.style.backgroundColor= "#E0E0E0";
event.srcElement.style.color="menuText";
window.status = "";
}
}
function extension (){
if (event.clientY> 0 && event.clientX >0 && event.clientY<document.body.clientHeight && event.clientX<document.body.clientWidth) {
if (document.body.clientHeight - event.clientY + document.body.scrollTop>document.body.clientHeight / 2){
right_menu.style.top = event.clientY + document.body.scrollTop;
} else {
right_menu.style.top = event.clientY + document.body.scrollTop - 255;
}
if (document.body.clientWidth- event.clientX + document.body.scrollLeft >document.body.clientWidth / 2){
right_menu.style.left = event.clientX + document.body.scrollLeft;
} else {
right_menu.style.left = event.clientX + document.body.scrollLeft - 180;
}
} else {
right_menu.style.top = document.body.scrollTop;
right_menu.style.left = document.body.scrollLeft;
}
right_menu.style.visibility = "visible";
return false;
}
function hide (){
right_menu.style.visibility = "hidden";
right_menu.style.left = -999;
right_menu.style.top = -999;
}
function exe (type){
if (type == "back"){
history.back();
} else if (type == "forward"){
history.forward();
} else if (type == "home"){
document.body.style.behavior='url(#default#homepage)';
document.body.setHomePage('http://www.visiantis.com');
} else if (type == "bookmark"){
window.external.AddFavorite('http://www.visiantis.com', 'Visiantis.com - ECards für alle!');
} else if (type == "reload"){
self.location.reload();
} else if (type == "emaildp"){
location.href="http://www.visiantis.com/action=kontakt";
}else if (type == "info"){
alert('Visiantis.com © 2000-2002 by Visiantis GbR');
}
}
function cancelproc () { window.event.cancelBubble = true;
window.event.returnValue = false;
}
if (document.all && window.print){
document.oncontextmenu=extension;
document.body.onclick=hide;
right_menu.onmouseover=light_on;
right_menu.onmouseout=light_off;
right_menu.ondragstart=cancelproc;
right_menu.onselectstart=cancelproc;
}
// -->



// effects
function mOvr(src,clrOver)
{
if (!src.contains(event.fromElement))
{
src.style.cursor = 'hand'; 
src.bgColor = clrOver;
}
}
function mOut(src,clrIn)
{
if (!src.contains(event.toElement))
{
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src,clrClick)
{
if (!src.contains(event.toElement))
{
src.style.cursor = 'default';
src.bgColor = clrClick;
}
}


//output Menu (top AND bottom)


function Menu (location) {
	  
document.open("text/plain");
  
document.writeln("<center><table border=0 width=\"100%\" bgcolor=\"#6483D2\" cellspacing=0 cellpadding=0>");
document.writeln("  <tr><td align=left>");
document.writeln("    <table border=0 cellspacing=0 cellpadding=0 height=\"20\"><tr>");

document.writeln("<td nowrap WIDTH=80 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#FF9933');\">");
document.writeln("<p align=center><b><a href=\"http://www.visiantis.com/index.php\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>Home</font></a></b></p></td>");

document.writeln("<td nowrap WIDTH=80 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#800080');\">");
document.writeln("<p align=center><b><a href=\"index.php?content=sitemap\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=\"1\">Sitemap</font></a></b></p></td>");

document.writeln("<td nowrap WIDTH=80 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#D57000');\">");
document.writeln("<p align=center><b><a href=\"index.php?content=members\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>Mein Visiantis</font></a></b></p></td>");

document.writeln("<td nowrap WIDTH=80 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#008000');\">");
document.writeln("<p align=center><b><a href=\"index.php?content=contact\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>Kontakt</font></a></b></p></td>");

document.writeln("<td nowrap WIDTH=80 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#FF3300');\">");
document.writeln("<p align=center><b><a href=\"index.php?content=help\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>Hilfe</font></a></b></p></td>");

document.writeln("  </tr></table>");
      
document.writeln("</td><td align=right>");
	
document.writeln("        <table border=0 cellspacing=0 cellpadding=0 height=\"20\">");
document.writeln("          <tr>");
document.writeln("	    <td nowrap width=100 valign=center align=right>");
	 if (location==top) {
document.writeln("		<form name=\"cardsearch_header\" method=post action=\"index.php\">");
document.writeln("		<input type=text name=\"keywords\" value=\"\" size=12 style=\"border-width:1; border-color:#6483D2; background-color:#DDFFFF; font-family: Arial; font-weight:bold; font-size:7pt;\">");
document.writeln("	    </td>");

document.writeln("	    <td nowrap WIDTH=100 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#0000FF');\">");
document.writeln("		<p align=center><b><a href=\"javascript:document.cardsearch_header.submit()\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>ECards suchen</font></a></form></b></p>");
	}
	 else if (!location) {
document.writeln("		<form name=\"cardsearch_footer\" method=post action=\"index.php\">");
document.writeln("		<input type=text name=\"keywords\" value=\"\" size=12 style=\"border-width:1; border-color:#6483D2; background-color:#DDFFFF; font-family: Arial; font-weight:bold; font-size:7pt;\">");
document.writeln("	    </td>");

document.writeln("	    <td nowrap WIDTH=100 onclick=\"mClk(this,'#dddddd');\" onmouseout=\"mOut(this,'#6483D2');\" onmouseover=\"mOvr(this,'#0000FF');\">");
document.writeln("		<p align=center><b><a href=\"javascript:document.cardsearch_footer.submit()\" class=\"bb\"><font color=\"#FFFFFF\" face=\"verdana,helvetica,arial\" size=1>ECards suchen</font></a></form></b></p>");
	}

document.writeln("	    </td></tr></table>");
	
document.writeln("      </td></tr></table></center>");
  
document.close();      

}

