function buy(text, musicId){

    Sexy.confirm(text, {
        onComplete:function(returnvalue){
            if(returnvalue) {
                location.href='process.do?action=buy&musicId='+musicId
                }
            }
        });

    return false;
}            

function deleteMusic(text, musicId){
            
    Sexy.confirm(text,
    {
        onComplete:function(returnvalue){
            if(returnvalue) {
                location.href='process.do?action=delete&musicId='+musicId
                }
            }
        });
            
    return false;
}            
		
function changeLocale(locale){
                            
    window.location = ".localizationServlet?locale=" + locale + "&history=" + location.href;
}
