function repeat() 
{
	var ns4 = document.layers;
	var ns6 = document.getElementById && !document.all;
	var ie4 = document.all;
	if(t>0)
	{
		t = t-1;
		//alert(t);
		document.getElementById("myTime").innerHTML = t;
	}
}

function checkTextareaSize() {
	var old = document.f.counter.value;
	document.f.counter.value=document.f.Sentence.value.length;
	if(document.f.counter.value > limit && old <= limit) {
		alert('Too much data in the text Sentence!');
		if(document.styleSheets) {
			document.f.counter.style.fontWeight = 'bold';
			document.f.counter.style.color = '#ff0000'; } }
	else if(document.f.counter.value <= limit && old > limit
			&& document.styleSheets ) {
		document.f.counter.style.fontWeight = 'normal';
		document.f.counter.style.color = '#000000'; } 
}

function openVideo(page) 
{
little = this.open(page, "Video", "status=1,toolbar=0,menubar=0,location=0,scrollbars=yes,resizable=yes,directories=0,width=540,height=500");
}

