<!--

function writeFlash( flashPath, confPath ){
	var so = new SWFObject( flashPath, "fl_obj", "100%", "356", "8", "#FFFFFF");
	so.addVariable("configpath", confPath );
	so.addParam("quality", "high");
	so.addParam("swLiveConnect", "true");
	so.addParam("allowScriptAccess", "always");
	so.addParam('menu', 'false');
	so.addParam('wmode', 'opaque');
	so.write("flashContents");
	
	setFlaArea();
}


var IE='\v'=='v';
var FlashWidth=908;


var WrapID="flashContents"

function getBrowserWidth ( ) {  
 if ( window.innerWidth ) { return window.innerWidth; }  
 else  if ( document.documentElement && document.documentElement.clientWidth != 0 ) { return document.documentElement.clientWidth; }  
 else if ( document.body ) { return document.body.clientWidth; }  
 return 0;  
}
function getBrowserHeight ( ) {  
 if ( window.innerHeight ) { return window.innerHeight; }  
 else if ( document.documentElement && document.documentElement.clientHeight != 0 ) { return document.documentElement.clientHeight; }  
 else if ( document.body ) { return document.body.clientHeight; }  
 return 0;  
}
function setFlaArea(){
 var WrapFlashElement = document.getElementById(WrapID);
 if(getBrowserWidth()>FlashWidth){ WrapFlashElement.style.width = "100%"; }
 else{ WrapFlashElement.style.width = FlashWidth + "px"; }
}
window.onresize = setFlaArea;


//-->