$(document).ready(function () {  
	$(function () {  
			//sets variable docEl to the topmost document element
			var docEl = document.documentElement, s;
			
			if (docEl && (s = docEl.style)) {
				//typeof checks for string
			    if (typeof s.WebkitTransform == 'string' || typeof s.MozTransform == 'string'){
					$("#accordion").accordion({
						autoHeight: false,
						navigation: true,
						collapsible: true,
						active: false
					});
				} else {
					$("#accordion").accordion({
						animated: false,
						collapsible: true,
						navigation: true,
						active: false
					});
				}
			}
		});

});
