
function DL_write_script()
{
	var rand_perc = parseInt("100");
        var dice = Math.random() * 10000;

        if (isNaN(rand_perc) || (dice < rand_perc * 100) ) {

        var axel = Math.random()+"";
        var rand = (axel * 10000000000000)+"";
        var dotat=rand.indexOf(".");
        var randnum=rand.substring(0,dotat);
	var s_src =  "http://amch.questionmarket.com/adsc/d201359/2/202723/decide.php?randnum="+randnum;
        var s_id = "DL_201359_2_202723";

	if (document.createElement && document.getElementsByTagName) {
		try{
                        var script = document.getElementById(s_id);

                        if (!script) {
                                script = document.createElement('script');
                                script.src = s_src;
                                script.type = 'text/javascript';
                                script.id = s_id;
                                if (document.getElementsByTagName('head').length > 0) {
                                        var h = document.getElementsByTagName('head')[0];
                                        h.insertBefore(script, h.firstChild);
                                }
                        }
                } catch (e) {
                }

	}
	}
}
if (false || document.readyState == "complete") {
    DL_write_script();
} else if (window.addEventListener) { // DOM Level 2 event model
  //window.addEventListener("load", DL_write_script, false);
  // Currently, the event handler is causing problems on some sites
  // under Firefox.  This is due to a known bug in Firefox, which will
  // be fixed in the next release.  Until then, avoid DOM Level 2 events.
  DL_write_script();
} else if (window.attachEvent) { // IE 5+
  window.attachEvent("onload", DL_write_script);
}

