
function jjWriteln(html) {
	document.writeln(html);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function WindowOpen(name,url,left,top,width,height,toolbar,menubar,statusbar,scrollbar,resizable) {
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'yes';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  width = width ? width : 50;
  height = height ? height : 50;
  var Win=window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
  Win.focus();
}

function jjMusicPlayer(mNo) {
	WindowOpen('MusicPlayer','/music/musicPlayer.php?mNo=' + mNo,100,50,500,345,0,0,1,0,0)
}
