function GetHttpsLink(pageName) {
	var pathName = window.location.pathname;
	var idx = pathName.lastIndexOf("/");

	return "https://" + window.location.host + pathName.substring(0, idx) + "/" + pageName;
}

function GetHttpLink(pageName) {
	var pathName = window.location.pathname;
	var idx = pathName.lastIndexOf("/");

	return "http://" + window.location.host + pathName.substring(0, idx) + "/" + pageName;
}

function LoadHttpsPage(pageName) {
	window.location.href = GetHttpsLink(pageName);
}

function LoadHttpPage(pageName) {
	window.location.href = GetHttpLink(pageName);
}

function info() {
	window.open('https://www.thawte.com/cgi/server/certdetails.exe?referer=http://www.tipclub.at/', 'Verify_SSL_Certificate', 'width=500,height=512,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no');
}

	