// JavaScript Document

// Bücher blende

function change(tausch_bild_name,neues_bild_name) 
{ 
window.document[tausch_bild_name].src = "../grafik/"+neues_bild_name+".jpg"; 
} 


function openPopUpWindow( side, width, height, top, left, scrolling )
{
var left = (screen.width) ? (screen.width)/8:0;
var top = (screen.height) ? (screen.height)/8:0;

	if (side && side != null)
	{
		var parameters = "";
		if ( width != null )
		{
			parameters += ",width=" + width;
		}
		if ( height != null )
		{
			parameters += ",height=" + height;
		}
		if ( top != null )
		{
			parameters += ",top=" + top;
		}
		if ( left != null )
		{
			parameters += ",left=" + left;
		}
		if ( scrolling == "true" )
		{
			parameters += ",scrollbars=auto";
			parameters += ",scrollbars=yes";
		}
		else
		{
			parameters += ",scrollbars=no";
		}
		var newWindow = window.open( side, "_blank","toolbar=no,location=no,menubar=no,directories=no,resizable=no,status=no" + parameters );
		newWindow.focus();
	}
	return;
}

	function MyScreen(){
		
	varHeight = screen.height / 100 * 45;
	window.document.cookie = "divHeight=" + Math.round(varHeight);
	}
	
function setcheck()
					{
					document.dummyform.elements['checken'].value = "checked";
					document.forms['dummyform'].submit()
					}
