﻿var url = document.URL;

var str = navigator.userAgent.toUpperCase();
var appN  = navigator.appName.toUpperCase();
var userA = navigator.userAgent.toUpperCase();
var png;
if(str.indexOf("WIN") >= 0){
	if (userA.indexOf("ICAB") >= 0){
	}else if (appN.indexOf("NETSCAPE") >= 0){
	}else if (appN.indexOf("MICROSOFT") >= 0) {
		if (window.opera) {
		}else{
			png = 1;
		}
	}
}


function header( bgcolor , color , logo )
{
	document.write("<table width='100%' height='42' border='0' cellpadding='0' cellspacing='0' bgcolor='"+bgcolor+"'>");
	document.write("<tr>");
	document.write("<td valign='middle'><div align='left' style='padding-left:7px'><a href='http://www.yoshimoto.co.jp/' target='_top'>");
						 
	if(png){
	document.write("<img src='http://www.yoshimoto.co.jp/img/_spacer.gif' width='240' height='28' border='0'  style=filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.yoshimoto.co.jp/img/common_logo_"+logo+".png',sizingMethod='scale');>");
	}else{
	document.write("<img src='http://www.yoshimoto.co.jp/img/common_logo_"+logo+".png' width='240' height='28' border='0' />");
	}
							 
	document.write("</a></div></td>");
	document.write("<td><div align='right' style='color:"+color+"; font-size:11px; line-height:18px; padding-right:7px'><a href='http://yoshimoto-hotnews.laff.jp/kouhou/' target='_top' style='color:"+color+"'>よしもとホットニュース</a>│<a href='http://tomonokai.yoshimoto.co.jp/' target='_top' style='color:"+color+"'>メルマガに登録！</a>│<a href='http://www.fandango.co.jp/talent_prf/action/TalentProfilePCCallAction' target='_top' style='color:"+color+"'>タレントプロフィール</a><br />");
	document.write("<a href='http://www.oimf.jp/jp/program/cm.php' target='_blank' style='color:"+color+"'>Laugh＆PeaceなオリジナルCM募集中！賞金はなんと100万円！沖縄国際映画祭CMコンペティション！</a></div></td>");
	document.write("</tr>");
	document.write("</table>");
}

function footer( bgcolor , color , logo ){
	document.write("<table width='100%' border='0' align='center' cellpadding='0' cellspacing='14' bgcolor='"+bgcolor+"'>");
	document.write("<tr>");
	document.write("<td colspan='2' align='center' style='color:"+color+"; font-size:12px; line-height:20px'><a href='http://tomonokai.yoshimoto.co.jp/' target='_top' style='color:"+color+"'>よしもと友の会</a> │ <a href='http://www.laff.jp/' target='_top' style='color:"+color+"'>芸人ブログ</a> │ <a href='http://yoshimoto.yahoo.co.jp/' target='_blank' style='color:"+color+"'> 吉本のお笑い動画</a> │ <a href='http://yoshimotoclub.co.jp/' target='_blank' style='color:"+color+"'> 吉本グッズ</a> │ <a href='http://www.randc.jp/' target='_top' style='color:"+color+"'> お笑いDVD＆CD</a> │ <a href='http://www.warau-senior.com/' target='_top' style='color:"+color+"'> 笑うシニア</a> │ <a href='http://www.syumatsu.jp/' target='_top' style='color:"+color+"'>週末よしもと</a> │ <a href='http://yoshimoto.fc.yahoo.co.jp/' target='_blank' style='color:"+color+"'> よしもと見ホーダイ</a> <br />");
	document.write("<a href='http://www.yoshimoto.co.jp/ngk/' target='_top' style='color:"+color+"'>なんばグランド花月</a> │ <a href='http://www.yoshimoto.co.jp/base/' target='_top' style='color:"+color+"'> baseよしもと</a> │ <a href='http://www.yoshimoto.co.jp/kyobashi/' target='_top' style='color:"+color+"'> 京橋花月</a> │ <a href='http://www.yoshimoto.co.jp/ypt/' target='_top' style='color:"+color+"'> よしもとプリンスシアター</a> │ <a href='http://www.fandango.co.jp/lumine/' target='_top' style='color:"+color+"'> ルミネtheよしもと</a> │ <a href='http://www.fandango.co.jp/asakusa/' target='_top' style='color:"+color+"'> 浅草花月</a> │ <a href='http://www.fandango.co.jp/jimbocho/' target='_top' style='color:"+color+"'>神保町花月</a> │ <a href='http://www.y-mg.jp/mugendai/' target='_top' style='color:"+color+"'> ヨシモト∞ホール</a> │ <a href='http://www.yoshimoto.co.jp/mugendai-osaka/' target='_top' style='color:"+color+"'>ヨシモト∞ホールOSAKA</a><br />");
	document.write("<a href='http://www.oimf.jp/' target='_blank' style='color:"+color+"'>沖縄国際映画祭</a> │ <a href='http://www.livestand.jp/' target='_blank' style='color:"+color+"'>史上最大のお笑いフェスLIVE STAND</a> │ <a href='http://www.omoshirosuizokukan.com/' target='_top' style='color:"+color+"'> おもしろ水族館</a> │ <a href='http://www.asoberusuizokukan.com/' target='_blank' style='color:"+color+"'>あそべる水族館</a><br />");
	document.write("<a href='http://ycc.yoshimoto.co.jp/' target='_top'style='color:"+color+"'>よしもとクリエイティブカレッジ</a> │ <a href='http://www.fandango.co.jp/tokyo_nsc/' target='_top' style='color:"+color+"'> NSC・東京</a> │ <a href='http://www.yoshimoto.co.jp/nsc/' target='_top' style='color:"+color+"'> NSC・大阪</a> │ <a href='http://www.yoshimoto.co.jp/ysm/' target='_top' style='color:"+color+"'> よしもとスタッフ・マネジメント</a> <br />");
	document.write("<a href='http://www.yoshimoto.co.jp/shinkigeki/' target='_top'style='color:"+color+"'>吉本新喜劇</a> │ <a href='http://www.yoshimoto.co.jp/kobekagetsu/' target='_top'style='color:"+color+"'>神戸花月</a> │ <a href='http://www.yoshimoto.co.jp/omakase/' target='_top' style='color:"+color+"'> よしもと芸人おとりよせカタログ</a> │ <a href='http://www.yoshimoto.co.jp/dantai/' target='_top' style='color:"+color+"'> 団体客受付</a> │ <a href='http://www.yoshimoto.co.jp/sports/' target='_top' style='color:"+color+"'> スポーツマネージメント</a> │ <a href='http://www.yoshimoto.co.jp/mandc/' target='_top' style='color:"+color+"'>音楽マネジメントセクション</a> │ <a href='http://yoshimoto.gnavi.co.jp/' target='_top' style='color:"+color+"'> よしもとぐるなび</a> <br />");
	document.write("<a href='http://www.fandango.co.jp/nagoya/' target='_top'style='color:"+color+"'>東海支社</a> │ <a href='http://www.yoshimoto.co.jp/hiroshima/' target='_top' style='color:"+color+"'> 広島吉本</a> │ <a href='http://www.yoshimoto.co.jp/fukuoka/' target='_top' style='color:"+color+"'> 福岡吉本</a> │ <a href='http://www.yoshimoto.co.jp/sapporo/' target='_top' style='color:"+color+"'> 札幌吉本</a> <br />");
	document.write("<a href='http://www.m-1gp.com/' target='_top' style='color:"+color+"'>M-1グランプリ</a> │ <a href='http://www.r-1gp.com/' target='_top' style='color:"+color+"'> R-1ぐらんぷり</a> │ <a href='http://www.king-of-conte.com/' target='_top' style='color:"+color+"'> キングオブコント</a> │ <a href='http://www.d-kan.net/' target='_blank' style='color:"+color+"'> ダイナマイト関西</a> │ <a href='http://www.yoshimoto.co.jp/owarai-k/' target='_top' style='color:"+color+"'> ハイスクールマンザイ</a> │ <a href='http://www.yoshimoto.co.jp/mu-more_yoshimoto/' target='_top' style='color:"+color+"'>タレント発掘オーディション ミューモアヨシモト</a><br />");
	document.write("<a href='http://www.yoshimoto.co.jp/gakuensai/' style='color:"+color+"'> よしもと学園祭</a> │ <a href='http://www.yoshimoto.co.jp/shinkigeki50/' style='color:"+color+"'> 吉本新喜劇発足50周年</a><br />");
	document.write("<a href='http://www.yoshimoto.co.jp/profile/' target='_top' style='color:"+color+"'>書籍版\"よしもとタレントプロフィール\"をご利用の皆様へ</a></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td align='center'>");
	
	if(png){
	document.write("<img src='http://118.67.81.135/img/_spacer.gif' width='160' height='9' alt='COPYRIGHT c YOSHIMOTO KOGYO' style=filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://118.67.81.135/img/common_copy_"+logo+".png',sizingMethod='scale');>");
	}else{
	document.write("<img src='http://118.67.81.135/img/common_copy_"+logo+".png' width='160' height='9' alt='COPYRIGHT c YOSHIMOTO KOGYO'/>");
	}
	
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
}
