var wimpyWindow;
var winOpen=0;
var wimpyPopPage="shakthi-popup.html"
var theWidth = "480"
var theHeight = "140"

function spopplay(initialFile) {
	wimpyWindow = window.open(wimpyPopPage+'?theFile='+initialFile,'wimpyMP3player','width='+theWidth+',height='+theHeight);
	winOpen=1;
}

function wimpyPopAndPlay(theFile, theArtist, theTitle, graphicURL, hotlinkURL){
	if(wimpyIsOpen()){
		wimpyWindow.wimpy_loadAndPlay(theFile, theArtist, theTitle, graphicURL, hotlinkURL);
	} else {
		wimpyPopPlayerWithFile(theFile);
	}
}

