<!--
var counter=0;
var counterlayer;
function countdown()
	{
//	counter++;
	counter += counter_increment;
	if (counter > counter_end)
	{
		counter = counter_end;
	}
	changelayer_content(counter);
	if (counter > 0 && counter < counter_end)
		{
		Id = window.setTimeout("countdown()",counter_speed);
		}
	}	

function changelayer_content(counter)
	{
	msgstring="<span style='color:"+counter_color+"; font-size:"+counter_size+"; font-family:"+counter_face+";'><b>"+counter+"</b></span>";

	if(document.layers)
		{
		//thisbrowser="NN4";
		counterlayer = document.layers[0];
		counterlayer.document.open();
		counterlayer.document.write(msgstring);
		counterlayer.document.close();
		}
//	if(document.all)
//		{
//		//thisbrowser="ie"
//		counterlayer = document.all["counter"];
//		counterlayer.innerHTML=msgstring;
//		}
//	if(!document.all && document.getElementById)
//		{
//		//thisbrowser="NN6";
//		counterlayer = document.getElementById("counter");
//		counterlayer.innerHTML = msgstring;
//		}
	if(obj=getObj("counter"))
		{
		obj.innerHTML = msgstring;
		}
	}
// -->
