<!--
var nhost, nhostname, nhref, npathname, nport, nprotocol, nsearch

nhost = location.host			// URLÀÇ È£½ºÆ®ºÎºÐ 
nhostname = location.hostname	// URLÀÇ È£½ºÆ®¿Í Port ºÎºÐ 
nhref = location.href			// ¹®¼­ÀÇ URL 
npathname = location.pathname	// URLÀÇ °æ·ÎºÎºÐ 
nport = location.port			// URLÀÇ Port ºÎºÐ 
nprotocol = location.protocol	// URLÀÇ ÇÁ·ÎÅäÄÝ ºÎºÐ 
nsearch = location.search		// URLÀÇ Äõ¸®Á¤º¸(? ÀÌÇÏÀÇ ºÎºÐ)

function sslhref(e)
{
	var nurl , reurl;
	nurl = nhost;

	if(e == "ssl")
	{
		if(nprotocol == "http:")
		{
			reurl = "https://" + nhost + ":444" + npathname + nsearch;
			location.href = reurl;
		}
	}
	else
	{
		if(nprotocol == "https:")
		{
			nhost = nhost.replace(":444","");
			reurl = "http://" + nhost + npathname + nsearch;
			location.href = reurl;
		}
	}
}
//-->

