<!--

function run( cmd, opt )
{
	if( opt ) {
		if( confirm( opt ) ) document.location = cmd;
		return false;
	} else {
		document.location = cmd;
	}
}

function transfer( formular )
{
	document[formular].submit();
}

function openLegal()
{
	f = "/legal/";
	b = "700";
	h = "600";

	var ns6 = ( !document.all && document.getElementById );
	var ie4 = ( document.all );
	var ns4 = ( document.layers );
	if( ns6 || ns4 )
	{
		sbreite = innerWidth;
		shoehe = innerHeight;
	}
	else if( ie4 )
	{
		sbreite = document.body.clientWidth;
		shoehe = document.body.clientHeight;
	}
	x = (sbreite-b)/2;
	y = (shoehe-h)/2;
	
	var conf = "left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+b+",height="+h;

	conf += ",menubar=yes";
	conf += ",toolbar=no";
	conf += ",status=no";
	conf += ",scrollbars=yes";
	conf += ",resizable=no";
	conf += ",location=no";
	conf += ",directories=no";

	legal = window.open( f, "NEUE SENTIMENTAL FILM, LEGAL INFORMATION", conf );
	legal.focus();
}

function openIr()
{
	f = "/ir/";
	b = "800";
	h = "600";

	var ns6 = ( !document.all && document.getElementById );
	var ie4 = ( document.all );
	var ns4 = ( document.layers );
	if( ns6 || ns4 )
	{
		sbreite = innerWidth;
		shoehe = innerHeight;
	}
	else if( ie4 )
	{
		sbreite = document.body.clientWidth;
		shoehe = document.body.clientHeight;
	}
	x = (sbreite-b)/2;
	y = (shoehe-h)/2;
	
	var conf = "left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+b+",height="+h;

	conf += ",menubar=yes";
	conf += ",toolbar=no";
	conf += ",status=no";
	conf += ",scrollbars=yes";
	conf += ",resizable=no";
	conf += ",location=no";
	conf += ",directories=no";

	ir = window.open( f, "NEUE SENTIMENTAL FILM, INVESTOR RELATIONS", conf );
	ir.focus();
}


window.addEvent( "domready", function() {
	new SmoothScroll({duration: 1370, fps:50, transition: Fx.Transitions.quartInOut});
});

//-->