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

function publishBlogSealCode(){
	var timestamp = getUnixTimeStamp();
	var random = Math.round(Math.random() * 100000);
	var uniqueParam = '?u=' + timestamp + '_' + random;
	var blogSealSourceCode = '<div style="margin:0;padding:0;width:350px;background:#0F0E12;"><div style="margin:0;padding:0;font-size:0px;"><a href="http://www.lancome-paris.jp/products/oscillation/index.html" title="電動マスカラ 「オシィラシオン」がランコムから新登場。" target="_blank" style="text-decoration:none;"><img src="http://www.lancome-paris.jp/products/oscillation/images/blog_seal_header.jpg" width="350" height="193" alt="マスカラ革新。電動ブラシで360度包み込み、1本1本絶世美ロング / OSCILLATION [オシィラシオン]" style="margin:0;padding:0;border:none;" /></a><br /><a href="http://www.lancome-paris.jp/" title="ランコム ローズ マガジン" target="_blank" style="text-decoration:none;"><img src="http://www.lancome-paris.jp/products/oscillation/images/blog_seal_rosemagazine.jpg" width="350" height="48" alt="ランコム ローズ マガジン" style="margin:0;padding:0;border:none;" /></a><br /><img src="http://www.lancome-paris.jp/products/oscillation/images/blog_seal_title01.jpg" width="350" height="34" alt="ランコムから日本初、 電動マスカラが新登場" style="margin:0;padding:0;border:none;" /></div><p style="margin:0 0 8px;padding:0 25px 0 22px;line-height:1.8;letter-spacing:0;font-size:12px;color:#FFF;">ランコムから全く新しいアプリケーションが新登場。<br />ランコムの<a href="http://www.lancome-paris.jp/products/oscillation/index.html" title="電動マスカラ" target="_blank" style="text-decoration:underline;color:#A6801A;">電動マスカラ</a>は、毎分約7,000回のミクロ振動により、従来の「ジグザク」の動きでは難しかった、まつげを根元から先端までを1本1本360度包み込みます。絶世美ロングの美しい仕上がりを実現。<br /><a href="http://www.lancome-paris.jp/products/oscillation/index.html" title="電動マスカラの魅力を知る" target="_blank" style="text-decoration:underline;color:#A6801A;">&raquo; 電動マスカラ 「オシィラシオン」の魅力を知る。</a><br /><a href="http://www.lancome-paris.jp/present/oscillation/index.html" title="電動マスカラ モニター募集中" target="_blank" style="text-decoration:underline;color:#A6801A;">&raquo; ランコムの電動マスカラ モニター募集中</a><br />（※応募期間 11/12(水)～11/25(火)まで）</p><img src="http://www.lancome-paris.jp/products/oscillation/images/blog_seal_footer.jpg" width="350" height="174" alt="電動マスカラ OSCILLATION [オシィラシオン] 伊勢丹新宿店・うめだ阪急 11月19日（水）限定発売 全1色 5,250円（税込） （2009年2月全国発売予定） / ランコムeブティック 12月2日（火）個数限定発売 / ※ランコムで初めて、小型モーター内蔵の電動マスカラブラシを採用" style="margin:0;padding:0;border:none;" /><br /><img src="http://www.dev-sandbox.com/client/lancome/oclillation/campaign_001/php/seal.php' + uniqueParam + '" width="1" height="1" alt="" /></div>';
	var txtFld = document.getElementById('sourceCode');
	txtFld.value = blogSealSourceCode;
}

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