jQuery.noConflict(); /* Open links with class 'new_window' in a... new window */ (function($){ $(function(){ $('.new_window') .click(function(e){ window.open(this.href); e.preventDefault(); }) .attr({title : "Opens in a new window."}) .append($(' Opens in a new window.')); }); })(jQuery); function form_input_classes(){ jQuery('input[type="text"]').addClass('text'); jQuery('input[type="password"]').addClass('text'); jQuery('input[type="checkbox"]').addClass('checkbox'); jQuery('input[type="radio"]').addClass('radiobutton'); jQuery('input[type="submit"]').addClass('submit'); jQuery('input[type="image"]').addClass('buttonImage'); } function form_labelize(){ jQuery(".labelize input:text").clearingInput(); } function lightbox (){ var modal = jQuery.cookie('mw'); if (modal == 'visited') { } else { jQuery.cookie('mw', 'visited', { expires: 30, domain: 'jobsandgrowthtoday.com' }); jQuery("#lightbox").show(); jQuery.fn.colorbox({inline:true, href:"#lightbox", open:true, transition:"none", opacity: .65}); jQuery(".cb-close").click(function () { jQuery.fn.colorbox.close(); return false; }); jQuery().bind('cbox_cleanup', function(){ jQuery("#lightbox").hide(); }); } } function framework_tweaks(){ jQuery(".signup-right #signupfooter").remove().prependTo("form#signup"); } jQuery(document).ready(function() { form_labelize(); lightbox(); form_input_classes(); framework_tweaks(); });