// JavaScript Document


// Touch me there
function openWina() 
{
	url = "http://www.touch-me-there.com";
	properties = "scrollbars=1,status=0,resizable=1,width=820,height=750";
	fenstera = window.open(url,"touchmethere",properties);
	centerWina(fenstera);
}

function centerWina(fenstera) 
{
	windowWidth = 820;
	windowHeight = 750;
	fenstera.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}

// 11 Designer
function openWin1() 
{
	url = "/img/work/19_11d/11d.html";
	properties = "scrollbars=0,status=0,resizable=0,width=480,height=392";
	fenster1 = window.open(url,"11designer",properties);
	centerWin1(fenster1);
}

function centerWin1(fenster1) 
{
	windowWidth = 480;
	windowHeight = 392;
	fenster1.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}

// Pianolina
function openWin2() 
{
	url = "http://www.fonshickmann.com/img/work/17_gs/pianolina.html";
	properties = "scrollbars=0,status=0,resizable=0,width=760,height=420";
	fenster2 = window.open(url,"pianolina",properties);
	centerWin2(fenster2);
}

function centerWin2(fenster2) 
{
	windowWidth = 760;
	windowHeight = 420;
	fenster2.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}

// Bird Catcher Part One
function openWin3a() 
{
	url = "/img/work/24_vf/vf1.html";
	properties = "scrollbars=0,status=0,resizable=0,width=842,height=595";
	fenster3a = window.open(url,"birdcatcher1",properties);
	centerWin3a(fenster3a);
}

function centerWin3a(fenster3a) 
{
	windowWidth = 842;
	windowHeight = 595;
	fenster3a.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}

// Bird Catcher Part Two
function openWin3b() 
{
	url = "/img/work/24_vf/vf2.html";
	properties = "scrollbars=0,status=0,resizable=0,width=842,height=595";
	fenster3b = window.open(url,"birdcatcher2",properties);
	centerWin3b(fenster3b);
}

function centerWin3b(fenster3b) 
{
	windowWidth = 842;
	windowHeight = 595;
	fenster3b.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}

// Maestro Margarini
function openWin4() 
{
	url = "http://www.bayerische.staatsoper.de/maestro-margarini";
	properties = "scrollbars=0,status=0,resizable=0,width=975,height=645";
	fenster4 = window.open(url,"maestro",properties);
	centerWin4(fenster4);
}

function centerWin4(fenster4) 
{
	windowWidth = 975;
	windowHeight = 645;
	fenster4.moveTo((screen.width - windowWidth) / 2, (screen.height - windowHeight) / 2);
	
}
