/**
 * @author DELL
 */
var ysDefine = {
	url: 'http://' + location.host + '/wp-content/themes/',
	themes: 'sports',
	themes_url: null,
	bullet_images: null,
	body_background_color: '#fff',
	
	//widget デザイン
	widgettitle_bgcolor:'#b22222', //Green
	widgettitle_color:'#fff', //White
	widgettitle_font:'13px', //Font_size
	widgettitle_img:	'bullet227.gif',

	contentstitle_bgcolor:'#ffd700', //gold
	contentstitle_color:'#ff0000', //red
	
	extend_css : function() {
	
		this.themes_url = this.url + this.themes;
		this.bullet_images = this.themes_url + '/images/bullet/';
		this.widgettitle_img = this.bullet_images + this.widgettitle_img;
		
		$('body').css("background-color",this.body_background_color);	
		//widget デザイン
		var sidebar_title = $('.widgettitle','#sidebar,#sidebar2');
		sidebar_title.css("background-color",this.widgettitle_bgcolor);	
		sidebar_title.css("color",this.widgettitle_color);	
		sidebar_title.css("font-size",this.widgettitle_font);
		sidebar_title.css("height","25px");
		sidebar_title.css("padding-left","35px");
		sidebar_title.css("padding-top","7px");
		sidebar_title.css("padding-bottom","0px");
		sidebar_title.css("background-image","url(" + this.widgettitle_img + ")");
		sidebar_title.css("background-repeat","no-repeat");
		sidebar_title.css("margin-bottom","7px");

		var center_title = $('.widgettitle','#foot-banner,#banner');
		center_title.css("background-color",this.contentstitle_bgcolor);	
		center_title.css("color",this.contentstitle_color);	
		center_title.css("font-size",14);
		center_title.css("font-weight","bold");
		center_title.css("height","25px");
		center_title.css("border","2px solid #a0522d");
		center_title.css("padding-top","7px");
		center_title.css("padding-bottom","0px");
		center_title.css("margin-bottom","7px");

	}
}
