Board Thread:Support Requests - Getting Technical/@comment-1949364-20131227063716/@comment-1949364-20131228015119

Also, this is everything I put in, is this correct?

function switchtotab(n) {	if(!document.getElementsByClassName('tabbernav')[0].childNodes[n].classList.contains('tabberactive')) {		document.getElementsByClassName('tabbernav')[0].childNodes[n].classList.add('tabberactive'); }	for(var i=0;i<document.getElementsByClassName('tabbernav')[0].childNodes.length;) {		if(i===n) {			break; }		if(document.getElementsByClassName('tabbernav')[0].childNodes[i].classList.contains('tabberactive')) {			document.getElementsByClassName('tabbernav')[0].childNodes[i].classList.remove('tabberactive'); }		i++; }	if(document.getElementsByClassName('tabberlive')[0].childNodes[n+1].classList.contains('tabbertabhide')) {		document.getElementsByClassName('tabberlive')[0].childNodes[n+1].classList.remove('tabbertabhide'); }	for(var i=1;i<document.getElementsByClassName('tabberlive')[0].childNodes.length;i++) {		if(i===n+1) {			break; }		if(!document.getElementsByClassName('tabberlive')[0].childNodes[i].classList.contains('tabbertabhide')) {			document.getElementsByClassName('tabberlive')[0].childNodes[i].classList.add('tabbertabhide'); }	} } /* Copyright (c) 2006 Mathias Bank (http://www.mathias-bank.de) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Thanks to Hinnerk Ruemenapf - http://hinnerk.ruemenapf.de/ for bug reporting and fixing. */ jQuery.extend({ /** getURLParam: function(strParamName){	 var strReturn = "";	  var strHref = window.location.href;	  var bFound=false;	  var cmpstring = strParamName + "=";	  var cmplen = cmpstring.length;	  if ( strHref.indexOf("?") > -1 ){	    var strQueryString = strHref.substr(strHref.indexOf("?")+1);	    var aQueryString = strQueryString.split("&");	    for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){	      if (aQueryString[iParam].substr(0,cmplen)==cmpstring){	        var aParam = aQueryString[iParam].split("=");	        strReturn = aParam[1];	        bFound=true;	        break;	      }	    }	  }	  if (bFound==false) return null;	  return strReturn;	} }); window.onload=function {	if(new RegExp("#Tab[0-9]").test(location.hash)) {		switchtotab(location.hash.charAt(location.hash.length - 1)*1); } if($.getURLParam("tab")!==NULL) {   switchtotab($.getURLParam("tab")*1); } }
 * Returns get parameters.
 * If the desired param does not exist, null will be returned
 * @example value = $.getURLParam("paramName");
 * @example value = $.getURLParam("paramName");
 * @example value = $.getURLParam("paramName");