
<!--
       
        if (document.images) {
            aboutus_on = new Image(); 
            aboutus_on.src ="images/HMGbullet_on.gif";
            preunderwrite_on = new Image(); 
            preunderwrite_on.src ="images/HMGbullet_on.gif";
            quote_on = new Image(); 
            quote_on.src ="images/HMGbullet_on.gif";
            casequote_on = new Image(); 
            casequote_on.src ="images/HMGbullet_on.gif";
            calendar_on = new Image(); 
            calendar_on.src ="images/HMGbullet_on.gif";
            ordersupplies_on = new Image(); 
            ordersupplies_on.src ="images/HMGbullet_on.gif";
            servicerequest_on = new Image(); 
            servicerequest_on.src ="images/HMGbullet_on.gif";
            home_on = new Image(); 
            home_on.src ="images/HMGbullet_on.gif";
            flash1_on = new Image(); 
            flash1_on.src ="images/HMGbullet_on.gif";
            flash2_on = new Image(); 
            flash2_on.src ="images/HMGbullet_on.gif";
            flash3_on = new Image(); 
            flash3_on.src ="images/HMGbullet_on.gif";
            flash4_on = new Image(); 
            flash4_on.src ="images/HMGbullet_on.gif";
            flash5_on = new Image(); 
            flash5_on.src ="images/HMGbullet_on.gif";
            flash6_on = new Image(); 
            flash6_on.src ="images/HMGbullet_on.gif";
            flash7_on = new Image(); 
            flash7_on.src ="images/HMGbullet_on.gif";
            flash8_on = new Image(); 
            flash8_on.src ="images/HMGbullet_on.gif";
            contactus_on = new Image(); 
            contactus_on.src ="images/HMGbullet_on.gif";
            ourmission_on = new Image(); 
            ourmission_on.src ="images/HMGbullet_on.gif";
            ourorganization_on = new Image(); 
            ourorganization_on.src ="images/HMGbullet_on.gif";
            ourlicenses_on = new Image(); 
            ourlicenses_on.src ="images/HMGbullet_on.gif";
            ourproduction_on = new Image(); 
            ourproduction_on.src ="images/HMGbullet_on.gif";
            ourdistributors_on = new Image(); 
            ourdistributors_on.src ="images/HMGbullet_on.gif";
            ourteam_on = new Image(); 
            ourteam_on.src ="images/HMGbullet_on.gif";
            ouraffiliations_on = new Image(); 
            ouraffiliations_on.src ="images/HMGbullet_on.gif";
            ourservices_on = new Image(); 
            ourservices_on.src ="images/HMGbullet_on.gif";
            consumerwebsite_on = new Image(); 
            consumerwebsite_on.src ="images/HMGbullet_on.gif";
            glossary_on = new Image(); 
            glossary_on.src ="images/HMGbullet_on.gif";
            logout_on = new Image(); 
            logout_on.src ="images/HMGbullet_on.gif";
            public_on = new Image(); 
            public_on.src ="images/public_on.gif";
            professionals_on = new Image(); 
            professionals_on.src ="images/professionals_on.gif";
            register_on = new Image(); 
            register_on.src ="images/register_on.gif";
            sitetour_on = new Image(); 
            sitetour_on.src ="images/sitetour_on.gif";
            quoterequest_on = new Image(); 
            quoterequest_on.src ="images/quoterequest_on.gif";
            adobequestion_on = new Image(); 
            adobequestion_on.src ="images/adobequestion_on.gif";
            pptquestion_on = new Image(); 
            pptquestion_on.src ="images/pptquestion_on.gif";
		
            aboutus_off = new Image(); 
            aboutus_off.src ="images/HMGbullet_off.gif";
            preunderwrite_off = new Image(); 
            preunderwrite_off.src ="images/HMGbullet_off.gif";
            quote_off = new Image(); 
            quote_off.src ="images/HMGbullet_off.gif";
            casequote_off = new Image(); 
            casequote_off.src ="images/HMGbullet_off.gif";
            calendar_off = new Image(); 
            calendar_off.src ="images/HMGbullet_off.gif";
            ordersupplies_off = new Image(); 
            ordersupplies_off.src ="images/HMGbullet_off.gif";
            servicerequest_off = new Image(); 
            servicerequest_off.src ="images/HMGbullet_off.gif";
            home_off = new Image(); 
            home_off.src ="images/HMGbullet_off.gif";
            flash1_off = new Image(); 
            flash1_off.src ="images/HMGbullet_off.gif";
            flash2_off = new Image(); 
            flash2_off.src ="images/HMGbullet_off.gif";
            flash3_off = new Image(); 
            flash3_off.src ="images/HMGbullet_off.gif";
            flash4_off = new Image(); 
            flash4_off.src ="images/HMGbullet_off.gif";
            flash5_off = new Image(); 
            flash5_off.src ="images/HMGbullet_off.gif";
            flash6_off = new Image(); 
            flash6_off.src ="images/HMGbullet_off.gif";
            flash7_off = new Image(); 
            flash7_off.src ="images/HMGbullet_off.gif";
            flash8_off = new Image(); 
            flash8_off.src ="images/HMGbullet_off.gif";
            contactus_off = new Image(); 
            contactus_off.src ="images/HMGbullet_off.gif";
            ourmission_off = new Image(); 
            ourmission_off.src ="images/HMGbullet_off.gif";
            ourorganization_off = new Image(); 
            ourorganization_off.src ="images/HMGbullet_off.gif";
            ourlicenses_off = new Image(); 
            ourlicenses_off.src ="images/HMGbullet_off.gif";
            ourproduction_off = new Image(); 
            ourproduction_off.src ="images/HMGbullet_off.gif";
            ourdistributors_off = new Image(); 
            ourdistributors_off.src ="images/HMGbullet_off.gif";
            ourteam_off = new Image(); 
            ourteam_off.src ="images/HMGbullet_off.gif";
            ouraffiliations_off = new Image(); 
            ouraffiliations_off.src ="images/HMGbullet_off.gif";
            ourservices_off = new Image(); 
            ourservices_off.src ="images/HMGbullet_off.gif";
            consumerwebsite_off = new Image(); 
            consumerwebsite_off.src ="images/HMGbullet_off.gif";
            glossary_off = new Image(); 
            glossary_off.src ="images/HMGbullet_off.gif";
            logout_off = new Image(); 
            logout_off.src ="images/HMGbullet_off.gif";
            public_off = new Image(); 
            public_off.src ="images/public_off.gif";
            professionals_off = new Image(); 
            professionals_off.src ="images/professionals_off.gif";
            register_off = new Image(); 
            register_off.src ="images/register_off.gif";
            sitetour_off = new Image(); 
            sitetour_off.src ="images/sitetour_off.gif";
            quoterequest_off = new Image(); 
            quoterequest_off.src ="images/quoterequest_off.gif";
            adobequestion_off = new Image(); 
            adobequestion_off.src ="images/adobequestion_off.gif";
            pptquestion_off = new Image(); 
            pptquestion_off.src ="images/pptquestion_off.gif";

        }

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_on.src");

        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_off.src");

        }
}

// -->

<!-- 
<!-- http://www.shiningstar.net -->
<!-- Begin
function checkNumeric(objName,minval, maxval,comma,period,hyphen)
{
	var numberfield = objName;
	if (chkNumeric(objName,minval,maxval,comma,period,hyphen) == false)
	{
		numberfield.select();
		numberfield.focus();
		return false;
	}
	else
	{
		return true;
	}
}

function chkNumeric(objName,minval,maxval,comma,period,hyphen)
{
// only allow 0-9 be entered, plus any values passed
// (can be in any order, and don't have to be comma, period, or hyphen)
// if all numbers allow commas, periods, hyphens or whatever,
// just hard code it here and take out the passed parameters
var checkOK = "0123456789." + comma + period + hyphen;
var checkStr = objName;
var allValid = true;
var decPoints = 0;
var allNum = "";

for (i = 0;  i < checkStr.value.length;  i++)
{
ch = checkStr.value.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{	
alertsay = "Please enter only these values \""
alertsay = alertsay + checkOK + "\" in the Sort field."
alert(alertsay);
return (false);
}

// set the minimum and maximum
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= minval && prsVal <= maxval))
{
alertsay = "Please enter a value greater than or "
alertsay = alertsay + "equal to \"" + minval + "\" and less than or "
alertsay = alertsay + "equal to \"" + maxval + "\" in the \"" + checkStr.name + "\" field."
alert(alertsay);
return (false);
}
}
//  End -->

<!--
dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
now = new Date
// -->

<!-- Menu Scripts Begin
// Menu JavaScript
/*  
Script made by Martial Boissonneault © 2002-2003 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*/
var ie5 = (document.getElementById && document.all); 
var ns6 = (document.getElementById && !document.all);

// there are 25 differents effects you can use.
// to change the duration of the effect, change the duration number. "Duration=2" => 2 seconds
var fade = "blendTrans(Duration=1.0)";
var boxIn = "revealTrans(Duration=1.2,Transition=0)";
var boxOut = "revealTrans(Duration=0.8,Transition=1)"; 
var circleIn ="revealTrans(Duration=1.2,Transition=2)";
var circleOut ="revealTrans(Duration=1.2,Transition=3)";
var wipeUp = "revealTrans(Duration=1.0,Transition=4)";
var wipeDown = "revealTrans(Duration=0.1,Transition=5)";
var wipeRight = "revealTrans(Duration=1.0,Transition=6)";
var wipeLeft = "revealTrans(Duration=1.0,Transition=7)";
var verticalblinds = "revealTrans(Duration=1.2,Transition=8)"; 
var horizontalblinds = "revealTrans(Duration=1.2,Transition=9)"; 
var checkerboardAcross = "revealTrans(Duration=1.2,Transition=10)";
var checkerboardDown = "revealTrans(Duration=1.2,Transition=11)";
var dissolve = "revealTrans(Duration=1.2,Transition=12)";
var splitVerticalIn = "revealTrans(Duration=1.0, Transition=13)";
var splitVerticalOut = "revealTrans(Duration=0.8, Transition=14)";
var splitHorizontalIn = "revealTrans(Duration=1.2, Transition=15)";
var splitHorizontalOut = "revealTrans(Duration=0.8, Transition=16)";
var stripsLeftDown = "revealTrans(Duration=1.2, Transition=17)";
var stripsLeftUp = "revealTrans(Duration=1.2, Transition=18)";
var stripsRightDown = "revealTrans(Duration=1.2,Transition=19)";
var stripsRightUp = "revealTrans(Duration=1.2,Transition=20)";
var randomBarsHorizontal = "revealTrans(Duration=1.2,Transition=21)";
var randomBarsVertical = "revealTrans(Duration=1.2,Transition=22)";
var random = "revealTrans(Duration=1.2,Transition=23)";

var myEffect = wipeDown; // set your effect from one of the top 25 differents effects

function showFilter(obj, visibility) {
	if(ie5){
		menu[obj].style.filter = myEffect;
		menu[obj].filters[0].Apply();
		menu[obj].style.visibility = visibility;
		menu[obj].filters[0].Play();
	}
	else if(ns6){
		menu[obj].style.visibility = visibility;
	}
}

function showHide(obj, visibility) {
	if(ie5 || ns6){
		menu[obj].style.visibility = visibility;
	}
}

function menuBarInit() {
	if(ie5 || ns6){
   		menu = document.getElementsByTagName("div");
	}
}

function MakeActive(num) {
    	if(ie5 || ns6) {
        	for(i=0;i<lnk.length;i++) {
        		lnk[i].style.color = "#006699";
        		lnk[num].style.color = "red";
        	}
    	}
}

function makeActiveInit() {
	if(ie5 || ns6){
		lnk = document.getElementById("tb").getElementsByTagName("a");
			for(i=0;i<lnk.length;i++){
				lnk[i].onfocus=new Function("if(this.blur)this.blur()");
				lnk[16].style.color = "red";
		}
	}	
	if(ie5)
	    document.getElementById("tb").style.visibility = "visible";
}

/*****************************************************
 * ypSlideOutMenu
 * 3/04/2001
 * 
 * a nice little script to create exclusive, slide-out
 * menus for ns4, ns6, mozilla, opera, ie4, ie5 on 
 * mac and win32. I've got no linux or unix to test on but 
 * it should(?) work... 
 *
 * --youngpup--
 *****************************************************/

ypSlideOutMenu.Registry = []
ypSlideOutMenu.aniLen = 650
ypSlideOutMenu.hideDelay = 350
ypSlideOutMenu.minCPUResolution = 10

// constructor
function ypSlideOutMenu(id, dir, left, top, width, height)
{
	this.ie  = document.all ? 1 : 0
	this.ns4 = document.layers ? 1 : 0
	this.dom = document.getElementById ? 1 : 0

	if (this.ie || this.ns4 || this.dom) {
		this.id			 = id
		this.dir		 = dir
		this.orientation = dir == "left" || dir == "right" ? "h" : "v"
		this.dirType	 = dir == "right" || dir == "down" ? "-" : "+"
		this.dim		 = this.orientation == "h" ? width : height
		this.hideTimer	 = false
		this.aniTimer	 = false
		this.open		 = false
		this.over		 = false
		this.startTime	 = 0

		// global reference to this object
		this.gRef = "ypSlideOutMenu_"+id
		eval(this.gRef+"=this")

		// add this menu object to an internal list of all menus
		ypSlideOutMenu.Registry[id] = this

		var d = document
		d.write('<style type="text/css">')
		d.write('#' + this.id + 'Container { visibility:hidden; ')
		d.write('left:' + left + 'px; ')
		d.write('top:' + top + 'px; ')
		d.write('overflow:hidden; }')
		d.write('#' + this.id + 'Container, #' + this.id + 'Content { position:absolute; ')
		d.write('width:' + width + 'px; ')
		d.write('height:' + height + 'px; ')
		d.write('clip:rect(0 ' + width + ' ' + height + ' 0); ')
		d.write('}')
		d.write('</style>')

		this.load()
	}
}

ypSlideOutMenu.prototype.load = function() {
	var d = document
	var lyrId1 = this.id + "Container"
	var lyrId2 = this.id + "Content"
	var obj1 = this.dom ? d.getElementById(lyrId1) : this.ie ? d.all[lyrId1] : d.layers[lyrId1]
	if (obj1) var obj2 = this.ns4 ? obj1.layers[lyrId2] : this.ie ? d.all[lyrId2] : d.getElementById(lyrId2)
	var temp

	if (!obj1 || !obj2) window.setTimeout(this.gRef + ".load()", 100)
	else {
		this.container	= obj1
		this.menu		= obj2
		this.style		= this.ns4 ? this.menu : this.menu.style
		this.homePos	= eval("0" + this.dirType + this.dim)
		this.outPos		= 0
		this.accelConst	= (this.outPos - this.homePos) / ypSlideOutMenu.aniLen / ypSlideOutMenu.aniLen 

		// set event handlers.
		if (this.ns4) this.menu.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
//		this.menu.onmouseover = new Function("ypSlideOutMenu.showMenu('" + this.id + "')")
//		this.menu.onmouseout = new Function("ypSlideOutMenu.hideMenu('" + this.id + "')")

		//set initial state
		this.endSlide()
	}
}
	
ypSlideOutMenu.showMenu = function(id)
{
	var reg = ypSlideOutMenu.Registry
	var obj = ypSlideOutMenu.Registry[id]
	
	if (obj.container) {
		obj.over = true

		// if this menu is scheduled to close, cancel it.
		if (obj.hideTimer) { reg[id].hideTimer = window.clearTimeout(reg[id].hideTimer) }

		// if this menu is closed, open it.
		if (!obj.open && !obj.aniTimer) reg[id].startSlide(true)
	}
}

ypSlideOutMenu.hideMenu = function(id)
{
	// schedules the menu to close after <hideDelay> ms, which
	// gives the user time to cancel the action if they accidentally moused out
	var obj = ypSlideOutMenu.Registry[id]
	   if (obj.container) {
		   if (obj.hideTimer) window.clearTimeout(obj.hideTimer)
		   obj.hideTimer = window.setTimeout("ypSlideOutMenu.hide('" + id + "')", ypSlideOutMenu.hideDelay);
	   }
}

ypSlideOutMenu.hide = function(id)
{
	var obj = ypSlideOutMenu.Registry[id]
	obj.over = false

	if (obj.hideTimer) window.clearTimeout(obj.hideTimer)
	
	// flag that this scheduled event has occured.
	obj.hideTimer = 0

	// if this menu is open, close it.
	if (obj.open && !obj.aniTimer) obj.startSlide(false)
}

ypSlideOutMenu.prototype.startSlide = function(open) {
	this[open ? "onactivate" : "ondeactivate"]()
	this.open = open
	if (open) this.setVisibility(true)
	this.startTime = (new Date()).getTime()	
	this.aniTimer = window.setInterval(this.gRef + ".slide()", ypSlideOutMenu.minCPUResolution)
}

ypSlideOutMenu.prototype.slide = function() {
	var elapsed = (new Date()).getTime() - this.startTime
	if (elapsed > ypSlideOutMenu.aniLen) this.endSlide()
	else {
		var d = Math.round(Math.pow(ypSlideOutMenu.aniLen-elapsed, 2) * this.accelConst)
		if (this.open && this.dirType == "-")		d = -d
		else if (this.open && this.dirType == "+")	d = -d
		else if (!this.open && this.dirType == "-")	d = -this.dim + d
		else										d = this.dim + d

		this.moveTo(d)
	}
}

ypSlideOutMenu.prototype.endSlide = function() {
	this.aniTimer = window.clearTimeout(this.aniTimer)
	this.moveTo(this.open ? this.outPos : this.homePos)
	if (!this.open) this.setVisibility(false)
	if ((this.open && !this.over) || (!this.open && this.over)) {
		this.startSlide(this.over)
	}
}

ypSlideOutMenu.prototype.setVisibility = function(bShow) { 
	var s = this.ns4 ? this.container : this.container.style
	s.visibility = bShow ? "visible" : "hidden"
}
ypSlideOutMenu.prototype.moveTo = function(p) { 
	this.style[this.orientation == "h" ? "left" : "top"] = this.ns4 ? p : (p) + "px"
}
ypSlideOutMenu.prototype.getPos = function(c) {
	return parseInt(this.style[c])
}

// events
ypSlideOutMenu.prototype.onactivate		= function() { }
ypSlideOutMenu.prototype.ondeactivate	= function() { }

new ypSlideOutMenu("menu1", "down",358, 80, 210,195)
new ypSlideOutMenu("menu11", "right",544, 117, 185, 60)
new ypSlideOutMenu("menu12", "right",544, 137, 170, 53)
new ypSlideOutMenu("menu13", "right",544, 155, 180, 40)
new ypSlideOutMenu("menu14", "right",544, 167, 190, 115)
new ypSlideOutMenu("menu15", "right",544, 188, 220, 115)
new ypSlideOutMenu("menu16", "right",544, 204, 220, 60)
new ypSlideOutMenu("menu17", "right",544, 220, 180, 155)
new ypSlideOutMenu("menu18", "right",544, 235, 180, 60)
new ypSlideOutMenu("menu2", "down",460, 80, 180, 80)
new ypSlideOutMenu("menu21", "right",617, 121, 180, 350)
new ypSlideOutMenu("menu22", "right",617, 140, 180, 350)
new ypSlideOutMenu("menu3", "down",560, 80, 180, 150)
new ypSlideOutMenu("menu4", "down",162, 80, 180, 100)
new ypSlideOutMenu("menu5", "down",438, 80, 180, 100)
new ypSlideOutMenu("menuHelp", "down",660, 80, 180, 80)

if (navigator.appName == "Microsoft Internet Explorer") {
	new ypSlideOutMenu("AboutUs", "right",123,177, 185, 200);
} else {
	new ypSlideOutMenu("AboutUs", "right",100,175, 185, 200);
}

// -->

<!--
function sameAddress(field) {
	if (field.checked) {
		document.form1[field.name + 'Address'].value = document.form1.OfficeAddress.value;
		document.form1[field.name + 'City'].value = document.form1.OfficeCity.value;
		document.form1[field.name + 'Zip'].value = document.form1.OfficeZip.value;
		document.form1[field.name + 'State'].value = document.form1.OfficeState.value;
	}
}
//-->
