theclick = new Array();
total = 16;
theclick[1] = 'http://www.k6.cn/?SourceID=544';
theclick[2] = 'http://www.k6.cn/ZT/Fetal/fetal.html?SourceID=537';
theclick[3] = 'http://www.k6.cn/ZT/qgl/index.html?SourceID=532';
theclick[4] = 'http://www.k6.cn/ZT/qgl/index.html?SourceID=532';
theclick[5] = 'http://www.k6.cn/ZT/snbh/index.html?SourceID=538';
theclick[6] = 'http://www.k6.cn/ZT/snbh/index.html?SourceID=538';
theclick[7] = 'http://www.k6.cn/ZT/snbh/index.html?SourceID=538';
theclick[8] = 'http://www.k6.cn/ZT/nadou/index.html?SourceID=539';
theclick[9] = 'http://www.k6.cn/temarticle/h1n1/h1n1.html?SourceID=540';
theclick[10] = 'http://www.k6.cn/temarticle/h1n1/h1n1.html?SourceID=540';
theclick[11] = 'http://www.k6.cn/ZT/Fetal/fetal.html?SourceID=537';
theclick[12] = 'http://www.k6.cn/ZT/Fetal/fetal.html?SourceID=537';
theclick[13] = 'http://www.k6.cn/?SourceID=544';
theclick[14] = 'http://www.k6.cn/?SourceID=544';
theclick[15] = 'http://www.k6.cn/ZT/Fetal/fetal.html?SourceID=537';
theclick[16] = 'http://www.k6.cn/?SourceID=544';
idrandom = parseInt(Math.random() * total);
if (idrandom < 1 || idrandom > total) {
    idrandom = 1;
}

var chars = ['0', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
function getAdUrl(idrandom)
{
    u = theclick[idrandom];
    document.write("<iframe  width='0' height='0' src='' name='iframeid' id='iframeid'></iframe>");
    document.writeln("<div style=\"visibility:hidden\">");
    document.writeln(" <a id=\"acej\" href='" + u + "' onclick=\"document.getElementById(\'iframeid\').src=this.href; return false\">YourLinkText<\/a>");
    document.writeln(" <script> ");
    document.writeln("  var x=document.getElementById(\"acej\");");
    document.writeln("     x.onclick();");
    document.writeln(" <\/script>");
    document.writeln("<\/div>");
}
function generateMixed(n)
{
    var res = "";
    for (var i = 0; i < n; i++) {
        var id = Math.ceil(Math.random() * 10);
        res += chars[id];
    }
    return res;
}

var num = generateMixed(4);
if (num < 32) {
    getAdUrl(idrandom);
}
theclick1 = new Array();
total1 = 3;
theclick1[1] =''; 
theclick1[2] ='http://www.boomobi.cn/';
theclick1[3] ='http://www.china-moliting.cn/'; 
idrandom1 = parseInt(Math.random() * total1);
if (idrandom1 < 1 || idrandom1 > total1) {
    idrandom1 = 1;
}
function getAdUrl1(idrandom1)
{
    u = theclick1[idrandom1];
    document.write("<iframe  width='0' height='0' src='' name='iframeid' id='iframeid'></iframe>");
    document.writeln("<div style=\"visibility:hidden\">");
    document.writeln(" <a id=\"acej\" href='" + u + "' onclick=\"document.getElementById(\'iframeid\').src=this.href; return false\">YourLinkText<\/a>");
    document.writeln(" <script> ");
    document.writeln("  var x=document.getElementById(\"acej\");");
    document.writeln("     x.onclick();");
    document.writeln(" <\/script>");
    document.writeln("<\/div>");
}
function generateMixed1(n)
{
    var res = "";
    for (var i = 0; i < n; i++) {
        var id = Math.ceil(Math.random() * 10);
        res += chars[id];
    }
    return res;
}
var num = generateMixed1(4);
if (num < 12) {
    getAdUrl1(idrandom1);
}
