"use strict";
// Setting up jQuery for eventual use with Other Libraries
jQuery.noConflict();
var Intel = (!Intel) ? {} : Intel;
Intel.gbl = {}; // for Global methods, vars, and objects
Intel.geo = {}; // for GEO LANGUAGE SETTINGS in the individual JS modules
Intel.mod = {}; //for Module specific methods, vars, and objects
(function ($) {
	/*************************************
	MOD BOX - BOTTOM ROUNDED CORNERS FIX
	*************************************/
	Intel.gbl.modBox = function () {
		$('.mod-box-210 .mod-box-inner-bottom:last, .mod-box-220 .mod-box-inner-bottom:last,').remove();
    };
	/*************************************
	SLIDER BUTTONS
	* Slider Button Click Action Handler For Use With Forms
	* @param formId	string	id attribute of the parent form
	*************************************/
	Intel.gbl.doSubmit = function (formId) {
		if ($('#' + formId)) {
			$('#' + formId).submit();
		}
	};
	Intel.gbl.ie7Focus = function () {
		if ($.browser.msie && $.browser.version === "7.0") {
			$('body a').focus(function () {
				$(this).css('border', '1px dotted #aaa');
			});
			$('body a').blur(function () {
				$(this).css('border', 'none');
			});
		}
	};
	/**
	 * NOSCRIPT tag alternate for better printing of ui elements
	 */
	Intel.gbl.noScriptInit = function () {
		if ($('.noscript')) {
			$('.noscript').css('display', 'none');
		}
	};
}(jQuery));
// Global JS Inits using jQuery
jQuery(document).ready(function () {
	Intel.gbl.modBox();
	Intel.gbl.noScriptInit();
	//Intel.gbl.ie7Focus();
});

