														/*
Script created by designFORGE { identity foundry }
														*/
(function($){
	$.fn.transBGdraw = function(options){
		defaults ={
			'background':'#000000',
			'opacity':'0.37',
			'-moz-opacity':'0.37',
			'filter':'alpha(opacity=37)',
			'position':'absolute',
			'z-index':'-1',
			'height':$(this).height(),
			'width':$(this).width(),
			'padding-top':$(this).css('padding-top'),
			'padding-right':$(this).css('padding-right'),
			'padding-bottom':$(this).css('padding-bottom'),
			'padding-left':$(this).css('padding-left'),
			'border-top-style':$(this).css('border-top-style'),
			'border-top-width':$(this).css('border-top-width'),
			'border-top-color':$(this).css('background-color'),
			'border-right-style':$(this).css('border-right-style'),
			'border-right-width':$(this).css('border-right-width'),
			'border-right-color':$(this).css('background-color'),
			'border-bottom-style':$(this).css('border-bottom-style'),
			'border-bottom-width':$(this).css('border-bottom-width'),
			'border-bottom-color':$(this).css('background-color'),
			'border-left-style':$(this).css('border-left-style'),
			'border-left-width':$(this).css('border-left-width'),
			'border-left-color':$(this).css('background-color'),
			'margin-top':$(this).css('margin-top'),
			'margin-right':$(this).css('margin-right'),
			'margin-bottom':$(this).css('margin-bottom'),
			'margin-left':$(this).css('margin-left'),
			'top':$(this).position().top,
			'left':$(this).position().left
		};
		$(this).attr('class','transBG');
		$('<div id="'+$(this).attr('id')+'TransBG"></div>').css(defaults).css(options).insertBefore(this);
	};
})(jQuery);

(function($) {
	$.fn.transBGredraw = function(options) {
		defaults = {
			'background':'#000000',
			'opacity':'0.37',
			'-moz-opacity':'0.37',
			'filter':'alpha(opacity=37)',
			'position':'absolute',
			'z-index':'-1',
			'height':$(this).height(),
			'width':$(this).width(),
			'padding-top':$(this).css('padding-top'),
			'padding-right':$(this).css('padding-right'),
			'padding-bottom':$(this).css('padding-bottom'),
			'padding-left':$(this).css('padding-left'),
			'border-top-style':$(this).css('border-top-style'),
			'border-top-width':$(this).css('border-top-width'),
			'border-top-color':$(this).css('background-color'),
			'border-right-style':$(this).css('border-right-style'),
			'border-right-width':$(this).css('border-right-width'),
			'border-right-color':$(this).css('background-color'),
			'border-bottom-style':$(this).css('border-bottom-style'),
			'border-bottom-width':$(this).css('border-bottom-width'),
			'border-bottom-color':$(this).css('background-color'),
			'border-left-style':$(this).css('border-left-style'),
			'border-left-width':$(this).css('border-left-width'),
			'border-left-color':$(this).css('background-color'),
			'margin-top':$(this).css('margin-top'),
			'margin-right':$(this).css('margin-right'),
			'margin-bottom':$(this).css('margin-bottom'),
			'margin-left':$(this).css('margin-left'),
			'top':$(this).position().top,
			'left':$(this).position().left
		};
		$('#'+$(this).attr('id')+'TransBG').css(options);
	};
})(jQuery);
