// JavaScript Document
/*		var  popUpCode = "<div id=\"popUpBox\" > <div class=\"popUp\"><button onclick=\"this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);\" > Close this Form </button><iframe src=\"orderNow.html\" width=\"100%\" height=\"100%\"></iframe><br>	<button onclick=\"this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);\" > Close this Form </button>	 </div> </div>";

 "<div id=\"popUpBox\" > <div class=\"popUp\"><img src=\"images/subscribeFormCloseBtnImg.jpg\"  onclick=\"this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);\" > <img src=\"images/subscribeFormImg.jpg\" width=\"647\" heigth=\"379\" /> 	 </div> </div>"
*/
	function createPopUp() 
	{ 
		var  popUpCode = "<div id=\"popUpBox\" > <div class=\"popUp\"><img src=\"images/subscribeFormCloseBtnImg.jpg\"  onclick=\"this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);\" > <iframe src=\"feng-shui-order-now.html\" width=\"647\" height=\"380\" frameborder=\"0\" scrolling=\"no\"></iframe> 	 </div> </div>";
		if(document.getElementById("popUpBox"))
		{
			setPos();
			return;
		}
		var div = document.createElement('div'); 
		div.innerHTML = popUpCode; 

		document.body.appendChild(div.firstChild);
		setPos();
	}
	function setPos()
	{
		var y = 190;
		
		if( document.body &&( document.body.scrollTop ) ) {
			// DOM
			y = document.body.scrollTop;
		} else if( document.documentElement && ( document.documentElement.scrollTop ) ) {
			// IE6 standards compliant mode
			y = document.documentElement.scrollTop;
		}		
		document.getElementById("popUpBox").style.top = y+ "px"; 			
	}
	