  $(document).ready(function()
  {
		$('#grey-bg, #load').remove();
		
		//
		$("#content table tr").not('.no-link, tr:first').click(function() 
		{     
			  $('#content table tr').attr("target", '_blank');
			  //window.location = $(this).find("a").attr("href");
			   var newWindow = window.open($(this).find("a").attr("href"), '_blank');
			   newWindow.focus();
			   return false;
		}); 
		
		$('#content table tr').not('.no-link, tr:first').hover(function()
		{
			  $("#content table tr").not('.no-link, tr:first').addClass('handy');
			  $('#content table tr th  ').css('color', '#000');
			  $('#content table tr').not(this).css('color', '#666');
			  $(this).css('background', '#EAE0ED');
			  $(this).children('td.third').css('font-weight', 'bold');
		}, function()
		{
			  $('#content table tr').not(this).css('color', '#000');
			  $(this).children('td').css('background', 'none');
			  $(this).children('td.third').css('font-weight', 'normal');
			  $(this).css('background', '#fff');
		});

		
		function scrollIt()
		{
			  $('#featured-brands div#scroll').animate({
					marginLeft: "-9100px"}, 130000, "linear").animate({ 
						marginTop: "-223px" }, 200, "linear").animate({ 
							  marginLeft: "750px" }, 100, "linear").animate({ 
									marginTop: "57px" }, 1, "linear", scrollIt);
			  }
			  scrollIt();

  });
  
	  $(function() 
	  { 
			$("ul.css-tabs").tabs("div.css-panes > div");
	  });
  
	  function myFocus(element) 
	  {
			if (element.value == element.defaultValue) 
			{
				  element.value = '';
			}
	  }
	  function myBlur(element) 
	  {
			if (element.value == '') 
			{
				  element.value = element.defaultValue;
			}
	  }
	  
	  $(function() 
	  { 
			$(".col ul li:last-child a").css('border', '1px solid #fff');
			$("#main-home ul#icons li#twi a").css('border', 'none');
	  });