function initFlash(){
	//alert("initFlash()")
	//alert("bcerSlideShow.swf" + flashVars)
	FlashControl.createSWFObject(
		"bcerSlideShow.swf" + flashVars,
		{
			width:"899",
			height:"483",
			bgcolor:"#ffffff",
			wmode:"transparent",
			quality:"high",
			align:"left",
			salign:"t",
			allowScriptAccess:"sameDomain",
			id:"wilderSlideShow"

		},
		"feature",
		{
			detectFlash:true,
			flashVersion:8,
			detectResolution:false,
			onError:errorHandler
		}
	)

	
}
function errorHandler(err,erros){
	//alert("error")
	var wrapper = document.getElementById("feature")
	var _html=""
	switch (err){
		case "invalidFlash":
			
			var _html = '<div id="noflash_wrapper">'
			_html += '<img src="data/bcer_images/' + noFlashIMG  + '" alt="" />'
			if ((location.href.indexOf("projects.aspx")==-1) && (location.href.indexOf("contact.aspx")==-1)){
				_html += '<div id="noflash_text_bg"></div>'
				_html += '<div id="noflash_text">'
				_html += '<h1>'+ noFlashTitle + '</h1>'
				_html += '<p>'
				_html += noFlashCopy
				_html += '</p>'
				_html += '</div>'
			}
			_html += '<div id="noflash_footer"></div>'
			_html += '</div>'
			
			wrapper.innerHTML = _html
			
		break;
	}
}

	
