function popWin(){

  var msgw,msgh,bordercolor;
  msgw=337;//pop window width
  msgh=239;//pop window height

  w = document.documentElement.clientWidth;
  h = document.documentElement.clientHeight;
  
  var sWidth,sHeight; //body width and height
  if(document.all){ //for IE
  	sWidth=document.body.scrollWidth;
  }else{
  	sWidth=window.document.documentElement.scrollWidth;
  }
  sHeight=1.2*screen.height;
  
  var left=(sWidth/2)-(msgw/2);
  var top =(sHeight/2)-(msgh/2)-200;

  window.scrollTo(sWidth/2, 0);

  var bgObj=document.createElement("div");//the gray background
  bgObj.setAttribute('id','bgDiv');
  bgObj.style.position="absolute";
  bgObj.style.top="0";
  bgObj.style.background="black";
  bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
  bgObj.style.opacity="0.6";
  bgObj.style.left="0";
  bgObj.style.width=sWidth + "px";
  bgObj.style.height=sHeight + "px";
  bgObj.style.zIndex = "101";
  bgObj.style.paddingLeft = "30px";
  document.body.appendChild(bgObj);//append the gray bg div to body
  
  var msgObj=document.createElement("div")//the pop div
  msgObj.setAttribute("id","msgDiv");
  msgObj.setAttribute("align","center");
  msgObj.className = "pop-outter";
  msgObj.style.position = "absolute";
  msgObj.style.left = left+"px";
  msgObj.style.top = top+"px";
  msgObj.style.width = msgw + "px";
  msgObj.style.height =msgh + "px";

  
  theform = document.createElement("form");
  theform.method = "post";
  theform.id = "theform";
  theform.action ="http://www.hellomoving.biz/wc.dll?mpdir~moduleret~LIGHTVANL";
  theform.onsubmit = verifyform;
  theform.style.position = "relative";
  theform.style.cssFloat = "left";
  msgObj.appendChild(theform);
  
  //hidden inputs--------------------------------------------------------
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "MODULE";
  hidden.value = "EST";
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "REF";
  hidden.value = "WEBSITE";
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "MM";
  hidden.value = document.getElementById("MM").options[document.getElementById("MM").selectedIndex].value;
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "DD";
  hidden.value = document.getElementById("DD").options[document.getElementById("DD").selectedIndex].value;
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "YY";
  hidden.value = document.getElementById("YY").options[document.getElementById("YY").selectedIndex].value;
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "SZIP";
  hidden.value = document.getElementById("szip").value;
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "RZIP";
  hidden.value = document.getElementById("rzip").value;
  theform.appendChild(hidden);
  
  hidden = document.createElement("input");
  hidden.type = "hidden";
  hidden.name = "ROOMS";
  hidden.value = document.getElementById("rooms").options[document.getElementById("rooms").selectedIndex].value;
  theform.appendChild(hidden);
  //hidden inputs--------------------------------------------------------
  
  
  topdiv = document.createElement("div");
  topdiv.innerHTML = "Just one more step";
  topdiv.className = "greentext bigtext";
  topdiv.style.width = "100%";
  topdiv.style.textAlign = "center";
  topdiv.style.marginTop = "10px";
  topdiv.style.marginBottom = "10px";
  theform.appendChild(topdiv);
  
  
  var ddiv = document.createElement("div");
  ddiv.innerHTML = "Full Name:";
  ddiv.className = "textleft";
  var name = createTextbox("SNAME");
  var bigdiv = document.createElement("div");
  bigdiv.className = "bigdiv";
  bigdiv.appendChild(ddiv);
  bigdiv.appendChild(name);
  theform.appendChild(bigdiv);
  
  var ddiv = document.createElement("div");
  ddiv.innerHTML = "Email Address:";
  ddiv.className = "textleft";
  var email = createTextbox("EMAIL");
  var bigdiv = document.createElement("div");
  bigdiv.className = "bigdiv";
  bigdiv.appendChild(ddiv);
  bigdiv.appendChild(email);
  theform.appendChild(bigdiv);
  
  var ddiv = document.createElement("div");
  ddiv.innerHTML = "Phone:";
  ddiv.className = "textleft";
  var phone = createTextbox("STELH");
  var bigdiv = document.createElement("div");
  bigdiv.className = "bigdiv";
  bigdiv.appendChild(ddiv);
  bigdiv.appendChild(phone);
  theform.appendChild(bigdiv);
  
  var submit = document.createElement("input");
  submit.type = "submit";
  submit.value = "submit";
  submit.className = "pop-submit";
  
  var button=createLink("X","javascript:void(0)");
  button.style.position = "absolute";
  button.style.right = "2px";
  button.style.top = "0px";
  button.style.padding = "3px";
  button.style.textDecoration = "none";
  button.style.fontWeight = "bold";
  button.style.fontSize = "14px";
  button.className = "pop-close";
  button.onclick=closeWin
  
  var bigdiv = document.createElement("div");
  bigdiv.className = "bigdiv";
  bigdiv.appendChild(submit);
  bigdiv.appendChild(button);
  theform.appendChild(bigdiv);
  
  function closeWin(){
    document.body.removeChild(msgObj);//remove the pop window
    document.body.removeChild(bgObj);
  }
  document.body.appendChild(msgObj);//append the pop window

}