function fieldFocus(element, text)
{
	if(text == element.value) {
		element.value = "";
	}
}
function fieldBlur(element, text)
{
	if("" == element.value) {
		element.value = text;
	}
}

function checkForm()
{
    emailaddress = document.getElementById('emailaddress');
    if("your@email.com" == emailaddress.value) {
        alert("Please enter a valid email address");
        return false;
    } else {
        document.subscribeform.submit();
    }
}

function timeTracker(obj) {
	//alert('the new TIME state is: '+obj.position);
	var time = obj.position;
	
	if(time > 62) {
		packShow();
		//alert("hi!");
		}
};

var player = null; 
function playerReady(thePlayer) {
	player = window.document[thePlayer.id];
	player.addModelListener("TIME","timeTracker");
}


function packShow() {
	
	var vid = document.getElementById('video');
	
		vid.setAttribute('class', "stop");
		vid.setAttribute('className', "stop");
	
	var pack = document.getElementById('pack');
	
		pack.setAttribute('class', "stop");
		pack.setAttribute('className', "stop");
	
}

