/**
 * This was necessary because IE doesn't execute nested scripts in the same order
 * as everyone else.  What we want is for script tags issued inside document.write
 * to be executed in the context of the html inside the document.write command
 * - however IE doesn't execute it until after the document.write command has been completed.
 * What this does is tells the page to "reload" if the document.write command hasn't been 
 * issued yet.
 */
document.write('<script id="WebLite-ie-fix-test"><\/script>');
var thisScript = document.getElementById('WebLite-ie-fix');
var testScript = document.getElementById('WebLite-ie-fix-test');

if ( thisScript && thisScript.nextSibling != testScript ){
	window.location.reload(false);
}
var weblite_final_load = true;
