var fBrw=(navigator.userAgent.indexOf('MSIE')!= -1 && navigator.userAgent.indexOf('Windows')!= -1);

function openImage(vLink, vTitle, vHeight, vWidth)
{
	var sLink = (typeof(vLink.href) == 'undefined') ? vLink : vLink.href;

	if (sLink == '')
	{
		return false;
	}

	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);

	newwin = open('', '_blank', winDef);

    newwin.document.writeln('<html><head><title>' + vTitle + '</title></head>');
	newwin.document.writeln('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">');
	newwin.document.writeln('<a href="" onClick="window.close(); return false;"><img src="', sLink, '" alt="', (fBrw) ? 'Close' : 'Close', '" border=0></a>');
	newwin.document.writeln('</body></html>');
    
	if (typeof(vLink.href) != 'undefined')
	{
	  return false;
	}


}

function userInfo(name, email, company)
{
   this.name    = name;
   this.email   = email;
   this.company = company;
}

function getInfo()
{
   newUserInfo = new userInfo(document.InfoInquiry.name.value,
   						      document.InfoInquiry.email.value,
   						      document.InfoInquiry.company.value);
   						      
      alert("You have entered: name=" + newUserInfo.name + ", email=" +
    		newUserInfo.email + ", company=" + newUserInfo.company);
}
function dsplOnOver()
{
   window.status='You are over the button right now.';
   return true;
}
function dsplOnOut()
{
   window.status='You are out of the button area right now';
   return true;
}

