$(function(){
$broweserType = $.browser;
	if($broweserType.webkit ){
		$('.left_part').css({'background-position':'100% 50%','padding-left':'12px'});
		$('.right_part').css({'position':'relative','left':'-2px'});
		$('.banner_holder_m').css({'top':'1px'});
		$('.poad .right_part a').css({'white-space':'nowrap'});
		$('.poad  .right_part').css({'position':'relative','left':'-4px'});
		$('.poad  .left_part').css({'background-position':'100% 50%','padding-right':'2px'});
	
		$('.buttonholder .submit_bt:lt(2)').css({'margin-right':"4px"});
	}
	if($broweserType.opera ){
		
	}
	
	if($broweserType.msie ){
		var version = jQuery.browser.version.substr(0,3);	
		if(version=='7.0'){
			$('.left_part').css({'padding':'6px 6px 6px 12px','border':'none','position':'relative','height':'29px'});
			
			$('.right_part').css({'border':'none','position':'relative','left':'-12px','top':'0px','padding':'8px 0px 6px 6px','height':'29px'});
			var width = $('.right_part').width()-2;
			$('.left_part').css({'width':width+'px'});
/**************************************************/
				$('.price_main').each(function(index,el){
					$this = $(this);
					$thisSub = $this.find('.price_sub');
					
					/*$($this).css({'padding-left':'8px','border':'none','height':'29px','position':'relative'});
					*/
					
				});
				
				$('.services img').css({'display':'block'});
				$('.poad .price_main').css({'margin-left':'195px'});
				$('.poad .bags_small').css({'margin-right':'15px'});
				$('.poad').css({'position':'static'});
				$('.buttonholder .submit_bt:lt(2)').css({'margin-right':"4px"});
		}
	}
	if($broweserType.mozilla ){
		
	}
});
(function($)
		{
			$.fn.tooltips=function(options)
			{
				var defaults = {  
								 fadeEffect : true,
								 fadespeed	:100,  
								 timeOut	:false

								};
				var settings = $.extend({}, defaults, options);   
				this.each(function()
						{
							var $this =$(this);
							if($(this).hasClass('tooltips') || $(this).hasClass('reflected') )
							{
								var $title=$(this).attr('title');
								
								$(this).attr('title','');
								$(this).hover(function(event)
									{
										
										$('<div id="tooltips" />').appendTo('body');
										$('#tooltips').append('<div class="tips_container" />');
										$('.tips_container').html($title);

										$('#tooltips').css(
											{
												position	:'absolute',
												top			:event.pageY+12,
												left		:event.pageX+12,
												zIndex		:1000,
												opacity		:0.5
											});
									},
									function()
									{
										if(settings.fadeEffect)
										{
											
											$('#tooltips').fadeOut(settings.fadespeed);
										}
										$('#tooltips').remove();	
									}
									);
							   }
									
							});
							$(this).mousemove(function(event)
							{
								$('#tooltips').css(
									{
										top			: event.pageY+10,
										left		:event.pageX+10,
										opacity		:1
									}
								)
								
							}
						);
						
						return this;	
						}

					})(jQuery)
