
/*
*	isiccard.com.au
*	Author isiccard.com.au
*   Copyright © 2011, isiccard.com.au
*   All rights reserved.
*/

isic = {
    init: function () {

        isic.search.init();

    },

    search: {
        init: function () {
            $(".defaultText").focus(function (srcc) {
                if ($(this).val() == $(this)[0].title) {
                    $(this).removeClass("textActive");
                    $(this).val("");
                }
            });

            $(".defaultText").blur(function () {
                if ($(this).val() == "") {
                    $(this).addClass("textActive");
                    $(this).val($(this)[0].title);
                }
            });

            $(".defaultText").blur();
        }
    }

};

isic.init();

