




	/*
	@ Author: Keith Donegan / Kro I.T Solutions
	*/
	// $('a#light').lightbox();  
	  
	  
	// Attr Value for buttons, nice and accessible
	var input_buttons = [
		"#ctl00_ctl00_cph1_cph1_ctrlWishlist_btnUpdate", ".checkoutbutton", "input#ctl00_ctl00_cph1_cph1_ctrlCustomerLogin_btnRegister",
		"#ctl00_ctl00_cph1_cph1_ctrlWishlist_btnAddToCart", ".address-grid .select-button input",
		"#ctl00_ctl00_cph1_cph1_ctrlWishlist_btnEmailWishlist", ".enter-address .button input",
		".buttons input", "input.searchbutton", "input#ctl00_ctl00_cph1_cph1_ctl00_btnAddToCart",
		"input.updatecartbutton", "input.continueshoppingbutton", ".the-same-address input", ".checkout-data .select-button input",
		"input.searchboxbutton", "#ctl00_ctl00_ctrlHeaderMenu_ctrlSearchBox_btnSearch", ".productwritereviewbutton",
		".productaddtocomparelistbutton", ".productaddtocomparelistbutton", ".remove-button", ".productvariantaddtowishlistbutton",
		".savecustomerinfobutton", ".orderdetailsbutton", ".deleteaddressbutton", ".editaddressbutton", ".addbillingaddressbutton",
		".addshippingaddressbutton" 
	]; 

	for(var i=0; i< input_buttons.length; i++) 
	{
		$(input_buttons[i]).attr('value', '');
	}

	// Cleanup
	$('ul#main-nav li:last').css('margin-right', '0');
	$('#content_right .columns-3 div.column:last-child').css('margin', '0');
	$('#content_right .columns-6 div.column:last-child').css('margin', '0');
	  
	  $('.sub_content_right:last-child').css('padding', '0').css('float', 'right').css('border', 'none');
	  $('.post:last').css('border', '0');
	  $('.commentlist .blogcomment:last').css('margin', '0');
	  $('.search-results .item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');
	  $('.product-list1 .item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  $('.manufacturer-page td.item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  $('.manufacturer-grid td.item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  	  	  
	  $('.block-recently-viewed-products .listbox li:last a ').css('border', '0px')
	  $('.order-progress li:last a').css('margin', '0'); 
	  $('.sub-category-grid td.item-box:nth-child(3n)').css('margin', '0px 0px 0px 0px').css('float', 'right');   
	 
	  $('.payment-info td:even').addClass('item-name');
	  $('.payment-info td:odd').addClass('item-value');
	  	  	  
	  $('.producttag-page td.item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  $('.product-grid td.item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  $('.address-grid td.item-box:nth-child(2n)').css('margin', '0px 0px 0px 0px').css('float', 'right');  
	  
	  
	  
	  
	  
	  
		// Category Nav	
		$('.block-category-navigation li[style]').each(function() 
		{
			$this = $(this);
			if ($this.attr('style').match(/margin-left: 15px/i)) 
			{
				$this.addClass('sub-menu');
				$('.block-category-navigation li.sub-menu:first').prev().addClass('parent-menu');
			}
			if($this.attr('style').match(/margin-left: 30px/i)) 
			{
				$this.addClass('sub-menu-2');
				$('.block-category-navigation li.sub-menu-2:first').prev().addClass('parent-menu-2');
			}
		});
		
	

	  
	   
	   
	   
	// Cufon
	Cufon.replace('.thick_font', { fontFamily: 'Capture it' }, {hover: true});
	 
	 
	 
	 
	 
	$('.block-recently-viewed-products li:last').css('border', '0');
	// $('.master-wrapper-leftside-3 li:last-child').css('border', '0px');
	
	

