//<![CDATA[
if (window.isSSL){
	if ((isSSL!=0)&& location.protocol != 'https:') {
		window.location= 'https://' + location.host + location.pathname + location.search
	}
	else if ((isSSL=0) && location.protocol != 'http:') {
		window.location= 'http://' + location.host + location.pathname + location.search
	}
}
else if (!window.isSSL && location.protocol != 'http:'){
	window.location= 'http://' + location.host + location.pathname + location.search
}
else {
	// do nothing
}
//]]>