﻿// JavaScript Document

jQuery(document).ready( function() {
	
	
	
/*	
jQuery("#font-control p .s0").css("background-color","rgb(107,86,109)");
jQuery("#font-control p .s0").css("color","#fff");
*/
	
	
		//==========================================================
		//　textresizer設定
		//==========================================================
			//start 0
			/*jQuery( "#font-control a" ).textresizer({
				target: "font-control p .s0",
				type: "css",
				sizes: [
					{ "background-color"  : "rgb(107,86,109)",
					  "color"      : "#fff"
					},
					{ "background-color"  : "#fff",
					  "color"      : "#333"
					},
					{ "background-color"  : "#fff",
					  "color"      : "#333"
					}
				]
			});*/
			//start 1
//テキスト関連のクラスを追加			
/*var Style_TKcode_Txt = "#all #contents h2,#all #contents h3,#all #contents h4,#all #contents p,#all #contents span,#all #contents td,#all #contents th,#all #contents li,#contents .breadCrumb,#contents .breadCrumb a,#contents #top_News .BackNum a,#contents a,#contents p a,#contents td a,#contents #top_News table tr .News_summary a";
*/

var Style_TKcode_Txt = "#all #contents h2,#all #contents h3,#all #contents h4,#all #contents p,#all #contents td,#all #contents th,#all #contents li,#all #contents span,#all #contents a,#all #contents strong,#all #contents font";
var Style_TKcode_Link = "#all #contents span,#all #contents a";


			jQuery( "#font-control a" ).textresizer({
				target: Style_TKcode_Txt,
				type: "css",
				sizes: [
					{ "font-size"  : "",
					  "line-height": "",
					  "color"      : "",
					  "margin-bottom":""
					},
					{ "font-size"  : "15px",
					  "line-height": "24px",
  					  "color"      : "",
  					  "margin-bottom":"1em"
					},
					{ "font-size"  : "19px",
					  "line-height": "29px",
					  "color"      : "#000",
					  "margin-bottom":"1em"

					}
					],
					selectedIndex: 0 //デフォルトの指定
			});
			//start 2
			jQuery( "#font-control a" ).textresizer({
				target: Style_TKcode_Link,
				type: "css",
				sizes: [
					{ "font-size"  : "",
    				  "line-height": "",
					  "color"      : "",
					  "text-decoration":""
					},
					{ "font-size"  : "110px",
					  "line-height": "24px",
					  "color": "#000",
					  "text-decoration":""
					},
					{ "font-size"  : "19px",
					 "line-height" : "29px",
                     "color"      : "#00F",
					 "text-decoration":"underline"
					}
				],

			});
			//start 3
			jQuery( "#font-control a" ).textresizer({
				target: "#sideBar #glnv a,#adress p",
				type: "css",
				sizes: [
					{ "font-size"  : "",
    				  "line-height": "",
					  "color"      : "",
					  "text-decoration":""
					},
					{ "font-size"  : "15px",
					  "line-height": "",
					  "color": "#000",
					  "text-decoration":""
					},
					{ "font-size"  : "17px",
	            	  "line-height": "",
					  "color"      : "#00F",
					  "text-decoration":"underline"
					}
				]
			});
					//start 4
			jQuery( "#font-control a" ).textresizer({
				target: "#footer .footMenu",
				type: "css",
				sizes: [
					{ "font-size"  : "",
    				  "line-height": "",
					  "color"      : "",
					  "text-decoration":""
					},
					{ "font-size"  : "15px",
					  "line-height": "20px",
					  "color": "#000",
					  "text-decoration":""
					},
					{ "font-size"  : "17px",
					 "line-height" : "25px",
                     "color"      : "#000",
					 "text-decoration":""
					}
				]
			});
			
			

				
				
				
			
		//all end
		});
