function openNewWin(loc,winName,tribs) {
  window.open(loc,winName,tribs);
}

function openWin(loc,winName,w,h,scrollbars) {
  links = (screen.availWidth/2) - (w/2);
  hoehe = (screen.availHeight/2) - (h/2);
  var tribs = "scrollbars=" + scrollbars + ",toolbars=0,location=0,directories=0,status=0,resizable=0,width=" + w + ",height=" + h + ", screenX=" + links +",screenY=" + hoehe + ",left=" + links + ",top=" + hoehe;
  window.open(loc,winName,tribs);
}

// aufruf fuer das popup aus dem flashticker

var newwin;
function flashworker_popup(url,name,eigenschaften)
    {
    newwin = window.open(url,name,eigenschaften);
    if(version > 1.0)
        {
        setTimeout('newwin.focus();',200);
        }
    }
	

	
	
	var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")