/*
	GlobSeal.js
	Copyright(c) 2008 FICC inc. All rights reserved.
*/

function publishBlogSealCode(){
	var timestamp = getUnixTimeStamp();
	var random = Math.round(Math.random() * 100000);
	var uniqueParam = timestamp + '_' + random;
	var blogSealSourceCode = '<div style="margin:0; padding:0; width:350px; background:#FFFFFF; color:#4F5958; font-size: 12px; line-height:180%;"><div style="margin:0; padding:0; font-size:0px;"><a href="http://www.lancome-paris.jp/" title="ランコム ローズ マガジン" target="_blank" style="text-decoration:none;"><img src="http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_rosemagazine.jpg" width="350" height="50" alt="ランコム ローズ マガジン" style="border:none; vertical-align:top;" /></a><br /><a href="http://www.lancome-paris.jp/products/maquiliquide/index.html" title="毛穴に負けないクリームファンデーション「マキリキッド UV アンフィニテ」がランコムから新登場。" target="_blank" style="text-decoration:none;"><img src="http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_header.jpg" width="350" height="318" alt="あまりの軽さに息をのむ。崩れない透明感、ずっと。 MAQUILIQUIDE UV INFINITE [マキリキッド UV アンフィニテ] 2009年3月13日(金)新発売 SPF20/PA++ 全6色 5,755円 (税込)" style="border:none; vertical-align:top;" /></a><br /></div><div style="padding:10px 8px 5px; border:1px solid #E8EAE9;"><img src="http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_title01.gif" width="310" height="37" alt="軽いのに、崩れない、そして毛穴にも負けない！水分40％配合 マキリキッド UV アンフィニテ" style="border:none; vertical-align:top;" /><p style="margin:8px 0 0; padding:0;">25年以上にもわたって日本女性に愛され続ける「マキ」シリーズを生んだランコムから、軽いのに、崩れない、そして<a href="http://www.lancome-paris.jp/products/maquiliquide/facecare.html" target="_blank" style="text-decoration:underline; color:#FF597A;">毛穴</a>にも負けない！女性の理想を実現する水分40％配合の新リキッドファンデーション「マキリキッド UV　アンフィニテ 」が誕生します。</p> <ul style="list-style:none; margin:0; padding:0;"><li style="margin:0; padding:0 0 0 11px; background:url(http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_arrow.gif) no-repeat 0 .5em;"><a href="http://www.lancome-paris.jp/products/maquiliquide/index.html" target="_blank" style="text-decoration:underline; color:#FF597A; ">毛穴に負けないリキッドファンデーションの全貌を知る</a></li> <li style="margin:0; padding:0 0 0 11px; background:url(http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_arrow.gif) no-repeat 0 .5em;"><a href="http://www.lancome.jp/_ja/_ja/news/maquiliquidecoupon/index.aspx" target="_blank" style="text-decoration:underline; color:#FF597A;">10分タッチアップ引き換えクーポンはこちら</a></li></ul><p style="margin:0; padding:0; font-size:10px;">※応募期間 3/2日～3/31まで　なくなり次第終了</p><img src="http://dev-sandbox.com/katamare/counts/viewimage/11/' + uniqueParam + '"/></div></div><div style="margin:0; padding:0; font-size:0px;"> <img src="http://www.lancome-paris.jp/products/maquiliquide/images/blog_seal_footer.jpg" alt="MAQUILIQUIDE UV INFINITE [マキリキッド UV アンフィニテ] 2009年3月13日(金)新発売 SPF20/PA++ 全6色 5,755円 (税込) ※3月13日からの販売となります。" width="350" height="165" border="0" usemap="#Map" style="border:none; vertical-align:top;" /><map name="Map" id="Map"><area shape="rect" coords="10,105,237,148" href="http://www.lancome.jp/_ja/_ja/catalog/product/maquiliquideuvinfinite.aspx?prdcode=Y10570&categorycode=AXEMakeup^MAK_Facemakeup^MAK_Fac_Foundation^MAK_Fac_Fou_Liquid" target="_blank" alt="マキリキッドを購入する" /></map></div></div>';
	var txtFld = document.getElementById('sourceCode');
	txtFld.value = blogSealSourceCode;
}

function getUnixTimeStamp(){
	return parseInt(new Date().getTime().toString().substring(0, 10));
}