/////// Pop Up Windows ///////
var urlArray = new Array();

// configuration

    urlArray[0] = 'http://www.pickabbw.com/cgi-bin/picka/rankem.cgi?id=juicyfat';    // URL of pop up first window
    //urlArray[1] = 'http://www.fat-tgp.com/cgi-bin/killah/in.cgi?id=juicy ';
    //urlArray[2] = 'http://metafilter.com'     // URL of pop up third window
    //urlArray[3] = 'http://fark.com'     // URL of pop up fourth window

    var popWidth = '400';                   // width of pop up window
    var popHeight = '300';                  // height of pop up window
    var showScrollbars = 'yes';         // pop up window has scrollbars? (yes or no)
    var popUnder = 'yes';                   // pop up window displays below main window? (yes or no)

// end configuration

var exit=true;
if (document.layers) {
    document.captureEvents(Event.CLICK);
}
document.onclick = 
    function (evt) {
        var target = document.all ? event.srcElement : evt.target;
        if (target.href) {
            exit=false;
        }
        return true;
    };
function out(force) {
}
function fargle(farg) {
    if (force == 'force') {
        exit=true;
    }
    if (force == 'none') {
        exit=false;
    }
    if (exit) {
        for (var i=0; i < urlArray.length; i++) {
            cop(urlArray[i], 'win' + i);
        }
        if (popUnder == 'yes') {
            window.focus();
        }
    }
}
function cop(myUrl, myWin) {
    window.open( myUrl, myWin, 
        "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="
        + showScrollbars + ",resizable=no,width=" + popWidth
        + ",height=" + popHeight);
}
/////// /Pop Up Windows ///////
