//this is just for testing
function dcsMultiTrack( var1 , var2 , var3 , var4 ){
	//alert( var1 +" "+ var2 +" "+ var3 +" "+ var4 );
}


//SEARCH
function acuvueSearch( term ){
	alert("Searching for "+term);
}

// DEEP LINKING
function setURL( page ){
	window.location.hash = page;
	recentHash = window.location.hash;
}
function thisMovie( _movieName ) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[_movieName];
	} else {
		return document[_movieName];
	}
}
var recentHash = "";
var movieName;
var targetName;
function setHashCheck( _movieName ,  _targetName , _time )
{
	movieName = _movieName
	targetName = _targetName;
	setInterval( checkHash , _time );
}
function checkHash() {
	if (window.location.hash==recentHash) {
		return;
	}else{
		recentHash = window.location.hash;
		thisMovie( movieName ).tellFlash( recentHash , targetName );
	}
}