﻿//新店舗情報
function newshop1(){
    window.open("event/newshop.html","","scrollbars=yes,resizable=yes,location=no,menubar=no,width=420,height=500");
}
//イベント情報
function event1(){
    window.open("event/index.html","","scrollbars=yes,resizable=yes,location=no,menubar=no,width=420,height=500");
}
//インフォメーション
function information(){
    window.open("../information.html","","scrollbars=yes,resizable=yes,location=no,menubar=no,width=420,height=210");
}
//ヌキなびニュース
function news(url){
	sbwin=window.open(url,"","scrollbars=yes,resizable=yes,location=no,menubar=no,width=503,height=480");
}
//チケットの使い方
function ticket(){
	window.open("ticket/index.html","","scrollbars=yes,resizable=yes,location=no,menubar=no,width=263,height=490");
}
//モバイル情報
function mobile(path){
	window.open(path ,"","scrollbars=yes,resizable=yes,location=no,menubar=no,width=450,height=300");
}

//表示内容を入れ替え
function chgNews(src_id,target_id) {

    if(document.all) {
	    document.all(target_id).innerHTML =document.all(src_id).innerHTML ;
    } else if(document.getElementById) {
		document.getElementById(target_id).innerHTML =document.getElementById(src_id).innerHTML ;
    }
}

//タブの選択状態を変更
function fcsTab(obj,range_id) 
{
    obj.className ="selected";
	var ele = document.getElementById(range_id).getElementsByTagName("li");
	for (var i = 0; i < ele.length; i++) {
		var e = ele[i];
		if(e.className=="selected")
		{
			e.className = "none";
		}
	}
	obj.className ="selected";
}

//一覧リンクのパラメータを変更
function chgLink(lnk_id,url)
{
    if(document.all) {
		document.all(lnk_id).setAttribute("href",url);
    } else if(document.getElementById) {	
		document.getElementById(lnk_id).setAttribute("href",url);
    }
}
