/**********************************************************************
 [contact.js]
**********************************************************************/
/*---------------------------------------------
 submit
---------------------------------------------*/
function fncContact(vobjLink){
  
  var strID = vobjLink.id;
  var objParamArea = document.getElementById('contacttype');
  var objForm = document.frmService;
  
  var strRootPath  = ''; //home
  var crntURL = location.href;
  if(crntURL.indexOf('/htdocs/') != -1){
  	strRootPath  = '/mind/htdocs';
  }
  var strProtocol = 'https://'
  if(crntURL.indexOf('/htdocs/') != -1){
    strProtocol = 'http://';
  }
  var strAction = strProtocol + document.domain + strRootPath;
  strAction += "/cgi-bin/website/inquiry/inquiry.cgi";

  objParamArea.value = strID;
  objForm.action = strAction;
  objForm.submit();
}

