  /* JS - FLASH INTERACTION */
  function getSWF(swf_ID){
  	if(navigator.appName.indexOf("Microsoft") != -1){ // IE?
  		return window[swf_ID];
  	}else{
  		if(document[swf_ID].length != undefined)
  			return document[swf_ID][1];
  		else
  			return document[swf_ID];
  	}
  }
  
  function update(direction){
  	/*
  	var invoker = "<invoke name=\"changeBackgroundTo\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>";
	flashObject.CallFunction(invoker);
	*/
	var flashObject = getSWF('background');
    if(navigator.appName.indexOf("Microsoft") == -1){ // non IE?
  		flashObject.changeBackgroundTo(direction);
  	}else{
  		updateIE(direction);
	}
  }
  
  function updateIE(direction){
  	var invoker = "<invoke name=\"changeBackgroundTo\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>";
	window['background'].CallFunction(invoker);
  }
  
/* Background functions */
function adjustBackground(){	
	var back=window.document.getElementById('back');	
	back.style.width="100%";
	back.style.height="100%";
}
