var pc = new Object();

    // Current Version
    pc.VERSION = "1.0";

	// ----------------------------------------------------------------
    // Search Module
    // ----------------------------------------------------------------
    pc.search = {

        searchURL:"",
        element:"",
        help:"",

        initialize:function(url,element) {
            this.element = document.getElementById(element);
            this.searchURL = url;
            this.help = this.element.value;
        },

        clearHelp:function() {
            if (this.element.value == this.help) {
                this.element.value = "";
            }
        },

        setHelp:function() {
            if (this.element.value == "") {
                this.element.value = this.help;
            }
        },

        handler:function() {
            var keyword = this.element.value;
            if (this.element.value == this.help) {keyword = "";}
            var tempURL = this.searchURL.replace(/<KEYWORD>/,escape(keyword));
            window.open(tempURL,"searchWindow","");
            return false;
        }

    };