<!--
// language fenster
var win = null;


function productpop(aid){
h ='500';
w = '600';
LeftPosition = (screen.width) ? ((screen.width-w)/2)+70 : 0;
TopPosition = (screen.height) ? ((screen.height-h)/2)+5: 0;
LeftPosition = 0;
TopPosition = 0;
settings =
'height='+h+',width='+ w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable,toolbar=1,location=1,status=no'
win = window.open("?id=78&aid=" + aid,"projekte",settings)
if(win.window.focus){win.window.focus();}
}

function productpopplayer(aid){
h ='500';
w = '600';
LeftPosition = (screen.width) ? ((screen.width-w)/2)+70 : 0;
TopPosition = (screen.height) ? ((screen.height-h)/2)+5: 0;
LeftPosition = 0;
TopPosition = 0;
settings =
'height='+h+',width='+ w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable,toolbar=1,location=1,status=no'
win = window.open("index.php?id=78&aid=" + aid,"projekte",settings)
if(win.window.focus){win.window.focus();}
}

function playerpop(aid){
w ='405';
h = '465';
LeftPosition = (screen.width) ? ((screen.width-w)/2)+1 : 0;
TopPosition = (screen.height) ? ((screen.height-h)/2)+5: 0;

LeftPosition = (screen.width)-w;
TopPosition = 0;
settings =
'height='+h+',width='+ w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,noresizable,toolbar=no,location=no,status=no'
win = window.open("player_pop-mini.php?id=" + aid,"player",settings)
if(win.window.focus){win.window.focus();}
}

function coverpop(url,artist,h){

w = h;
LeftPosition = (screen.width) ? ((screen.width-w)/2)+1 : 0;
TopPosition = (screen.height) ? ((screen.height-h)/2)+5: 0;
settings =
'height='+h+',width='+ w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,noresizable,toolbar=no,location=no,status=yes'
win = window.open("cover.php?url=" + url + "&artist=" + artist,"cover",settings)
if(win.window.focus){win.window.focus();}
}

function playeropener(aid){

window.opener.location.href="index.php?test=hallo&id=47&aid=" + aid;
if(window.opener.focus){window.opener.focus();}

}


function closer(){
window.close;
}
//-->
