function DrawHeader(strPageName) { var strTitlePics = 'title.gif'; if (strPageName == 'regist2') strTitlePics = 'title2.gif'; if(strPageName== 'trial') strTitlePics='titletrial.gif' document.open(); document.write(''); document.write(''); document.write(''); document.write('
F.I.T 総合支援システム 
'); document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write(''); //document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write(''); document.write('
'); if (strPageName == 'aboutskyglobe') document.write('SkyGlobeについて | '); else document.write('SkyGlobeについて | '); if (strPageName == 'jirei') document.write('導入事例 | '); else document.write('導入事例 | '); /* if (strPageName == 'trial') document.write('無料体験 | '); else document.write('無料体験 | '); document.write('無料体験 | '); if (strPageName == 'regist') document.write('お申込み | '); else document.write('お申込み | '); */ if (strPageName == 'condition') document.write('動作環境 | '); else document.write('動作環境 | '); if (strPageName == 'contact') document.write('お問い合わせ | '); else document.write('お問い合わせ | '); if (strPageName == 'news') document.write('お知らせ一覧 | '); else document.write('お知らせ一覧 | '); /* if (strPageName == 'trial') document.write('体験版 | '); else // document.write('体験版 | '); document.write('体験版 | '); */ /* document.write('運営会社 | '); if (strPageName == 'secure') document.write('セキュリティーポリシー | '); else document.write('セキュリティーポリシー | '); */ document.write('TOP'); document.write('
'); document.write('
'); document.write('
'); document.close(); } function DrawFooter(strPageName) { document.open(); document.write(' '); document.write(''); //if( strPageName == 'regist' || strPageName == 'trialregist' ) //{ document.write(''); //} // document.write('
'); // document.write('△運用会社'); document.write('△運用会社'); document.write('  '); document.write('△個人情報保護方針'); document.write('  '); document.write('△セキュリティポリシー'); document.write('  '); document.write('△サイトポリシー'); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
Copyright (C) 2004 AGENDA Co., Ltd. All rights reserved.'); document.write(''); document.write(''); document.write(''); document.write('
'); document.close(); } function GoHome() { location.href = GetRootURL(); } function GetRootURL() { return "http://" + location.host + GetRootPath(); } function GetHostRoot() { var strHostRoot = location.host; return strHostRoot; } // 今後はこの関数を使わず、直接 location.host を使ってください。 function GetRootPath() { return "/"; } // もしサブフォルダをルートにしたい場合ここを変更する。 // 合わせて DrawHeader(), DrawFooter() の実装も調整する必要あり。 function GetPathDirectoryPos(strPath) { var pos = strPath.lastIndexOf("\\"); if (pos < 0) { pos = strPath.lastIndexOf("/"); } return pos; } function GetPathDirectory(strPath) { var pos = GetPathDirectoryPos(strPath); pos = (pos >= 0) ? pos += 1 : 0; var strDirectory = strPath.substr(0, pos); return strDirectory; } function GetPathFileName(strPath) { var pos = GetPathDirectoryPos(strPath); pos = (pos >= 0) ? pos += 1 : 0; var strFileName = strPath.substr(pos); return strFileName; } function ModifyHrefById(strId, strUrl) { if (element) { element.href = strUrl; } } function ModifyHrefByClass(strClass, strUrl) { var elements = document.getElementsByClassName(strClass); if (elements) { for (var i = 0; i < elements.length; i++) { elements[i].href = strUrl; } } } function MakeUrl(strProto, strHost, strPathOrDir, strFile) { var strUrl = ""; var strPath = ""; // プロトコル指定 // ※空文字列は未指定と見なす if (strProto) { if (!CanUseSSL()) { if (strProto == 'https:') { strProto = 'http:'; } } // strUrl = strProto; } // ホスト指定 // ※空文字列は未指定と見なす if (strHost) { if (strHost.substr(0, 2) != '//') { strUrl += '//'; } strUrl += strHost; } // パス指定 strPath = strPathOrDir; // ファイル指定があればディレクトリ指定と仮定 // ※空文字列は未指定と見なす if (strFile) { // ディレクトリ末尾にセパレータが無ければ補足 if (strPath.slice(-1) != "/") { strPath += "/"; } // ファイル名を追加 strPath += strFile; } strUrl += strPath; return strUrl; } function CanUseSSL() { return true; }