var param = document.location.href;if (param.split('?').length = 1) {document.location.href = document.location.href + '?r';}