/*--

	Live!Ads Decoration Pattern 23

============================================================================== */
if(navigator.platform.indexOf("Win") < 0 && navigator.appName.indexOf("Internet") >= 0){//Mac IE
}else{
	var _Liveads_Decoration_Par = {
		height:"380",			//高さ(px)
		top_Margin:"139",		//上からの位置(px)
		img_Size:"120",			//画像サイズ(px)
		img_Bottom:"20",		//画像下マージン(px)
		text_Size:"10",			//テキストサイズ(px)
		text_Lineheight:"15",		//テキストの行間(px)
		text_Textalign:"left",		//テキストの位置
		text_Color:"734e00",		//テキスト色
		text_Bottom:"17",		//テキスト下マージン(px)
		price_Size:"10",		//価格サイズ(px)
		price_Lineheight:"10",		//価格の行間(px)
		price_Textalign:"center",	//価格の位置
		price_Color:"734e00",		//価格色
		price_Weight:"normal",		//価格の太さ
		price_Bottom:"15",		//価格下マージン(px)
		current_Color:"ffffff",		//カレントの色
		cop_Color:"734e00"		//コピーライトの色
	};
	
	//ディレクトリパス
	var Srcpath = "decoration/23";
	//SID
	var SID = "701023";
	
//===============================================================================
	
	var _Liveads_Src = 'http://www2.liveads.jp/widgets_src/index.php?';
	
	while(_LiveAds_Decoration_Data.keyword.indexOf("&#") >= 0){
		var char_code = _LiveAds_Decoration_Data.keyword.substring(_LiveAds_Decoration_Data.keyword.indexOf("&#") + 2,_LiveAds_Decoration_Data.keyword.indexOf(";"));
		var Reg = new RegExp("&#" + char_code + ";","gi");
		_LiveAds_Decoration_Data.keyword = _LiveAds_Decoration_Data.keyword.replace(Reg,String.fromCharCode(char_code));
	}
	_LiveAds_Decoration_Data.keyword = encodeURIComponent(_LiveAds_Decoration_Data.keyword);
	
	for(var i in _LiveAds_Decoration_Data){
		_Liveads_Src += i + '=' + _LiveAds_Decoration_Data[i] + '&';
	}
	for(var x in _Liveads_Decoration_Par){
		_Liveads_Src += x + '=' + _Liveads_Decoration_Par[x] + '&';
	}
	_Liveads_Src +='srcpath=' + encodeURIComponent(Srcpath);
	_Liveads_Src +='&sid=' + SID;
	
	
	
	if(!_LiveAds_Decoration_Count){
		var _LiveAds_Decoration_Count = 0;
	}
	var _LiveAds_Iframe ='<iframe allowtransparency="true" id="_LiveAds_Decoration_Count_'+ _LiveAds_Decoration_Count + '" width="160" src="' + _Liveads_Src + '" height="' + (eval(_Liveads_Decoration_Par.height) + 25) + '" scrolling="no" marginheight="0" frameborder="0" hspace="0" vspace="0" style="margin:0px; width:160px;"></iframe>';
	document.write(_LiveAds_Iframe);
	
	
	function _LiveAds_Decoration_iframe(id,src){
		var oldonload = window.onload;
		if (typeof window.onload != 'function') {
			window.onload = function(){
				document.getElementById(id).src = src;
			}
		}else {
			window.onload = function() {
				document.getElementById(id).src = src;
				oldonload();
			}
		}
	}
	
	//_LiveAds_Decoration_iframe("_LiveAds_Decoration_Count_"+ _LiveAds_Decoration_Count,_Liveads_Src);
	
	_LiveAds_Decoration_Count++;
}
