function callArtist(id)
{
	new Ajax.Updater('artistArea', 'artists/artists/viewArtist/'+id, { method: 'get' });
}
function callVideo(id)
{
	new Ajax.Updater('artistArea', 'video/player/playIframeAjaxLoad/'+id, { method: 'get' });
}
function callMusic(id)
{
	new Ajax.Updater('artistArea', 'artists/artists/loadMp3Player/'+id, { method: 'get' });
}
function callBook(id)
{
	new Ajax.Updater('artistArea', 'artists/book/createAjax/'+id, { method: 'get' });
}
function callVideoTwo(id) 
{
	new Ajax.Updater('videoArea', 'index.php?module=video&controller=player&action=showLoad&params='+id+'&id='+id, { method: 'get' });
}
function callPhoto(id)
{
	new Ajax.Updater('artistArea', 'artists/images/index/'+id, { method: 'get' });
}
function callPhotoView(id)
{
	new Ajax.Updater('artistArea', 'artists/images/view/'+id, { method: 'get' });
}

function play(video) {
	document.videoplayer.SetVariable('Play',video);
}

function openArtist(id)
{
	$('templink').href = 'index.php?module=artists&controller=artists&action=view&id='+id;
	mylightWindow.aWin('templink');
}

function emptyVideo() {
	$('videoArea').innerHTML = '';
}
function emptyArtist() {
	$('artistArea').innerHTML = '';
}