function getParameter(theParameter) { 
	var params = window.location.search.substr(1).split('&');
	for (var i = 0; i < params.length; i++) {
		var p=params[i].split('=');
		if (p[0] == theParameter) {
			return decodeURIComponent(p[1]);
		}
	}
	return false;
};

$(document).ready = function () {
	$('.dropdown-toggle').dropdown();
};

window.onload = function () {
	$("#" + getParameter("active")).addClass("active");
	if (getParameter("dis") !== false) {
		$("#" + getParameter("dis")).addClass("disabled");
	};
};

@@ -260,81 +260,8 @@
 %7D;%0A%0A
-$(document).ready = function () %7B%0A%09$('.dropdown-toggle').dropdown();%0A%7D;%0A%0A
 wind
@@ -343,102 +343,7 @@
 %22);%0A
-%09if (getParameter(%22dis%22) !== false) %7B%0A%09%09$(%22#%22 + getParameter(%22dis%22)).addClass(%22disabled%22);%0A%09%7D;%0A
 %7D;%0A

Update nav.js