function changeClass(obj, new_class)
{
    obj.className = new_class;
}

function changeBgColor(obj, new_color)
{
	obj.style.backgroundColor=new_color;
}

function changePic(name, pic)
{
	name.src = pic;
}

function popup(url, name, width, height)
{
	left_pos = (screen.width / 2) - (width / 2);
	top_pos = (screen.height / 2) - (height / 2);
	window.open(url, name, 'width=' + width + ',height=' + height + ',left=' + left_pos + ',top=' + top_pos);	
}
function startTimer(object) {
	movie= document.getElementById('movie-flash');
	setTimeout('hideObject()',3000);
}
function hideObject() {
	movie= document.getElementById('movie-flash');
	movie.style.display = "block";
	element= document.getElementById('LiveImage');
	element.style.display = "none";
}
