loginCallback = 'postLogin()';
logoutCallback = 'postLogout()';


function postLogin() {
	findSWF("playlistFlashArea").loggedIn();
	logoutCallback = 'postLogout()';
}

function postLogout() {
	findSWF("playlistFlashArea").loggedOut();
	loginCallback = 'postLogin()';
}

var buyItem;
function buy(item) {
	buyItem = item;
	genericFlashPopup('/bandit/flash/playlists/playlist-purchase.swf', 390, 350, 'buyWrapper', 'buyModal', '', '');
	buyInit();
}

function buyInit() {
	return buyItem;
}

function buyClose() {
	closeGenericFlashPopup('buyWrapper', 'buyModal');
}


