function highlight(field) {
       field.focus();
       field.select();
}
function Form1_Validator(theForm) {
	var alertsay = ""; // define for long lines
	// only allow 0-9, hyphen and comma be entered
	var checkOK = "0123456789:";
	var checkStr = theForm.width.value;
	var allValid = true;
	var decPoints = 0;
	var allNum = "";
	for (i = 0;  i < checkStr.length;  i++) {
		ch = checkStr.charAt(i);
		for (j = 0;  j < checkOK.length;  j++)
		if (ch == checkOK.charAt(j))
		break;
		if (j == checkOK.length)
		{
			allValid = false;
			break;
		}
		if (ch != ",")
		allNum += ch;
	}
	if (!allValid)
	{
		alert("Please enter only a number for the video width.");
		theForm.width.focus();
		return (false);
	}
	// only allow 0-9, hyphen and comma be entered
	var checkOK = "0123456789:";
	var checkStr = theForm.height.value;
	var allValid = true;
	var decPoints = 0;
	var allNum = "";
	for (i = 0;  i < checkStr.length;  i++)
	{
		ch = checkStr.charAt(i);
		for (j = 0;  j < checkOK.length;  j++)
		if (ch == checkOK.charAt(j))
		break;
		if (j == checkOK.length)
		{
			allValid = false;
			break;
		}
		if (ch != ",")
		allNum += ch;
	}
	if (!allValid)
	{
		alert("Please enter only a number for the video height.");
		theForm.width.focus();
		return (false);
	}
	return (true);
	// replace the above with return(true); if you have a valid form to submit to
}
function ClipBoard()
{
	holdtext.innerText = copytext.innerText;
	Copied = holdtext.createTextRange();
	Copied.execCommand("Copy");
}