if (document.images) {
	company_up = new Image();
	company_up.src = "../images/company.jpg";
	company_over = new Image();
	company_over.src = "../images/company_f2.jpg";
		products_up = new Image();
		products_up.src = "../images/products.jpg";
		products_over = new Image();
		products_over.src = "../images/products_f2.jpg";
	design_up = new Image();
	design_up.src = "../images/design.jpg";
	design_over = new Image();
	design_over.src = "../images/design_f2.jpg";
		service_up = new Image();
		service_up.src = "../images/service.jpg";
		service_over = new Image();
		service_over.src = "../images/service_f2.jpg";
	industries_up = new Image();
	industries_up.src = "../images/industries.jpg";
	industries_over = new Image();
	industries_over.src = "../images/industries_f2.jpg";
		contacts_up = new Image();
		contacts_up.src = "../images/contacts.jpg";
		contacts_over = new Image();
		contacts_over.src = "../images/contacts_f2.jpg";
	map_up = new Image();
	map_up.src = "../images/map.gif";
	map_over = new Image();
	map_over.src = "../images/map_zm.gif";
			rollover01_up = new Image()
			rollover01_up.src = "../images/duplexit_logo.jpg"
			rollover01_over = new Image()
			rollover01_over.src = "../images/duplexit_logo_on.jpg"
	van_up = new Image();
	van_up.src = "../images/misc/servicevan.jpg";
	van_over = new Image();
	van_over.src = "../images/misc/vaninside.jpg";
			vacuum_up = new Image()
			vacuum_up.src = "../images/vacuum.jpg"
			vacuum_over = new Image()
			vacuum_over.src = "../images/vacuum_f2.jpg"
}

function swapImg(id,typ) {
	if (document.images) {
		document.images[id].src = eval(id+"_"+typ+".src");
	}
}

function loadSection(id) {
		parent.window.header.location = id+"/header.html";
		parent.window.sidenav.location = id+"/sidenav.html";
	  parent.window.content.location = id+"/001.html";
}

function loadSectionPage(id,pg) {
		parent.window.header.location = id+"/header.html";
		parent.window.sidenav.location = id+"/sidenav.html";
	  parent.window.content.location = id+pg;
}

var maxNum = 4
function loadImage() {
	var tempNum = 0
	tempNum = (parseInt(Math.random()*maxNum+1))
	showImage(tempNum)
}

function showImage(num) {
	if ((num > 0) && (num <= maxNum)) {
		document.writeln("<td width='1%' height='73' background='../images/default_r1_bg.jpg'><img src='../images/inter_image" + num + ".gif' width='257' height='73'></td><td width='99%' height='73' align='right' valign='bottom' background='../images/default_r1_bg.jpg'><img src='../images/default_r1_c5.jpg' width='393' height='30'></td>")
	}
}

function openMe(URL,wth,hth) {
	window.open(URL,"Alltech","width="+wth+",height="+hth+",scrollbars=yes,toolbar=no")
}

<!-- Begin scrolling text
// THESE VARIABLES CAN BE CHANGED //
// var myMainMessage="  Try this out! The message just keeps repeating. Use it for announcements, news and other items! "; //
// var speed=150; //
var scrollingRegion=100;

// END CHANGEABLE VARIABLES //
var startPosition=0;
function mainTextScroller() {
        var mainMessage=myMainMessage;
        var tempLoc=(scrollingRegion*3/mainMessage.length)+1;
        if (tempLoc<1) {tempLoc=1}
        var counter;
        for(counter=0;counter<=tempLoc;counter++)
           mainMessage+=mainMessage;
document.mainForm.mainTextScroller.value=mainMessage.substring(startPosition,startPosition+scrollingRegion);
        startPosition++;
        if(startPosition>scrollingRegion) startPosition=0;
        setTimeout("mainTextScroller()",speed); }
//  End -->
