	/**
	 *	在 DOM 架構下增加一個 Iframe 的 Tag
	 *
	 */

	reIframe = document.createElement("iframe");
	reIframe2 = document.createElement("iframe");

	/**
	 *	設定 Iframe 的各項屬性
	 *
	 */
	
	reIframe.id = "transport_love";
	reIframe.frameBorder = "0px";
	reIframe.style.border = "0px solid white";
	reIframe.allowTransparency = true;
	reIframe.width = "170px";
	reIframe.height = "260px";
	reIframe.scrolling="no";

	
	reIframe2.id = "remote_url";
	reIframe2.style.display = "none";

	/**
	 *	設定 Iframe 讀取遠端檔案的路徑（版型）
	 *
	 */
	
	reIframe.src = "http://www.books.com.tw/exep/activity/2008/10/xmas/xmasbox_blog.php";
	//測試用
	//reIframe.src = "http://10.38.2.14/exep/activity/2008/10/xmas/xmasbox_blog.php";

	/**
	 *	將網址儲存起來
	 */
	
	reIframe2.src = "http://www.books.com.tw/exep/activity/2008/10/xmas/xmasbox_blog.php?remote_url=" + window.location;
	//測試用
	//reIframe2.src = "http://10.38.2.14/exep/activity/2008/10/xmas/xmasbox_blog.php?remote_url=" + window.location;

	/**
	 *	把整個 Iframe Append 到 DOM 下
	 */

	document.body.appendChild(reIframe);
	document.body.appendChild(reIframe2);

	objScript = document.getElementById('books_xmas');
	objIframe = document.getElementById('transport_love');
	objIframe2 = document.getElementById('remote_url');

	objScript.parentNode.insertBefore(objIframe,objScript);
	objScript.parentNode.insertBefore(objIframe2,objScript);


