<!--
 function popup(url, name, features) {
	var defaultfeatures='scrollbars=yes,resizable=yes,width=480,height=200,left=200,top=200'
		if (features == null ) { 
			features = defaultfeatures;
			}
		if (name == null ) {
			name = 'popup'
			}
		window.open(url, name, features);
	}


function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}

function submitonce(theform)
{
   if (document.all||document.getElementById)
   {
	for (i=0;i<theform.length;i++)
	{
	var tempobj=theform.elements[i]
	if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
		tempobj.disabled=true
	}
   }
}
function doSubmit() {
if (window.confirm('Are you sure to close session ?')) 
document.Register.submit();
}

function doDelete(val) {
if (window.confirm('Are you sure to delete MP3 ?')) 
{
        document.mp3delete.mp3id.value = val;
	document.mp3delete.submit();
}
}

function doReset() {
if (window.confirm('Are Sure To Reset?')) 
document.Register.reset();
}

function ismaxlength(obj){
var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
if (obj.getAttribute && obj.value.length>mlength)
obj.value=obj.value.substring(0,mlength)
}
//-->
