// ## THIRD PARTY definitions
var bo_ns_id = 0;

function startIeFix(){
  if(needFix()){
    document.write('<div id="bo_ns_id_' + bo_ns_id + '"><!-- ');
  }
}

function endIeFix(){
  if(needFix()){
    document.write('</div>');
    var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);
    var theCode = theObject.innerHTML;
    theCode = theCode.substring(4 ,9+theCode.indexOf("</object>"))
    document.write(theCode);
  }
}


// ## My own testing function
function needFix() {

	if( 
		(BrowserDetect.browser == 'Explorer' && BrowserDetect.version >= 6)
		||
		(BrowserDetect.browser == 'Opera')
	) { return true; }

	else { return false; }

}


// ## RUNTIME starts
BrowserDetect.init();

