
function changeCurl(curl) {
	if (location.href.indexOf('.html') == -1) {
		if (location.href.lastIndexOf('/') == location.href.length - 1) {
			location.href = location.href + curl;		
		}
		else {
			location.href = location.href + '/' + curl;		
		}	
	}
	else {
		location.href = curl;
	}			
}

