www.gusucode.com > 要听音乐网完美修正版 1.0源码程序 > js/js1.js

    function playit(id)
{
window.open('../playlist/'+id+'.htm','1ting1','scrollbars=no,resizable=no,width=470,height=495,left=200,top=10');
}
function playit2(id)
{
window.open('../music_word.asp?id='+id,'1ting2','scrollbars=no,resizable=no,width=470,height=495,left=200,top=10');
}
function playit3(id)
{
window.open('../down.asp?id='+id,'1ting3','scrollbars=no,resizable=no,width=470,height=495,left=200,top=10');
}
function playit4(id)
{
window.open('http://www.1ting.com/down_wma.asp?id='+id,'1ting4','scrollbars=no,resizable=no,width=500,height=505,left=200,top=100');
}

function list()
{
window.open("about:blank","1tinglist","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=470,height=480,left=200,top=120");
}
function CheckOthers(form)
{
	for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
//		if (e.name != 'chkall')
			if (e.checked==false)
			{
				e.checked = true;// form.chkall.checked;
			}
			else
			{
				e.checked = false;
			}
	}
}

function CheckAll(form)
{
	for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
//		if (e.name != 'chkall')
			e.checked = true// form.chkall.checked;
	}
}