
function com(){
	this.holder = null;
	this.send = communicator_send;
	this.receive = communicator_receive;
	this.flash = communicator_flash;
	}

function communicator_flash(movie){
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	return (isIE) ? window[movie] : document[movie];
	}
	
function communicator_send(movie,str){
	flash = communicator_flash(movie);
	flash.communicator_send_message(str);
	}
	
function communicator_receive(str){
	if (communicator.holder!=null){
		eval(communicator.holder+"='"+str+"';");
		}
	}
	
var communicator = new com();