var cacheBuster = "http://www.getvisualblaze.com/evision/_clientFiles/here2ThereMovers/swf/here2ThereEvision2.swf?=123";
var so = new SWFObject(cacheBuster, "EVision", "400", "320", "8", "#000000");
so.addParam("quality", "best");
so.addParam("wmode", "transparent");
so.useExpressInstall('http://www.myepitch.com/globalFiles/expressinstall.swf');
so.addParam("allowScriptAccess", "always");
so.write("evFAQFlashDiv");

function faqInitiate() {
	var cacheBuster = "http://www.getvisualblaze.com/evision/_clientFiles/here2ThereMovers/swf/eVisionFAQ.swf?=123";
	var so = new SWFObject(cacheBuster, "EVision", "500", "400", "8", "#000000");
	so.addParam("quality", "best");
	so.addParam("wmode", "transparent");
	//so.useExpressInstall('http://www.myepitch.com/globalFiles/expressinstall.swf');
	so.addParam("allowScriptAccess", "always");
	so.write("evFAQFlashDiv");
}

function killandInit() {
	document.getElementById("evFAQFlashDiv").style.display="none";//hide flash div - might not NEED!! done at end of init();
	faqInitiate();//write swfObject code for faq over evision swfObject
	init();
	
	
	
}


function hideDiv() {
	document.getElementById("evFAQFlashDiv").style.display="none";
}

function showDiv() {
	document.getElementById("evFAQFlashDiv").style.display="block";
}

var bar = null; // object
function doMove() {
	bar.style.bottom = parseInt(bar.style.bottom)+1+'px';
	if(bar.style.bottom == "0px") {
		delete doMove;
	}else {
  		setTimeout(doMove,20); // call doMove in 20msec
	}
}

function init() {
  bar = document.getElementById('eVisionBtn'); // get the "bar" object
  bar.style.bottom = '-60px'; // set its initial position to -60px off browser
  doMove(); // start animating
  hideDiv();
}

function closeBar() {
	document.getElementById("eVisionBtn").style.display="none";
	hideDiv();
}

//window.onload = init;

