<!--
var menucontent = "";
var sourcedir = "";
menucontent += '<HTML><HEAD><STYLE><!--.generale{ position: absolute; left: -999; top: -999; z-index: 999; cursor: default; background-color: menu; color: menuText; width: 178;visibility: hidden; border-style: outset; border-width: 2px; height: 100}.components{ font-family: Ms Shell Dlg; font-size: 12px; padding-left: 10px; padding-right: 10px; padding-top: 3px; padding-bottom: 3px }// --></STYLE></HEAD>';
menucontent += '<BODY><OBJECT ID="cerca" CLASSID="clsid:B45FF030-4447-11D2-85DE-00C04FA35C89" HEIGHT="0" WIDTH="0"></OBJECT><DIV ID="right_menu" CLASS="generale">';
menucontent += '<hr size="3"><center><img border="0" src="script/back.jpg" width="139" height="17"></center><hr size="3">';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'home\')" STATUSTEXT=" Set as Homepage"><img border="0" src="script/homepage.gif" width="12" height="12"> Set as Homepage</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'bookmark\')" STATUSTEXT=" Add to Favorites"><img border="0" src="script/favoriten.gif" width="12" height="12"> Add to Favorites</DIV><HR size="3">';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'reload\')" STATUSTEXT=" Refresh"><img border="0" src="script/refresh.gif" width="12" height="12"> Refresh</DIV><HR size="3">';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'emaildp\')" STATUSTEXT="E-mail to Webmaster"><img border="0" src="script/email.gif" width="12" height="12"> E-mail to Webmaster</DIV><HR size="3">';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'info\')" STATUSTEXT="Info & Copyright"><img border="0" src="script/copyright.gif" width="12" height="12"> Info & Copyright</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="#333333";
event.srcElement.style.color="#996633";
if (event.srcElement.STATUSTEXT) {
window.status = event.srcElement.STATUSTEXT;
}
}
}
function light_off (){
if (event.srcElement.className == "components"){
event.srcElement.style.backgroundColor= "menu";
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.wushu-events.com');
} else if (type == "bookmark"){
var imgFav= new Image();
imgFav.src= "http://www.wushu-events.com/favicon.ico";
window.external.AddFavorite('http://www.wushu-events.com', 'Wushu - events');
} else if (type == "reload"){
self.location.reload();
} else if (type == "emaildp"){
//location.href="mailto:webmaster@wushu-events.com";
location.href="formmailer.htm";
}else if (type == "info"){
alert(' www.wushu-events.com © 2002 by Markus Heilmann -- All rights reserved');
}
}
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;
}
// -->
