<!--

var high = screen.height;
var wide = screen.width;


function nav() {

	if (document.navigation.artistnav.options[document.navigation.artistnav.selectedIndex].value != "0") {	  		
		location.href = document.navigation.artistnav.options[document.navigation.artistnav.selectedIndex].value;
	}

}


function PopupFenster(name) 
{
 
  F = window.open(name,"PopupRecords","width=409,height=450");
 F.moveTo (wide/2-200,high/2-200);
 F.focus();
}


function PopupRecord(home,id) 
{
 var url=home+'/popup_record.php?rid='+id
 F = window.open(url,"PopupRecords","width=409,height=450");
 F.moveTo (wide/2-200,high/2-200);
 F.focus();
}



function PopupFensterPoster(name) 
{
 
  F = window.open(name,"PopupPoster","width=530,height=750");
 F.moveTo (wide/2-200,high/2-200);
 F.focus();
}




function contact_newsletter() {
	if(document.newsletter.email_newsletter.value.indexOf('@')==-1 ||document.newsletter.email_newsletter.value.indexOf('.')==-1)
	{
		alert ("Please insert a valid Email Address.");
		//document.newsletter.email_newsletter.focus();
	} else {
		document.newsletter.submit();
	}
}





var PlayerWin;
var PlayList='';

function sosPlayerPlaySong(sid) {
	var url='/player/sosplayer.php?song='+sid;
	PlayerWin=sosPlayerOpenPlayer(url);
	PlayerWin.focus();
}

function sosPlayerPlayShuffle() {
	var url='/player/sosplayer.php?shuffle=true';
	PlayerWin=sosPlayerOpenPlayer(url);
	PlayerWin.focus();
}

function sosPlayerPlayList() {
	var url='/player/sosplayer.php?playlist='+PlayList;
	PlayerWin=sosPlayerOpenPlayer(url);
	PlayerWin.focus();
}

function sosPlayerRewriteList() {

	PlayList='';
	var obj=getObject('playlist');
	var opt=obj.options;
	for (i=0;i<opt.length;i++) {
		if (opt[i].selected) {
			PlayList+=opt[i].value+',';
		}
	}


}


function getObject(objName) {

	if (document.all) {
		currObject=eval('document.all[\''+objName+'\']');

	}
	else if (document.layers) {
		currObject=eval('document.layers[\''+objName+'\']');
	}
	else {
		currObject=eval('document.getElementById("'+objName+'")');

	}
	return currObject;

}

function sosPlayerOpenPlayer(theURL, Name, popW, popH, scroll) {
	var name='sosplayer';
	var popW=400;
	var popH=450;
	var Name='SoSRadio';
	var scroll='no';
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable=0';
	PlayerWin = window.open(theURL, Name, winProp);
	PlayerWin.moveTo(winleft,winUp);
	if (parseInt(navigator.appVersion) >= 4) { PlayerWin.focus(); }
	return PlayerWin;

}







//-->