var SMFua = navigator.userAgent;
if (SMFua.indexOf("Mac") && SMFua.match("(MSIE)([^0-9a-zA-Z]){1}(5)")) {
	document.write("[<a href='http://mf1.shinobi.jp/stat/1d0a30fe43afda577b954e0a7d76165e/DESK.js' target='_blank'>NINJA_MAILFORM</a>]<br>");
} else {
	if (!SMFS_error){var SMFS_error = '';}
	if (!SMF_arr){var SMF_arr=new Object();}
	if (!SMFStyle_arr){var SMFStyle_arr=new Object();}
	if (!SMFSubmit_arr){var SMFSubmit_arr=new Object();}
	
	var SMFTemplate_name = encodeURI("DESK");
	
	if ((SMFS_error = "")) {
		SMFError_message(SMFS_error);
	} else if (SMF_arr[SMFTemplate_name]) {
		SMFError_message('『DESK』が重複しています。<br>');
	} else {
		SMF_arr[SMFTemplate_name] = "<div><div class='name_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='name_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='nac' value='na'>[NAME／名前]</div><div class='name_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='na' style='width:250px;font-size:12px;' value='' class='name_parts'></div><BR clear='all'></div><div class='text_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='text_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[NAME／フリガナ]</div><div class='text_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='te' style='width:250px;font-size:12px;' value='' class='text_parts'></div><BR clear='all'></div><div class='sex_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='sex_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[SEX／性別]</div><div class='sex_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><select name='se' class='sex_parts'><option value='男性'>男性<option value='女性'>女性</select></div><BR clear='all'></div><div class='age_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='age_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[AGE／年齢]</div><div class='age_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ag' style='width:50px;' class='age_parts'>歳</div><BR clear='all'></div><div class='mail_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='mail_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='mac' value='ma'>[MAIL／メールアドレス]</div><div class='mail_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ma' style='width:250px;font-size:12px;' value='' class='mail_parts'></div><BR clear='all'></div><div class='url_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='url_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[URL／HPアドレス]</div><div class='url_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ul' style='width:250px;font-size:12px;' value='http://' class='url_parts'></div><BR clear='all'></div><div class='address_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='address_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[ADDRESS／宛先（御祈紲那 or 明日香 or 連名）]</div><div class='address_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ad' style='width:250px;font-size:12px;' value='' class='address_parts'></div><BR clear='all'></div><div class='title_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='title_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[TITLE／題名]</div><div class='title_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ti' style='width:250px;font-size:12px;' value='' class='title_parts'></div><BR clear='all'></div><div class='textarea_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='textarea_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='tac' value='ta'>[MESSAGE／本文]</div><div class='textarea_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><textarea cols='60' rows='15' style='font-size:12px;' name='ta' class='textarea_parts'></textarea></div><BR clear='all'></div><div class='answer_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='answer_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='anc' value='an'>[ANSWER／返信の有無]</div><div class='answer_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><select name='an' class='answer_parts'><option value='任意'>任意<option value='必要'>必要<option value='不要'>不要<option value='至急'>至急</select></div><BR clear='all'></div><div class='submit' id='DESK_submit' style='text-align:center;'><!--submit_button_top--><input class='submit_button' type='button' value='送信' name='submit' onclick=soushin('1d0a30fe43afda577b954e0a7d76165e','DESK'); ><!--submit_button_end--></div></div>";
		SMFStyle_arr[SMFTemplate_name] = "font-size:11px;font-family:ＭＳ 明朝,Osaka,serif;text-align:center;width:100%;margin:3px 3px 3px 0px;clear:both;";
		SMFSubmit_arr[SMFTemplate_name] = "text-align:center;";
		SMFmailform_exist();
		if(!insertSMFCSS('http://mf1.shinobi.jp/mailform/skin_css/0_plain.css'))
			alert("F:CSS:0:plain");
	}
}

function SMFmailform_exist() {
	document.write("<div id=DESK_top style='width:600px;'><!--skin_explain_top--><div class='explain' style='color:gray;font-size:11px;font-family:ＭＳ ゴシック,Osaka,sans-serif;text-align:left;padding-top:8px;padding-left:8px;padding-right:8px;padding-bottom:8px;margin-top:8px;margin-left:8px;margin-right:8px;margin-bottom:8px;'><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">キリ番報告（</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">NICE ROUND NUMBER or SERIAL NUMBER</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">）<BR><br>リンク切れ報告等が御座居ましたら、此方より御報告下さい</FONT></P><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">※キリ番についての説明は → <A href=\"NUMBER.htm\" target=\"_self\"><FONT size=\"1\" color=\"#FFFFFF\" face=\"ＭＳ ゴシック\">コチラ</FONT></A></P><BR><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">また、当サイトへリンクを貼って下さるという希少な方が居られましたら、リンクを貼って下さる御自身のサイト</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">URL</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">を<BR><br>[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">URL</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">HP</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">アドレス]に御記入頂いた上で御報告頂けましたら至極幸いです</FONT><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\"><BR>後程、小躍りしつつ伺わせて頂きたいと思います</FONT></P><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\"><BR>感想や御意見等、併せて賜れれば幸いですが、返信は非常に遅くなる事を、予め御了承下さい<BR><br></FONT></P><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">もし</FONT><FONT size=\"1\" color=\"#FFFFFF\" face=\"ＭＳ ゴシック\">『例え</FONT><FONT size=\"1\" color=\"#FFFFFF\" face=\"Verdana\">1</FONT><FONT size=\"1\" color=\"#FFFFFF\" face=\"ＭＳ ゴシック\">ヶ月単位で待つ事になっても構わない』</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">位の覚悟で、如何しても返信が欲しいと思われる奇特な方が居ましたら<BR><br>最後尾の[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">ANSWER</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／返信の有無]で『必要』又は『至急』を選択し、返信を要する理由をメール本文に御書き頂いた後、<BR><BR>実際に</FONT><FONT size=\"1\" face=\"Verdana\">1</FONT><FONT size=\"1\" face=\"ＭＳ ゴシック\">ヶ月待つ覚悟で御待ち下さい</FONT><BR><BR><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">当サイトの管理人は、致命的な迄の筆不精者ナノデス</FONT><BR><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">ドウゾ其の点を御理解下さいませ</FONT></P><br><P><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\"></FONT><FONT size=\"1\" color=\"#FFFFFF\" face=\"ＭＳ ゴシック\">　※尚、[＊]の付いている項目は全て必須記入項目ですので、必ず記入して下さい</FONT><BR><br><FONT size=\"1\" color=\"#FFFFFF\" face=\"ＭＳ ゴシック\">　　記入されていない場合、送信されません</FONT></P><P><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">　[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">NAME</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／フリガナ]・[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">SEX</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／性別]・[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">AGE</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／年齢]・[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">URL</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">HP</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">アドレス]・[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">ADDRESS</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\"></FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">宛先]・[</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"Verdana\">TITLE</FONT><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">／題名]<BR><br>　此の六項目への記入・選択は任意で結構です</FONT></P><br><FONT size=\"1\" color=\"#C0C0C0\" face=\"ＭＳ ゴシック\">　個人的に、フリガナは記入して頂けると至極有難いですが（御名前は正確に御読みしたいので）<BR><br><BR><br></FONT></div><!--skin_explain_end--><div class='main' style='border:dotted 3px gray;padding-top:8px;padding-left:8px;padding-right:8px;padding-bottom:8px;margin-top:8px;margin-left:8px;margin-right:8px;margin-bottom:8px;font-size:11px;font-family:ＭＳ 明朝,Osaka,serif;text-align:center;width:600;'><!--old_browser--><form id='DESK'><!--old_browser--><!--skin_html_tmp_top--><div><div class='name_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='name_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='nac' value='na'>[NAME／名前]</div><div class='name_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='na' style='width:250px;font-size:12px;' value='' class='name_parts'></div><BR clear='all'></div><div class='text_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='text_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[NAME／フリガナ]</div><div class='text_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='te' style='width:250px;font-size:12px;' value='' class='text_parts'></div><BR clear='all'></div><div class='sex_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='sex_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[SEX／性別]</div><div class='sex_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><select name='se' class='sex_parts'><option value='男性'>男性<option value='女性'>女性</select></div><BR clear='all'></div><div class='age_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='age_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[AGE／年齢]</div><div class='age_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ag' style='width:50px;' class='age_parts'>歳</div><BR clear='all'></div><div class='mail_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='mail_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='mac' value='ma'>[MAIL／メールアドレス]</div><div class='mail_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ma' style='width:250px;font-size:12px;' value='' class='mail_parts'></div><BR clear='all'></div><div class='url_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='url_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[URL／HPアドレス]</div><div class='url_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ul' style='width:250px;font-size:12px;' value='http://' class='url_parts'></div><BR clear='all'></div><div class='address_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='address_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[ADDRESS／宛先（御祈紲那 or 明日香 or 連名）]</div><div class='address_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ad' style='width:250px;font-size:12px;' value='' class='address_parts'></div><BR clear='all'></div><div class='title_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='title_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>[TITLE／題名]</div><div class='title_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><input type='text' name='ti' style='width:250px;font-size:12px;' value='' class='title_parts'></div><BR clear='all'></div><div class='textarea_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='textarea_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='tac' value='ta'>[MESSAGE／本文]</div><div class='textarea_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><textarea cols='60' rows='15' style='font-size:12px;' name='ta' class='textarea_parts'></textarea></div><BR clear='all'></div><div class='answer_top' style='width:100%;margin:3px 3px 3px 0px;clear:both;'><div class='answer_left' style='color:gray;width:600px;padding:2px 5px;text-align:text-align:center;;width:590px;'>*<input type='hidden' name='anc' value='an'>[ANSWER／返信の有無]</div><div class='answer_right' style='width:600px;padding:0px 5px;text-align:text-align:center;;width:590px;'><select name='an' class='answer_parts'><option value='任意'>任意<option value='必要'>必要<option value='不要'>不要<option value='至急'>至急</select></div><BR clear='all'></div><div class='submit' id='DESK_submit' style='text-align:center;'><!--submit_button_top--><input class='submit_button' type='button' value='送信' name='submit' onclick=soushin('1d0a30fe43afda577b954e0a7d76165e','DESK'); ><!--submit_button_end--></div></div><!--skin_html_tmp_end--></form></div><div id='shinobi_jp_text' style='font-size:10px;height:15px;text-align:left;width:150px;'>Powered by <a href='http://www.ninja.co.jp/' target='_blank'>NINJA TOOLS</a></div></div>");
	document.write("<scr" + "ipt defer id='DESK_dynld' type='text/javascript' src='http://mf1.shinobi.jp/mf_post.js' charset='utf-8'></scr" + "ipt>");
	SMFhooter();
}

function SMFError_message(SMFError_mes) {
	document.write("<p style='font-size:12px;'>" + SMFError_mes + "</p>");
	SMFS_error = '';
}

function SMFhooter() {
	var SMFtext = document.getElementById('SMFkkk');
	if (SMFtext) {
		var SMFfooter = document.getElementById('shinobi_jp_text');
		SMFtext.id = 'shinobi_jp_text';
		SMFtext.style.textAlign = SMFfooter.style.textAlign;
		SMFtext.style.fontSize = SMFfooter.style.fontSize;
		SMFtext.style.width = SMFfooter.style.width;
		SMFtext.style.height = SMFfooter.style.height;
//		SMFtext.style.paddingRight = SMFfooter.style.paddingRight;
		SMFfooter.parentNode.replaceChild(SMFtext,SMFfooter);
	}
}

function insertSMFCSS(url) {
	var na = navigator.userAgent;
	if (!url) {
		return false;
	} else if (document.all && !window.opera) {
		document.createStyleSheet(url);
	} else if (document.styleSheets || window.opera) {
		var SMFLink = document.createElement('LINK');
		SMFLink.rel = "StyleSheet";
		SMFLink.type = "text/css";
		SMFLink.href = url;
		
		var SMFHead = document.getElementsByTagName('HEAD').item(0);
		SMFHead.appendChild(SMFLink);
	} else {
		return false;
	}
	return true;
}
