/* javascript */

window.gettingstarted_jso = {
 helpclick: function(e,o,s)
 {
   var d = document.getElementById("gettingstartedhelpdiv");
   if ( ! d ) return;
   d.style.position="absolute";
   d.style.margin="2px";
   d.style.padding="2px";
   d.style.border="solid 1px black";
   d.style.backgroundColor="silver";
   d.style.color="black";
   d.style.fontHeight="12px";
   d.style.top = e.clientY;
   d.style.left = e.clientX;
   d.style.display="block";
   d.style.width="250px";
   d.innerHTML = "";
   var innerHTML = "<div style='display:block;cursor:pointer;font-weight:bold;font-height:14px' onclick='window.gettingstarted_jso.closehelp()' title='close'>x</div><p>";
   switch(s)
   {
     case "ecommerce":
      innerHTML += "Your website comes complete with online shopping solutions for your customers/visitors. If your needs include this feature, click Y. There is no addition costs for this feature, however if your needs are less than simple we may request a monthly service contract to be able to provide effective support to you.";
      break;
     case "memberlogins":
      innerHTML += "Your website comes with the ability to lock-out visitors using logins and passwords. The standard hosting package includes this feature at no cost. However, if you have the need to have your visitors be able to access restricted pages/documents at your website, you may need this feature. Depending on your needs, a small fee may be applicable.";
      break;
     case "existingwebsite":
      innerHTML += "Do you already have an existing website hosted on the Internet. If yes, click the Y button here. We're only interested so that we can determine your needs.";
      break;
     case "databaseneeded":
      innerHTML += "Your website will have access to MySql databases.  Do you have existing databases or other information that you will require access to at your website? If so, click the Y button here.";
      break;
   }
   innerHTML += "<br/><br/></p>";
   d.innerHTML = innerHTML;
 },
 closehelp: function()
 {
   var d = document.getElementById("gettingstartedhelpdiv");
   if ( ! d ) return;
   d.innerHTML="";
   d.style.display="none";
 }
};
