﻿$().ready(function() {
    //JobSearchCriteria.RegisterAjaxCombos();
    DetailedJobOffer.init(); //RegisterAjaxCombos();
});

var defaultVar = '';

DetailedJobOffer = {

    init: function() {
        DetailedJobOffer.setEventHandlers();
        $("h1.png").css({ 'visibility': 'visible' });
        $("h1.png").css({ 'font-size': '14px' });
        $("h1.png").css({ 'font-family': 'verdana' });
        $("h1.png").css({ 'color': '#756c63' });
        $("h1.png").css({ 'font-weight': '700' });
    },

    setEventHandlers: function() {

        $(".lnkSendOfferToFriend").unbind().click(DetailedJobOffer.clickSendOfferToFriend);

    },

    clickSendOfferToFriend: function() {
        //var _filters=JobSearchResults.getFilters();
        //if (queryOF != undefined)
            window.showModalDialog(this.href, '', 'dialogWidth:430px;dialogHeight:270px;center:1;status:yes;unadorned:no;scroll:no;');
        //window.open(this.href+"?"+_filters,'Alert','width=300px,height=250px,resizable=0,toolbars=0');
        return false;
    }
}

