var win=null;
function popUp2(linkpage,w,h) {
LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=(screen.height)?(screen.height-h)/2:100;
win=window.open(linkpage, 'Content', 'toolbar=0, location=0, scrollbars=1, statusbars=0, menubar=0, resizable=1, width='+w+', height='+h+', left = '+LeftPosition+', top = '+TopPosition+'');
if(win.focus){win.focus();}}

var win=null;
function popUp3(linkpage,w,h) {
LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=(screen.height)?(screen.height-h)/2:100;
win=window.open(linkpage, 'Content', 'toolbar=yes, location=yes, scrollbars=yes, statusbars=yes, menubar=yes, resizable=yes, width='+w+', height='+h+', left = '+LeftPosition+', top = '+TopPosition+'');
if(win.focus){win.focus();}}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openWin(img,w,h){

var newWin;
var winId;
var popW=w;
var popH=h;

var winleft = (screen.width - popW) / 2;
var winUp = (screen.height - popH) / 2;

winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+''
winId = window.open('', newWin, winProp)
if (parseInt(navigator.appVersion) >= 4) { winId.window.focus(); }

  winId.document.write('<head><title>Bestmusicteacher.com </title></head><body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" onLoad="if (window.focus) window.focus()"><center>');
  winId.document.write('<img src="'+img+'">');
  winId.document.write('</center></body>');
  winId.document.close();
}


function play(mp3)
{
var1=mp3;

res = window.open(var1, '', 'width=440, height=75, left=10, top= 10, location=no, menubar=no, status=yes,toolbar=no, scrollbars=yes, resizable=yes');
return res;
}

function open_musica_player()
{
	window.open('http://www.ikonrtv.nl/musica/webplayer/', 'musica_webplayer', 'width=860,height=520,location=no,status=no,scrollbars=yes,resizable=yes')
}


