<!--  ========= TOP =========  -->
function oas_load_ad_top() {
    if (posadverserve[getadposnr('Top')]) {
        OAS_AD('Top');
        if (posusegoogle[getadposnr('Top')]) {
            if (!google_use_afs) {
                google_top();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Top')]) {
            if (!google_use_afs) {
                google_top();
            }
        } else {
            whad_top();
        }
    }
}

<!--  ========= TOP1 =========  -->
function oas_load_ad_top1() {
    if (google_show_overrule) {
        if (!google_use_afs) {
            google_top1();
        }
    } else {
        if (posadverserve[getadposnr('Top1')]) {
            OAS_AD('Top1');
            if (posusegoogle[getadposnr('Top1')]) {
                if (!google_use_afs) {
                    google_top1();
                }
            }
        } else {
            if (posusegoogle[getadposnr('Top1')]) {
                if (!google_use_afs) {
                    google_top1();
                }
            } else {
                whad_top1();
            }
        }
    }
}

<!--  ========= MIDDLE1 =========  -->
function oas_load_ad_middle1() {
    if (google_show_overrule) {
        if (!google_use_afs) {
            google_middle1();
        }
    } else {
        if (posadverserve[getadposnr('Middle1')]) {
            OAS_AD('Middle1');
            if (posusegoogle[getadposnr('Middle1')]) {
                if (!google_use_afs) {
                    google_middle1();
                }
            }
        } else {
            if (posusegoogle[getadposnr('Middle1')]) {
                if (!google_use_afs) {
                    google_middle1();
                }
            } else {
                whad_middle1();
            }
        }
    }
}

<!--  ========= MIDDLE2 =========  -->
function oas_load_ad_middle2() {
    if (posadverserve[getadposnr('Middle2')]) {
        OAS_AD('Middle2');
        if (posusegoogle[getadposnr('Middle2')]) {
            if (!google_use_afs) {
                google_middle2();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Middle2')]) {
            if (!google_use_afs) {
                google_middle2();
            }
        } else {
            whad_middle2();
        }
    }
}

<!--  ========= BOTTOM2 =========  -->
function oas_load_ad_bottom2() {
    if (google_show_overrule) {
        if (!google_use_afs) {
            google_bottom2();
        }
    } else {
        if (posadverserve[getadposnr('Bottom2')]) {
            OAS_AD('Bottom2');
            if (posusegoogle[getadposnr('Bottom2')]) {
                if (!google_use_afs) {
                    google_bottom2();
                }
            }
        } else {
            if (posusegoogle[getadposnr('Bottom2')]) {
                if (!google_use_afs) {
                    google_bottom2();
                }
            } else {
                whad_bottom2();
            }
        }
    }
}

<!--  ========= POSITION1 =========  -->
function oas_load_ad_position1() {
    if (posadverserve[getadposnr('Position1')]) {
        OAS_AD('Position1');
        if (posusegoogle[getadposnr('Position1')]) {
            if (!google_use_afs) {
                google_position1();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Position1')]) {
            if (!google_use_afs) {
                google_position1();
            }
        } else {
            whad_position1();
        }
    }
}

<!--  ========= POSITION2 =========  -->
function oas_load_ad_position2() {
    if (posadverserve[getadposnr('Position2')]) {
        OAS_AD('Position2');
        if (posusegoogle[getadposnr('Position2')]) {
            if (!google_use_afs) {
                google_position2();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Position2')]) {
            if (!google_use_afs) {
                google_position2();
            }
        } else {
            whad_position2();
        }
    }
}

<!--  ========= POSITION3 =========  -->
function oas_load_ad_position3() {
    if (posadverserve[getadposnr('Position3')]) {
        OAS_AD('Position3');
        if (posusegoogle[getadposnr('Position3')]) {
            if (!google_use_afs) {
                google_position3();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Position3')]) {
            if (!google_use_afs) {
                google_position3();
            }
        } else {
            whad_position3();
        }
    }
}

<!--  ========= POSITION4 =========  -->
function oas_load_ad_position4() {
    if (posadverserve[getadposnr('Position4')]) {
        OAS_AD('Position4');
        if (posusegoogle[getadposnr('Position4')]) {
            if (!google_use_afs) {
                google_position4();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Position4')]) {
            if (!google_use_afs) {
                google_position4();
            }
        } else {
            whad_position4();
        }
    }
}

<!--  ========= RIGHT1 =========  -->
function oas_load_ad_right1() {
    if (google_show_overrule) {
        if (!google_use_afs) {
            google_right1();
        }
    } else {
        if (posadverserve[getadposnr('Right1')]) {
            OAS_AD('Right1');
            if (posusegoogle[getadposnr('Right1')]) {
                if (!google_use_afs) {
                    google_right1();
                }
            }
        } else {
            if (posusegoogle[getadposnr('Right1')]) {
                if (!google_use_afs) {
                    google_right1();
                }
            } else {
                whad_right1();
            }
        }
    }
}

<!--  ========= RIGHT2 =========  -->
function oas_load_ad_right2() {
    if (posadverserve[getadposnr('Right2')]) {
        OAS_AD('Right2');
        if (posusegoogle[getadposnr('Right2')]) {
            if (!google_use_afs) {
                google_right2();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Right2')]) {
            if (!google_use_afs) {
                google_right2();
            }
        } else {
            whad_right2();
        }
    }
}

<!--  ========= RIGHT3 =========  -->
function oas_load_ad_right3() {
    if (posadverserve[getadposnr('Right3')]) {
        OAS_AD('Right3');
        if (posusegoogle[getadposnr('Right3')]) {
            if (!google_use_afs) {
                google_right3();
            }
        }
    } else {
        if (posusegoogle[getadposnr('Right3')]) {
            if (!google_use_afs) {
                google_right3();
            }
        } else {
            whad_right3();
        }
    }
}

<!--  ========= RESLIST TOP =========  -->
function oas_load_ad_resultlist_top() {
    google_resultlist_top();
}

<!--  ========= RESLIST BOTTOM =========  -->
function oas_load_ad_resultlist_bottom() {
    google_resultlist_bottom();
}

