// ==UserScript==
// @name Sigma Planet Selector
// @version 0.1
// @author migerh/raziel
// @match http://sigma15.de/*
// ==/UserScript==

// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {
    var script = document.createElement("script");
    script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js");
    script.addEventListener('load', function() {
        var script = document.createElement("script");
        script.textContent = "(" + callback.toString() + ")();";
        document.body.appendChild(script);
    }, false);
    document.body.appendChild(script);
}

// the guts of this script
function main() {
    $('#aktuellerplanet,#planetenselect').unbind('mouseenter mouseleave');
    $('#planetenselect').show();
    $('#planetenselect').css('left', '315px');
    $('#planetenselect').css('top', '30px');
};

// load jQuery and execute the main function
addJQuery(main);
