/*
========== ::: 初期設定 ::: ==========
*/

// 値の単位を設定（必ずダブルクオートかクオートで括る）
var fontSizeUnit = "%";

// 一回の操作で変化させる値を設定（ダブルクオートやクオートで括らない）
var perOrder = 10;
var maxOrder = 180;
var minOrder = 50;
// 初期状態の値を設定（ダブルクオートやクオートで括らない）
var defaultSize = 90;

// クッキーの名前（必ずダブルクオートかクオートで括る）
var ckName = "FSCc";

// クッキーの有効期限（日）（ダブルクオートやクオートで括らない）
var ckDays = 2;

// クッキーのパス（必ずダブルクオートかクオートで括る。指定が不要の場合は"/"にする）
var ckPath = "/"


/*
========== ::: ページ読み込み時の値を設定 ::: ==========
*/

// クッキー読み出し


var fsCK = GetCookie( ckName );

if ( fsCK == null ){
 var currentSize = defaultSize;          //クッキーが無ければ現在の値を初期状態の値に設定
}
else{
 var currentSize = eval( fsCK );          //クッキーがあれば現在の値をクッキーの値に設定
}

if(!fsCK) SetCookie( ckName , defaultSize );

/*
========== ::: head内にstyle要素を出力 ::: ==========
*/


/*===================================
 [関数 fsc]
 引数CMDに渡される値に応じて
 変更後の値を算出しクッキーに書き込む。
====================================*/

function fsc( CMD ){

 // 拡大：現時点の値に一回の操作で変化させる値を加えて操作後の値"newSize"に代入
 var newSize = defaultSize;
 if ( CMD == "larger" ){
   newSize = Number( Number( GetCookie(ckName) ) + perOrder );
   if(newSize > maxOrder) newSize = maxOrder;
   SetCookie( ckName , newSize );          //クッキー書き込み
 }

 // 縮小：現時点の値から一回の操作で変化させる値を引き操作後の値に代入
 // 現時点のサイズの値が一回の操作で変化させる値と同じならそのまま操作後の値に代入
 if ( CMD == "smaller" ){
   if ( currentSize != perOrder ){
     newSize = Number( GetCookie(ckName) - perOrder );
   }
   else{
     newSize = Number( currentSize );
   }
   if(newSize < Number(minOrder)){
       newSize = Number(minOrder);
   }
   SetCookie( ckName , newSize );
 }

 // 元に戻す：操作後の値を初期値にする
 if ( CMD == "default" ){
   //DeleteCookie( ckName );          //クッキー削除
   SetCookie( ckName , defaultSize );
 }
 // ページの再読み込み
 // 再読み込みをすることで変更後の値を反映したstyle要素が出力される
 // location.reload();
 SetCookieBody( GetCookie(ckName) );
}

// _______________________________________ end of function fsc() ___


/*===================================
 [関数 SetCookie]
 クッキーに値を書き込む
====================================*/
function SetCookie( name , value ){
 var dobj = new Date();
 dobj.setTime(dobj.getTime() + 24 * 60 * 60 * ckDays * 1000);
 var expiryDate = dobj.toGMTString();
 document.cookie = name + '=' + escape(value) + ';expires=' + expiryDate + ';path=' + ckPath;
}

/*===================================
 [関数 GetCookie]
 クッキーを取得する
====================================*/
function GetCookie (name){
 var arg  = name + "=";
 var alen = arg.length;
 var clen = document.cookie.length;
 var i = 0;
 while (i < clen){
   var j = i + alen;
   if (document.cookie.substring(i, j) == arg)
   return getCookieVal (j);
   i = document.cookie.indexOf(" ", i) + 1;
   if (i == 0) break;
 }
 return null;
}

/*===================================
 [関数 getCookieVal]
 クッキーの値を抽出する
====================================*/
function getCookieVal (offset){
 var endstr = document.cookie.indexOf (";", offset);
 if (endstr == -1)
 endstr = document.cookie.length;
 return unescape(document.cookie.substring(offset,endstr));
}

/*===================================
 [関数 DeleteCookie]
 クッキーを削除する
====================================*/
function DeleteCookie(name){
 if (GetCookie(name)){
   document.cookie = name + '=' +
   '; expires=Thu, 01-Jan-70 00:00:01 GMT;path='+ckPath;
 }
}

/*===================================
 [ 関数 : SetCookieBody ]
 BODY, INPUT要素にクッキーを指定。
====================================*/
function SetCookieBody( data ){
       document.body.style.cssText = "font-size:"+data+"%;";
       
       // document.forms[0].style.cssText = "font-size:"+data+"%;";
       // document.forms[0].q.style.cssText = "font-size:"+100+"%;";
       /***********************************************************
               * native code
               * 使用したい要素をスタイルに....
               *
       ***********************************************************/
       // Form の中のスタイルを変更！
       var googles =document.forms.parentNode; 
       if(typeof googles!="undefined" && typeof googles.className!="undefined" && googles.className != "search"){
	       if(typeof document.forms.length != "undefined" && document.forms.length > 0){
	               for(var i=0;i<document.forms.length;i++){
	                       document.forms[i].style.cssText = "font-size:"+data+"%;";
	                       if(typeof document.forms[i].elements.length != "undefined" && document.forms[i].elements.length > 0){
	                               for(var k=0;k<document.forms[i].elements.length;k++){
	                                       if(typeof document.forms[i].elements[k].name != "undefined" && document.forms[i].elements[k].name != "sitesearch"){//ナレッジ文字拡大させたくない判定。。
	                                       		document.forms[i].elements[k].style.cssText = "font-size:"+100+"%;";
	                                       }
	                               }
	                       }
	               }
	       }
       }
       // Table判定
       var table = document.getElementsByTagName("table");
       if(typeof table!="undefined" && table.length>0){
               for(var i=0;i<table.length;i++){
                       table[i].style.cssText = "font-size:"+data+"%;clear:both;";// Tableタグの後ろに必ずclear:both;を追記。
                       var td=table[i].getElementsByTagName("td");
                       var th=table[i].getElementsByTagName("th");
                       if(td.length > 0){
                               for(var k=0;k<td.length;k++){
                                       td[k].style.cssText = "font-size:100%;";
                               }
                       }
                       if(th.length>0){
                               for(var k=0;k<th.length;k++){
                                       th[k].style.cssText = "font-size:100%;";
                               }
                       }
               }
       }
}

// open Sub Window-----------------------------------
/*function openWin2(url){
	win1=window.open(url,"SubWin","scrollbars=auto,width=620,height=800,scrollbars=1,resizable=yes");
}*/
// open Sub Window-----------------------------------
function openWin(url){
       win1=window.open(url,"SubWin","scrollbars=auto,width=960,height=800,scrollbars=1,resizable=yes");
}

// disp date-----------------------------------
var imgUrl="/common/images/num/";
var today= new Date();
var y =""+today.getYear();
var m=today.getMonth()+1;
var d=today.getDate();
y=y.substring(y.length-2,y.length);
if (m<10){ m= "0"+m}
if (d<10){ d= "0"+d}
var date=""+m+d;
function dispDate(){
       document.images['year'].src=imgUrl+"y"+y+".gif";
       for (n=0;n<4;n++){
               k=date.charAt(n);
               document.images['d'+n].src=imgUrl+"d"+k+".gif";
               }
}

//check current url-----------------------------------
function checkCurrent(){
       var str="nursery";
   var path=""+self.location.pathname;
   var dir_flg=new Array('knowledge','solution','library');
   for(var n=0;n<dir_flg.length;n++){
       if(path.indexOf(dir_flg[n])>=0){
       str=dir_flg[n];
       }
   }
   writeCss(str);
}
function writeCss(str){
       document.write('<style>');
       document.write('<!--');
       document.write('#'+str+'{');
       document.write('background-image:url(/common/images/global_menur.gif);}');
       document.write('-->');
       document.write('</style>');
}

//page print-----------------------------------
function parseQuery(qstr){
       qstr = qstr.replace(/^\?/,'');
       var query = new Array();
       var arr = qstr.split("&");
       for(var i = 0; i < arr.length; i++){
               var str = arr[i].split('=');
               var key = str[0];
               var val = str[1];
               if(key != ''){
                       query[key] = val;
               }
       }
       return query;
}
function dispPrintPage(){
       var mayhash=location.hash;
       var self=""+location;
       var qstr="?";
       if (self.indexOf('?')>=0){qstr="&";}
       var url=self+qstr+"media=print";
       url = url.replace(mayhash,'');
       win2=window.open(url,"PrintWin","scrollbars=auto,width=800,height=800,scrollbars=1,resizable=yes");
}
function getPrintCSS(css){
       var query = parseQuery(location.search);
       if(query['media']=='print'){
               document.write('<link rel=\"stylesheet\" href=\"'+css+'\" type=\"text/css\" media=\"all\">');
       }
}
function writeHeader(img){
       var query = parseQuery(location.search);
       if(query['media']=='print'){
               document.write('<div><img src=\"'+img+'\" alt=\"TaisinNet All?rights?reserved, Copyright(C)2000-2005?TAISEI?Corporation\"></div>');
       }
}
function dispPrintDialog(){
       var query = parseQuery(location.search);
       if(query['media']=='print'){
               setTimeout(function(){print();}, 2000)
       }
}
function noLink(){
       var query = parseQuery(location.search);
       if(query['media']=='print'){
               alert("印刷画面からは他ページにリンクできません。印刷画面を閉じます。");
               close();
       }
}

//▼▼▼Renewal07----------------------------------------------
/* Menu */
function createSubMenu(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       a = document.createElement("a");
                       span = document.createElement("span");
                       if(typeof(item.object[i])!="undefined"){
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a.setAttribute("href", item.object[i].link);
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                               }
                               a.appendChild(document.createTextNode(item.object[i].name));
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                                       li[li.length-1].className = "menu02";
                                       li[li.length-1].appendChild(a);
                               }
                               else{
                                       li[li.length-1].className = "menu01";
                                       span.appendChild(a);
                                       li[li.length-1].appendChild(span);
                               }
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
function createBackNum(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       a = document.createElement("a");
                       span = document.createElement("span");
                       if(typeof(item.object[i])!="undefined"){
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a.setAttribute("href", item.object[i].link);
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                               }
                               a.appendChild(document.createTextNode(item.object[i].name));
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                                       li[li.length-1].className = "menu04";
                                       li[li.length-1].appendChild(a);
                               }
                               else{
                                       li[li.length-1].className = "menu03";
                                       span.appendChild(a);
                                       li[li.length-1].appendChild(span);
                               }
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
function openBlock(o){
       li = o.parentNode.parentNode.getElementsByTagName("li");
       img = document.createElement("img");
       for(var i=0;i<li.length;i++){
               if(li[i].style.display=="none"){
                       o.parentNode.className = "closemenu";
                       o.innerHTML="";
                       img.src = tsInit.CLOSE_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.CLOSE_TEXT;
                       
                       li[i].style.display="block";
               }
               else if(li[i].style.display=="block"){
                       o.parentNode.className = "openmenu";
                       o.innerHTML="";
                       img.src = tsInit.OPEN_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.OPEN_TEXT;
                       li[i].style.display="none";
               }       
       }
}
function openCatalog(o){
       li = o.parentNode.parentNode.parentNode.getElementsByTagName("li");
       img = document.createElement("img");
       for(var i=0;i<li.length;i++){
               if(li[i].style.display=="none"){
                       o.parentNode.className = "closemenu";
                       o.innerHTML="";
                       img.src = tsInit.CLOSE_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.CLOSE_TEXT;
                       
                       li[i].style.display="block";
               }
               else if(li[i].style.display=="block"){
                       o.parentNode.className = "openmenu";
                       o.innerHTML="";
                       img.src = tsInit.OPEN_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.OPEN_TEXT;
                       li[i].style.display="none";
               }       
       }
}
function createCatalog(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       div = document.createElement("div");
                       div.className=item.object[i].icon;
                       h4 = document.createElement("h4");
                       a = document.createElement("a");
                       //----img = document.createElement("img");
                       //----img.setAttribute("src", item.object[i].image.src);
                       //----img.setAttribute("alt", item.object[i].image.alt);
                       //----br = document.createElement("br");
                       //----br.setAttribute("clear", "all");
                       if(typeof(item.object[i])!="undefined"){
                               if(typeof(item.object[i].callpath)!="undefined" && item.object[i].callpath != ""){
                                       a.setAttribute("href", "javascript:void(0);");
									   a.rel = item.object[i].callpath;
									   a.onclick = function(){
											this.rel = this.rel.replace("return false;","");
											eval(this.rel);
                  					   }
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                               }
                               a.appendChild(document.createTextNode(item.object[i].title));
                               h4.appendChild(a);
                               div.appendChild(h4);
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                               }
                               //----li[li.length-1].appendChild(img);
                               li[li.length-1].appendChild(div);
                               //----li[li.length-1].appendChild(br);
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
function createSeminars(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       a = document.createElement("a");
                       span = document.createElement("span");
                       if(typeof(item.object[i])!="undefined"){
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a.setAttribute("href", item.object[i].link);
                                       a.setAttribute("title", item.object[i].c_copy);
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                               }
                               a.appendChild(document.createTextNode(item.object[i].name));
                               span.appendChild(document.createTextNode(item.object[i].date));
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                                       li[li.length-1].className = "sem02";
                                       li[li.length-1].appendChild(span);
                                       li[li.length-1].appendChild(a);
                               }
                               else{
                                       li[li.length-1].className = "sem01";
                                       li[li.length-1].appendChild(span);
                                       li[li.length-1].appendChild(a);
                               }
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
function createPickup(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       a = document.createElement("a");
                       span = document.createElement("span");
                       if(typeof(item.object[i])!="undefined"){
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a.setAttribute("href", item.object[i].link);
                                       a.setAttribute("title", item.object[i].c_copy);
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                               }
                               a.appendChild(document.createTextNode(item.object[i].name));
                               span.appendChild(document.createTextNode(item.object[i].date));
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                                       li[li.length-1].className = "sem02";
                                       li[li.length-1].appendChild(span);
                                       li[li.length-1].appendChild(a);
                               }
                               else{
                                       li[li.length-1].className = "sem01";
                                       li[li.length-1].appendChild(span);
                                       li[li.length-1].appendChild(a);
                               }
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
function openRelated(o){
       li = o.parentNode.parentNode.parentNode.getElementsByTagName("li");
       img = document.createElement("img");
       for(var i=0;i<li.length;i++){
               if(li[i].style.display=="none"){
                       o.parentNode.className = "closemenu";
                       o.innerHTML="";
                       img.src = tsInit.CLOSE_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.CLOSE_TEXT;
                       
                       li[i].style.display="block";
               }
               else if(li[i].style.display=="block"){
                       o.parentNode.className = "openmenu";
                       o.innerHTML="";
                       img.src = tsInit.OPEN_ICON;
                       o.appendChild(img);
                       o.innerHTML+=tsInit.OPEN_TEXT;
                       li[i].style.display="none";
               }       
       }
}
function createRelated(item){
       var d=document.getElementById(item.id);
       li = [];
       if(d){
               for(var i=0;i<item.object.length;i++){
                       li[li.length] = document.createElement("li");
                       div = document.createElement("div");
                       div.className="item";
                       h4 = document.createElement("h4");
                       a = document.createElement("a");
                       a1 = document.createElement("a");
                       img = document.createElement("img");
                       img.setAttribute("src", item.object[i].image.src);
                       img.setAttribute("alt", item.object[i].image.alt);
                       br = document.createElement("br");
                       br.setAttribute("clear", "all");
                       var message = "";
                       var space = " ";
                       if(typeof(item.object[i].title)!="undefined") message+=item.object[i].title + space;
                       if(typeof(item.object[i].subTitle)!="undefined") message+=item.object[i].subTitle + space;
                       if(typeof(item.object[i].c_copy)!="undefined") message+=item.object[i].c_copy;
                       
                       if(typeof(item.object[i])!="undefined"){
                               
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a.setAttribute("href", item.object[i].link);
                                       //a.setAttribute("title", this.title);
                                       a.onmouseover = function(){
                                               //showToolTip(this.title);
                                       }
                               }
                               else{
                                       a.setAttribute("href", "javascript:void(0);");
                                       //a.setAttribute("title", message);
                                       a.onmouseover = function(){
                                               //showToolTip(this.title);
                                       }
                               }
                               if(typeof(item.object[i].link)!="undefined" && item.object[i].link != ""){
                                       a1.setAttribute("href", item.object[i].link);
                                       //a1.setAttribute("title", message);
                                       a1.onmouseover = function(){
                                               //showToolTip(this.title);
                                       }
                               }
                               else{
                                       a1.setAttribute("href", "javascript:void(0);");
                                       //a1.setAttribute("title", message);
                                       a1.onmouseover = function(){
                                               //showToolTip(this.title);
                                       }
                               }
                               a.appendChild(document.createTextNode(item.object[i].title));
                               h4.appendChild(a);
                               div.appendChild(h4);
                               if(item.object[i].flg==0){
                                       li[li.length-1].style.display="none";
                               }
                               if(typeof(item.object[i].image.src)!="undefined" || item.object[i].image.src != ""){
                                       a1.appendChild(img);
                                       li[li.length-1].appendChild(a1);
                                       li[li.length-1].appendChild(div);
                                       li[li.length-1].appendChild(br);
                               }
                       }
                       d.appendChild(li[li.length-1]);
               }
       }
}
//------for_tab_list
//------for_top
//-------end_of_for_top
function cv(id){
       var d = document.getElementById(id);
if(d){
       var dd = document.getElementById(id).parentNode.getElementsByTagName("li");
       for(var i=0;i<dd.length;i++){
               if(dd[i].getAttribute("id")){
                       if(id != dd[i].id){
                               dd[i].style.display="none";
                       }
                       else{
                               dd[i].style.display="block";
                       }
               }
       }
}
}

function cc(o,category){
       oo = o.parentNode.parentNode.getElementsByTagName("li");
       for(var i=0;i<oo.length;i++){
               if(oo[i].className == "select"){
                       oo[i].className = "";
               }
       }
       
       o.parentNode.className="select";
}
//------end_of_for_tab_list
queryParse = function (obj){
       if(typeof(obj)!="undefined"){
               var q=obj.split("&");
               var query=[];
               for(var i=0;i<q.length;i++){
                       var nv = q[i].split("=");
                       query[i]={"name":nv[0],"value":nv[1]};
               }
               return query;
       }
}
//ToolTip関数
var ToolTip = {
       _constractor:function(){
               ToolTip.create();
       },
       create:function(){
               var id = arguments[0];
               var div = ToolTip.element("div");
               div.id = "tooltips";
               div.style.cssText="display:none;";
               div.className="tooltip";
               var d = ToolTip.gid(id);
               if(d){
                       d.appendChild(div);
               }
               else{
                       document.body.appendChild(div);
               }
       },
       show:function(obj){
               var d = window.undefined;
               if(typeof obj!="undefined" && typeof obj.id != "undefined"){
                       d = ToolTip.gid(obj.id);
               }
               else{
                       d = ToolTip.gid("tooltips");
               }
               if(d){
                       d.style.display="block";
                       d.style.position="absolute";
                       d.style.left=(_Event.watch.array[0].current.x-5)+"px";
                       d.style.top=(_Event.watch.array[0].current.y)+"px";
                       if(typeof obj.message!="undefined") d.innerHTML= obj.message;
                       d.onmouseout=function(){
                               ToolTip.hide({d:this});
                       }
               }
       },
       hide:function(obj){
               var d = obj.d;
               if(typeof obj.timer=="undefined") obj.timer = 2000;
               d.onmouseout=function(){
                       d.style.display="none";
               }
               d.onclick=function(){
                       d.style.display="none";
               }
       },
       gid:function(id){return document.getElementById(id);},
       element:function(elem){return document.createElement(elem);}
};
var _Event = {
       _addEventList:function(obj){
               if(typeof obj.object == "undefined") obj.object=window;
               if(obj.object.addEventListener){ obj.object.addEventListener(obj.type, obj.func, false); }
               else{
                       if(obj.object.attachEvent){
                               obj.object.attachEvent('on' + obj.type, obj.func);
                       }
               }
       },
       _removeEventList:function(obj, type, func){
               if(window.removeEventListener){ obj.removeEventListener(type, func, false); }
               else{ if(window.detachEvent) obj.detachEvent('on' + type, func); }
       },
       load:function(obj){// (object) object:'HTML Element or Window Object', func:function(){}
               if(typeof obj.object == "undefined") obj.object = window;
               return _Event._addEventList({object:obj.object, type:"load", func:obj.func});
       },
       watch:{//イベント監視
               watcher:function(obj){
                       if(_Event.watch.array.length < _Event.watch.history){
                               _Event.watch.array.unshift(obj);
                       }
                       else{
                               _Event.watch.array.pop();
                               _Event.watch.array.unshift(obj);
                       }
               },
               array:[],
               history:10
       },
       position:{
               current:function(e){
                       if(document.all){
                               X=document.body.scrollLeft+event.clientX;
                               Y=document.body.scrollLeft+event.clientY;
                       }else{
                               X=e.pageX;
                               Y=e.pageY;
                       }
                       var pos={"x":X,"y":Y};
                       return pos;
               },
               offset:function(e){
                       if(document.all){
                               X=event.clientX;
                               Y=event.clientY;
                       }else{
                               X=e.layerX;
                               Y=e.layerY;
                       }
                       var pos={"x":X,"y":Y};
                       return pos;
               }
       }
};

document.onmousemove=function(e){
       var ev = (document.all) ? event : e;
       var target = (document.all) ? ev.srcElement.id : ev.target.id;
       var parent = (document.all) ? ev.srcElement.parentNode.id : ev.target.parentNode.id;
       var json={"offset":_Event.position.offset(ev),"current":_Event.position.current(ev),"target":target,"parent":parent,"location":""+self.location,"type":ev.type};
       _Event.watch.watcher(json);
};
_Event.load({object:window, func:function(){
               ToolTip.create();
       }
});
//ToolTip - 表示関数
function showToolTip(message){
       ToolTip.show({message:message});
}
function hiddenBtn(id){
	var d = document.getElementById(id);
	var path = ""+document.domain;
	var domain = "taisin-net.com";
	if(d){
		if( path.indexOf(domain)==-1 ){//domain変数の内容
			d.style.display="none";
		}
	}
}
window.onload=function(){
       if(typeof(ts)!="undefined"){
               for(i in ts){
                       createSubMenu(ts[i]);
               }
       }
       if(typeof(bn)!="undefined"){
               for(i in bn){
                       createBackNum(bn[i]);
               }
       }
       if(typeof(catalog)!="undefined"){       
               for(i in catalog){
                       createCatalog(catalog[i]);
               }
       }
       if(typeof(sm)!="undefined"){
               for(i in sm){
                       createSeminars(sm[i]);
               }
       }
       if(typeof(pickup)!="undefined"){
               for(i in pickup){
                       createSeminars(pickup[i]);
               }
       }
       if(typeof(related)!="undefined"){
               for(i in related){
                       createRelated(related[i]);
               }
       }
       dispDate();
       dispPrintDialog();
       cv('c0');
       if(typeof(queryParse())!="undefined"){
               var q = queryParse();
               for(var i=0;i<q.length;i++){
                       if(q[i].name == "id"){
                               if(document.getElementById(q[i].value)) document.getElementById(q[i].value).className="select";
                       }
               }
       }
       SetCookieBody( GetCookie(ckName) );
       if(typeof bid == "undefined"){bid="test";}
       hiddenBtn(bid);
}