<!--
//DISABLE COPYING FOR  ALL ELEMENTS
/*document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}
else {
    document.onmousedown = function(){return false}
}


document.oncontextmenu =
     function(){return false}

if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}

else {
    document.onmousedown =
         function(){return false}
}
*/
function print_page(uri)
{
	window.open('print.php?page='+uri,'PRINTER','width=750,height=700');
}
function imgWin(img,width,height)
{
window.open('popup.php?img='+img,'Popup','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbar=yes,resizable=yes,copyhistory=yes,width=0,height=0');
}

function popUp(val)
{
	window.open(val,"POPUP","width=700,height=500,left=100,top=50");
}
		
function popUpImage(img,val)
{
	document.getElementById("popUp"+img).style.visibility = "visible";
	var width = document["popupImage"+img].width / 2;
	var height = document["popupImage"+img].height;
	if(!document.all)
	{
	function getKey (Ereignis) {
		
		var posY = Ereignis.clientY;
		//document.getElementById("popUp").style.left = posX+"px";
		document.getElementById("popUp"+img).style.marginTop = "-200px";
		}
	document.onclick = getKey;
	//document.onmousemove = getKey;
	}
	
	else
	{
		var width = document.popupImage.width;
		var height = document.popupImage.height;
		if(!document.all)
		{
		var winWidth = window.innerWidth;
		var winHeight = window.innerHeight;
		}
		else
		{
		var winWidth = screen.availWidth;
		var winHeight = screen.availHeight;
		}
		var posX = (winWidth/2) - width;
		var posY = (winHeight/2) - height;
	}
	document.getElementById("popUp"+img).style.display = "visible";
}

function popUpClose(img)
{
	document.getElementById("popUp"+img).style.visibility = "hidden";
}
-->