function Is() {
        var agent = navigator.userAgent.toLowerCase();
        this.major = parseInt(navigator.appVersion);
        this.minor = parseFloat(navigator.appVersion);
        this.op	= (agent.indexOf("opera") != -1);
        this.ff   = (agent.indexOf("firefox") != -1);
        this.ie   = (agent.indexOf("msie") != -1);
        this.ie3  = (this.ie && (this.major == 2));
        this.ie4  = (this.ie && (this.major >= 4));
        this.win   = (agent.indexOf("win")!=-1);
        this.mac   = (agent.indexOf("mac")!=-1);
        this.unix  = (agent.indexOf("x11")!=-1);
}

var is = new Is();

if((!is.ie4) || !is.win){
       top.location.href = "http://kr.joymax.com/bumpy/bumpy_front.jmx?workURL=http://krbumpycp.joymax.com/userenv.asp";
}

var sroreplaceurl = "kr.joymax.com/bumpy/";

var srodomain = document.domain;
srodomain = srodomain.toLowerCase();
if(srodomain != sroreplaceurl){
	//window.location.replace("http://"+sroreplaceurl);
}

var sroprotocol = "http:";
var srolocation = window.location;
srolocation = ""+srolocation;
var srolocarray = srolocation.split("/");
var sroloccount = srolocarray.length;

/*
if(sroloccount >= 4 && (srolocarray[3].toLowerCase() == "member" || srolocarray[3].toLowerCase() == "itemmall")){
	if((sroloccount >= 4) && ((srolocarray[4].toLowerCase() == "member_join.asp") || (srolocarray[4].toLowerCase() == "member_post.asp") || (srolocarray[4].toLowerCase() == "silkgift.asp") || (srolocarray[4].toLowerCase() == "silkcouponcharge.asp"))){
		sroprotocol = "https:";
		if(srolocarray[0] != sroprotocol){
			sroreplaceurl = sroprotocol+"//"+sroreplaceurl;
			for(var srourli=3;srourli < sroloccount;srourli++){
				sroreplaceurl += "/"+srolocarray[srourli];
			}
			window.location.replace(sroreplaceurl);
		}
	}
	else{
		if(srolocarray[0] != sroprotocol){
			sroreplaceurl = sroprotocol+"//"+sroreplaceurl;
			for(var srourli=3;srourli < sroloccount;srourli++){
				sroreplaceurl += "/"+srolocarray[srourli];
			}
			window.location.replace(sroreplaceurl);
		}
	}
}
else{
	if(srolocarray[0] != sroprotocol){
		sroreplaceurl = sroprotocol+"//"+sroreplaceurl;
		for(var srourli=3;srourli < sroloccount;srourli++){
			sroreplaceurl += "/"+srolocarray[srourli];
		}
		window.location.replace(sroreplaceurl);
	}
}
*/