$(document).ready(function(){

	/*$(".richmedia-link").click(function(){
		$('html,body').attr({scrollTop: 436});	
	});


	// Accessories Image Swap
	$(".acc-links").each(function(){
		var Links = this;
		var Img = $(this).prev("div.acc-img").find("img").eq(0);
		$(this).find(".acc-swap").mouseover(function(){
			$(Img).eq(0).attr("src","/images/product/images/" + $(this).attr("id") + "_med.jpg");
		});

	});*/

	// Accessories Highlight
	$(".add-input input").click(function(){
		if($(this).is(":checked")) {
			$(this).parent().parent().addClass("selected");
		} else {
			$(this).parent().parent().removeClass("selected");
		}
	});

	$(".prod-info").click(function(){
		window.open($(this).attr("href"),'','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=678,height=500');

		return false;
	});

	$("input.wty").click(function(){
		if($(this).is(":checked")) {
			$("input.wty:checked").attr("checked", false);
			$(this).attr("checked", true);
		} 
	});
});
/*function formatRequiredAcc(addonnum, thisObj ) { //eckman

	if (thisObj.checked) {		
		document.getElementById('requiredacc' + addonnum).className = 'addonchkon';
	} else {
		document.getElementById('requiredacc' + addonnum).className = 'addonchkoff';
	}

}


function formatRecommendedAcc(addonnum, thisObj ) { //eckman

	if (thisObj.checked) {		
		document.getElementById('recommendedacc' + addonnum).className = 'addonchkon';
	} else {
		document.getElementById('recommendedacc' + addonnum).className = 'addonchkoff';
	}

}*/

function formatWarranty( addonNum, thisObj ) { //eckman

	/*if (thisObj.checked) {		
		document.getElementById('warranty' + addonNum).className = 'warrantyon';
	} else {
		document.getElementById('warranty' + addonNum).className = 'warrantyoff';
	}*/
}

/* Depreciated */
