/*
 * E-Phonic MP3 Player Javascript API v1.0 (c)2007 PJ Arts
 * http://www.e-phonic.com/mp3player/
 *
 */

function EP_getElement(id) {
	var e = document.getElementById(id);
	if(e && e.EP_isLoaded) if(e.EP_isLoaded()) return e;
	return undefined;
}

function EP_play(id) {
	var e = EP_getElement(id);
	if(e) e.EP_play();
}

function EP_stop(id) {
	var e = EP_getElement(id);
	if(e) e.EP_stop();
}

function EP_pause(id) {
	var e = EP_getElement(id);
	if(e) e.EP_pause();
}

function EP_prev(id) {
	var e = EP_getElement(id);
	if(e) e.EP_prev();
}

function EP_next(id) {
	var e = EP_getElement(id);
	if(e) e.EP_next();
}

function EP_loadMP3(id, file) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3(file);
}

function EP_01(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/01.mp3</location><title>Eddo Is Back</title><creator>Eddie Shit</creator>");
}

function EP_02(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/02.mp3</location><title>Fool For Your Curry</title><creator>Eddie Shit</creator>");
}

function EP_03(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/03.mp3</location><title>Kentucky</title><creator>Eddie Shit</creator>");
}

function EP_04(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/04.mp3</location><title>Queasy</title><creator>Eddie Shit</creator>");
}

function EP_05(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/05.mp3</location><title>Lonesome Tonight</title><creator>Eddie Shit</creator>");
}

function EP_06(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/06.mp3</location><title>My Constipation</title><creator>Eddie Shit</creator>");
}

function EP_07(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/07.mp3</location><title>Piss</title><creator>Eddie Shit</creator>");
}

function EP_08(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/08.mp3</location><title>Space Jobbity</title><creator>Eddie Shit</creator>");
}

function EP_09(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/09.mp3</location><title>Light My Fart</title><creator>Eddie Shit</creator>");
}

function EP_10(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/10.mp3</location><title>Evvy Mental</title><creator>Eddie Shit</creator>");
}

function EP_11(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/11.mp3</location><title>Bog Door</title><creator>Eddie Shit</creator>");
}

function EP_12(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/12.mp3</location><title>I Didn't Know I Loved Ya</title><creator>Eddie Shit</creator>");
}

function EP_13(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/13.mp3</location><title>Mr Lavatory Man</title><creator>Eddie Shit</creator>");
}

function EP_14(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/14.mp3</location><title>She Loves Poo</title><creator>Eddie Shit</creator>");
}

function EP_15(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/15.mp3</location><title>Children Of The Constipation</title><creator>Eddie Shit</creator>");
}

function EP_16(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/16.mp3</location><title>Bog Paper</title><creator>Eddie Shit</creator>");
}

function EP_17(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/17.mp3</location><title>Eye Of The Needle</title><creator>Eddie Shit</creator>");
}

function EP_18(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/18.mp3</location><title>Twenty Four Hours</title><creator>Eddie Shit</creator>");
}

function EP_19(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/19.mp3</location><title>Pohemian Crapsody</title><creator>Eddie Shit</creator>");
}

function EP_20(id) {
	var e = EP_getElement(id);
	if(e) e.EP_loadMP3("<location>/media/20.mp3</location><title>Up That Girl</title><creator>Eddie Shit</creator>");
}
