<!--//

// ロケーション先設定関数群
// 使用の際は必ずenv.jsをインクルードする。

//http://から始まるURLを取得する。
function GetFullUrl(url){
    if (domain_name == '') {domain_name = document.domain;}
    return 'http://' +  domain_name + siteName + url;
}

//https://から始まるURLを取得する。
function GetsFullUrl(url){
    if (domain_name == '') {domain_name = document.domain;}
    return schema +  domain_name + siteName + url;
}

// ロケーション先設定（http）
function lct(url){
	location.href= GetFullUrl(url);
}

// ロケーション先設定ポップアップ（http）
function lctPopUp(url, width, height){
    switch (arguments.length) 
    {
        case 3:
            window.open(GetFullUrl(url) , '_blank' , 'scrollbars=yes,resizable=yes,status=no,alwaysRaised=yes,width=' + width + ',height=' + height + '');   
            break;
        default:
            window.open(GetFullUrl(url));
            break;
    }
}

// ロケーション先設定（https）
function slct(url){
	location.href= GetsFullUrl(url);
}

// ロケーション先設定ポップアップ（https）
function slctPopUp(url, width, height){
    switch (arguments.length) 
    {
        case 3:
            window.open( GetsFullUrl(url) , '_blank' , 'scrollbars=yes,resizable=yes,status=no,alwaysRaised=yes,width=' + width + ',height=' + height + '');   
            break;
        default:
            window.open( GetsFullUrl(url));
            break;
    }
}

-->