

<!-- 
if (window.Event) 
	document.captureEvents(Event.MOUSEUP); 
function nocontextmenu(){
	event.cancelBubble = true
    event.returnValue = false;
    return false;
}
function norightclick(e){
    if (window.Event){
    	if (e.which == 2 || e.which == 3)
        	return false;
        }else if (event.button == 2 || event.button == 3){
            event.cancelBubble = true
            event.returnValue = false;
            return false;
        }       
}

document.oncontextmenu = nocontextmenu;         
document.onmousedown = norightclick;      
//  End -->

if (navigator.appName == 'Netscape'){
	isNSG2 = 0;
	numPlugins = navigator.plugins.length;
	for (i = 0; i < numPlugins; i++)
	{
  		plugin = navigator.plugins[i];
  		if (plugin.name.substring(0,17)=="RealPlayer(tm) G2")
  		{
    		//alert("You have the RealPlayer Plug-in installed!")
    		isNSG2 = 1;
  		}
	}

	if (isNSG2 != 1){
		//alert("It looks like you do not have the latest Real Player installed!\n\n"+
		//"Please download the latest version from http://www.real.com/ and try again.\n\n"+
		//"Your player version has to be greater than 6.0.5.27.\n"+
		//"You can check the current version of your player under\n"+
		//"\'About RealPlayer\' in the Help menu.\n\nWebmaster @ Ragalahari")
	}
}


function MM_popupMsg(theMsg) { //v2.0
  alert(theMsg);
}

function play(){
   if (navigator.appName == "Netscape") {
   document.ragjukebox.DoPlayPause();
   }
   else
   {
   document.RVOCX.DoPlayPause();
   }
//getClip();
}

function stop() {
	if (navigator.appName == "Netscape") {
		document.ragjukebox.DoStop();
	}
	else{
		document.RVOCX.DoStop();
	}
}

function next(){
	if (navigator.appName == "Netscape") {
		window.status=document.ragjukebox.DoNextItem();
	}
	else {
		window.status=document.RVOCX.DoNextItem();
	}
}
function prev(){
	if (navigator.appName == "Netscape") {
		window.status=document.ragjukebox.DoPrevItem();
	}
	else {
		window.status=document.RVOCX.DoPrevItem();
	}
}

function setloop(){
	if (navigator.appName == "Netscape") {
		window.status=document.ragjukebox.SetLoop("True");
	}
	else{
		window.status=document.RVOCX.SetLoop("True");
	}
}


function randomize(){
	if (navigator.appName == "Netscape") {
		window.status=document.ragjukebox.SetShuffle("True");
	}
	else{
		window.status=document.RVOCX.SetShuffle("True");
	}
}

function getClip(){
i=document.playlist.clipnum.selectedIndex;
x = document.playlist.clipnum.options[i].value - 1;
if (document.playlist.clipnum.options[i].value > 0){
	if (navigator.appName == "Netscape") {
		totalClips = document.ragjukebox.GetNumEntries();
		currClip = document.ragjukebox.GetCurrentEntry();
		if (currClip < x){
        	for (i=currClip;i < x; i++) {
        		document.ragjukebox.DoNextItem();
        	}
		 }
		 else {
        	while (x < currClip) {
        		x++;
        		document.ragjukebox.DoPrevItem();
        	}

 }

}
else    {

totalClips = document.RVOCX.GetNumEntries();
currClip = document.RVOCX.GetCurrentEntry();

 if (currClip < x){
        for (i=currClip;i < x; i++) {
        document.RVOCX.DoNextItem();
        }
 }
 else {
        while (x < currClip) {
        x++;
        document.RVOCX.DoPrevItem();
        }


 }
}

}
else {
alert ("Please select a song from the Playlist, and click on the go button.")
}
}


//-->
