
if (document.images)
        {
        profile_on=new Image(117,44);
        profile_on.src="images/profile_on.gif";
        profile_off=new Image(117,44);
        profile_off.src="images/profile_off.gif";

        products_on=new Image(119,44);
        products_on.src="images/products_on.gif";
        products_off=new Image(119,44);
        products_off.src="images/products_off.gif";

        pdf_on=new Image(117,44);
        pdf_on.src="images/pdf_on.gif";
        pdf_off=new Image(117,44);
        pdf_off.src="images/pdf_off.gif";

        contact_on=new Image(114,44);
        contact_on.src="images/contact_on.gif";
        contact_off=new Image(114,44);
        contact_off.src="images/contact_off.gif";

        faq_on=new Image(116,44);
        faq_on.src="images/faq_on.gif";
        faq_off=new Image(116,44);
        faq_off.src="images/faq_off.gif";

        home_on=new Image(117,44);
        home_on.src="images/home_on.gif";
        home_off=new Image(117,44);
        home_off.src="images/home_off.gif";
       }

function mouseOver(buttonName)
        {
        if (document.images)
                {
                document.images[buttonName].src=eval(buttonName + "_on.src");
                }
        }

function mouseOut(buttonName)
        {
        if (document.images)
                {
                document.images[buttonName].src=eval(buttonName + "_off.src");
                }
        }

function ShowPage(url) {
	self.location = url
}

function openWin(windowURL, windowName, windowFeatures) {
	return window.open(windowURL, windowName, windowFeatures);
}

function ShowImages(opt) {
	if (opt == 'G') {
		var newWin= openWin("GTA.cfm","GTA_Screen_Shot","toolbar=0,location=0,directories=0,status=0,menuBars=0,scrollBars=1,resizable=1,width=825,height=600");
	} else {
		var newWin= openWin("WTA.cfm","WTA_Screen_Shot","toolbar=0,location=0,directories=0,status=0,menuBars=0,scrollBars=1,resizable=1,width=825,height=600");
	}
	if (newWin.opener == null) {
		newWin.opener = self
	}
		
}

function doMailTo(username) {
	var hostname = "gtis.com"
	var newurl = "mailto:" + username + "@" + hostname
	location.replace(newurl)
}
