// JavaScript Document
if (typeof wthvideo == 'undefined') {
	wthvideo = new Object();
}
wthvideo.params = {
	width:288,
	height:288,
	left:"50%",
	right:"auto",
	top:"290px",
	bottom:"auto",
	centeroffset:"-490px",
	flv:"andymyfilmcrews0732"};
wthvideo.hideDiv = function(){
	document.getElementById('wthvideo').style.visibility = 'hidden';	
}
function onlyOnce() {
if (document.cookie.indexOf("hasSeen=true") == -1) {
var later = new Date();
later.setFullYear(later.getFullYear()+10);
document.cookie = 'hasSeen=true;path=/;';
wthvideo.drawVideo();
}
}
wthvideo.drawVideo= function(){
	var markUp = '';
	markUp += '<style type="text/css">';
	markUp += '#wthvideo {position:absolute;width:'+wthvideo.params.width+'px;height:'+wthvideo.params.height+'px;margin-left:'+wthvideo.params.centeroffset+';left:'+wthvideo.params.left+';right:'+wthvideo.params.right+';top:'+wthvideo.params.top+';bottom:'+wthvideo.params.bottom+';z-index:1;}';
	markUp += '</style>';
	markUp += '<div id="wthvideo">';
	markUp += '  <object id="objvideo" style="outline:none;" type="application/x-shockwave-flash" width="'+wthvideo.params.width+'" height="'+wthvideo.params.height+'" data="wthvideo/cuepointsplayer.swf">';
	markUp += '    <param name="movie" value="wthvideo/cuepointsplayer.swf" />';
	markUp += '    <param name="quality" value="high" />';
	markUp += '    <param name="flashvars" value="vurl='+wthvideo.params.flv+'.flv&amp;vwidth='+wthvideo.params.width+'&amp;vheight='+wthvideo.params.height+'&amp;vdelay='+wthvideo.params.delay+'" />';
	markUp += '    <param name="wmode" value="transparent" />';
	markUp += '    <param name="allowscriptaccess" value="always" />';
	markUp += '    <param name="swfversion" value="9.0.45.0" />';
	markUp += '  </object>';
	markUp += '</div>';
	document.write(markUp);
}
function hideDiv() {
	wthvideo.hideDiv();
}
wthvideo.drawVideo();

//onlyOnce();

function cue1Bright() {
	document.getElementById('basicleft').src = 'images/top_left_curve_red.gif';
	document.getElementById('basicright').src = 'images/top_right_curve_red.gif';
	document.getElementById('basic').setAttribute("className","feture_cenetr_red");
	document.getElementById('basic').setAttribute("class","feture_cenetr_red");
}
function cue1Normal() {
	document.getElementById('basicleft').src = 'images/top_left_curve.gif';
	document.getElementById('basicright').src = 'images/top_right_curve.gif';
	document.getElementById('basic').setAttribute("className","feture_cenetr");
	document.getElementById('basic').setAttribute("class","feture_cenetr");
}
function cue1()	{
	cue1Bright();
	setTimeout("cue1Normal();", 5000);
}

function cue2Bright() {
	document.getElementById('detailedleft').src = 'images/top_left_curve_red.gif';
	document.getElementById('detailedright').src = 'images/top_right_curve_red.gif';
	document.getElementById('detailed').setAttribute("className","feture_cenetr_red");
	document.getElementById('detailed').setAttribute("class","feture_cenetr_red");
}
function cue2Normal() {
	document.getElementById('detailedleft').src = 'images/top_left_curve.gif';
	document.getElementById('detailedright').src = 'images/top_right_curve.gif';
	document.getElementById('detailed').setAttribute("className","feture_cenetr");
	document.getElementById('detailed').setAttribute("class","feture_cenetr");
}
function cue2()	{
	cue2Bright();
	setTimeout("cue2Normal();", 5000);
}

function cue3Bright() {
	document.getElementById('premierleft').src = 'images/top_left_curve_red.gif';
	document.getElementById('premierright').src = 'images/top_right_curve_red.gif';
	document.getElementById('premier').setAttribute("className","feture_cenetr_red");
	document.getElementById('premier').setAttribute("class","feture_cenetr_red");
}
function cue3Normal() {
	document.getElementById('premierleft').src = 'images/top_left_curve.gif';
	document.getElementById('premierright').src = 'images/top_right_curve.gif';
	document.getElementById('premier').setAttribute("className","feture_cenetr");
	document.getElementById('premier').setAttribute("class","feture_cenetr");
}
function cue3()	{
	cue3Bright();
	setTimeout("cue3Normal();", 2000);
}

function cue4Bright() {
	document.getElementById('showreelleft').src = 'images/top_left_curve_red.gif';
	document.getElementById('showreelright').src = 'images/top_right_curve_red.gif';
	document.getElementById('showreel').setAttribute("className","feture_cenetr_red");
	document.getElementById('showreel').setAttribute("class","feture_cenetr_red");
}
function cue4Normal() {
	document.getElementById('showreelleft').src = 'images/top_left_curve.gif';
	document.getElementById('showreelright').src = 'images/top_right_curve.gif';
	document.getElementById('showreel').setAttribute("className","feture_cenetr");
	document.getElementById('showreel').setAttribute("class","feture_cenetr");
}
function cue4()	{
	cue4Bright();
	setTimeout("cue4Normal();", 4000);
}

function cue5Bright() {
	document.getElementById('webinarsBtn').style.visibility = 'visible';
}
function cue5Normal() {
	document.getElementById('webinarsBtn').style.visibility = 'hidden';
}
function cue5()	{
	cue5Bright();
	setTimeout("cue5Normal();", 3000);
}

function cue6Bright() {
	document.getElementById('webinarsBtn').style.visibility = 'visible';
}
function cue6Normal() {
	document.getElementById('webinarsBtn').style.visibility = 'hidden';
}
function cue6()	{
	cue6Bright();
	setTimeout("cue6Normal();", 3000);
}

function cue7Bright() {
	document.getElementById('webinarsBtn').style.visibility = 'visible';
}
function cue7Normal() {
	document.getElementById('webinarsBtn').style.visibility = 'hidden';
}
function cue7()	{
	cue7Bright();
	setTimeout("cue7Normal();", 3000);
}

function cue8Bright() {
	document.getElementById('webinarsBtn').style.visibility = 'visible';
}
function cue8Normal() {
	document.getElementById('webinarsBtn').style.visibility = 'hidden';
}
function cue8()	{
	cue8Bright();
	setTimeout("cue8Normal();", 3000);
}

