
// FLV video links for specific buttons
// These paths should either be relative full path from the "swf" src files.

var advisors_button = '../flv/advisors.flv';
var dig_deeper_button = '../flv/dig_deeper.flv';
var generic_button = '../flv/generic.flv';
var homepage_button = '../flv/homepage.flv';
var my_tech_button = '../flv/my_tech.flv';
var resource_center_button = '../flv/resource_center.flv';
var roundup_button = '../flv/roundup.flv';
var search_button = '../flv/search.flv';
var shows_button = '../flv/shows.flv';


// Key asset which is required by all assistants
// This path should  be relative or full from the "HTML" page.
var container_url = 'swf/empty.swf'


// "Watch Full Tour" link inside all assistants
var tourlocation = 'http://www.yahoo.com';



// DO NOT MODIFY BELOW THIS LINE ====================================== 

function resetaudio(){
	setVariables('sendmovie','var4=resettext');
}

function readCookie(cookieName){
    var start = document.cookie.indexOf(cookieName+"=");
    if (start == -1){ 
    
    // run fuctionS here
    	resetaudio();
    	document.cookie = "audiopref=yes; path=/;";	
		moveDiv('talking');
	
	} else {
    	hideDiv('talking');
    }
}   

readCookie('audiopref');	

function initStatLyr() {
	var statLyr = new Glider("glideDiv",0,0,null,null,1000,-1);
  statLyr.show();
}  
  
function sayit(moviename, tourlink){
	setTimeout("setVariables(\'sendmovie\',\'var1=startitall&var2=" + moviename + "&var3=" + tourlink + "\')",1000);
	moveDivback('talking');
		
}

function revealbutton(){
	setTimeout("setVariables(\'tourbutton\',\'var1=showit\')",1000);
}

initStatLyr(); 







