// JavaScript Document
function chk(theform)
{
	if(theform.vchUserName.value=='Username')
	{
		theform.vchUserName.value='';
	}
	if(theform.vchPassword.value=='Password')
	{
		theform.vchPassword.value='';
	}
	theControl="vchUserName,vchPassword";
	theMessage="username,password";
	theNumeric=",";
	theEmail=",";
	theURL=",";
	theConfirmPassword=",";
	thebadstuff=",";
	theinteger=",";
	thepercent=",";
	thesize=",";
	thedecimal=",";
	theimage=",";
	theempty="Y,Y";
	themin=",";
	themax=",";
	thecheckboxlength=",";
	thephoneno=",";

	if(!theValidator(theform,theControl,theMessage,theNumeric,theEmail,theURL,theConfirmPassword,thebadstuff,theinteger,thepercent,thesize,thedecimal,theimage,theempty,themin,themax,thecheckboxlength,thephoneno))
	  return false;
}
function pagechange(artistID)
{
	if (artistID!=0 && artistID!='')
		window.location.href='artistname.php?aid=' + artistID;
	else
		window.location.href='artistname.php';
}