function orderWindow(page) {
	orderWin = window.open(page, 'orderWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=553,height=538,left=0,top=0')
	orderWin.focus()
}
function diagramWindow(page) {
	diagramWin = window.open(page, 'diagramWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=599,height=540,left=0,top=0')
	diagramWin.focus()
}
function picopen(n) {
title = ('title' + n);
pic = ('pic' + n);
if (document.layers) {
document.layers[title].document.images[pic].src = "images/bright_green_button.gif";
}
else if (document.all) {
document.all(pic).src = "images/bright_green_button.gif";
   }
}
function picclose(n) {
title = ('title' + n);
pic = ('pic' + n);
if (document.layers) {
document.layers[title].document.images[pic].src = "images/gray_button.gif";
}
else if (document.all) {
document.all(pic).src = "images/gray_button.gif";
   }
}
function controlExpand() {
 var sup = event.srcElement.id; // ID of super menu that was clicked 
    if (sup != '') {
    var sub = document.all[(sup + "Sub")] // ID plus "Sub"
        if (sub != null) { // if sub menu exists, toggle display
            if (sub.style.display == 'none') sub.style.display = '';
            else sub.style.display = 'none'; 
        }
    }
}
function catWindow() {
	catWindow = window.open('indrlcat/indcat.htm', 'catWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable=yes,border="0",width=1000,height=475,left=0,top=200')
	catWindow.focus()
}
function selectorWindow(page) {
	selectorWin = window.open(page, 'selectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=620,height=500,left=20,top=40')
	selectorWin.focus()
}
function pdfWindow(page) {
	pdfWin = window.open(page, 'pdfWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=1000,height=500,left=20,top=40')
	pdfWin.focus()
}
function htmlWindow(page) {
	htmlWin = window.open(page, 'htmlWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=1000,height=500,left=20,top=40')
	htmlWin.focus()
}
function gotoParent(page) {
	opener.location = page;
	window.close();
}
function uSelectorWindow(page) {
	uSelectorWin = window.open(page, 'uSelectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=760,height=500,left=20,top=40')
	uSelectorWin.focus()
}
function tapSelectorWindow(page) {
	tapSelectorWin = window.open(page, 'tapSelectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=620,height=500,left=20,top=40')
	tapSelectorWin.focus()
}
function snapSelectorWindow(page) {
	snapSelectorWin = window.open(page, 'snapSelectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=620,height=500,left=20,top=40')
	snapSelectorWin.focus()
}
function camSelectorWindow(page) {
	camSelectorWin = window.open(page, 'camSelectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=780,height=500,left=20,top=40')
	camSelectorWin.focus()
}
function knifeSelectorWindow(page) {
	knifeSelectorWin = window.open(page, 'knifeSelectorWin', 'menubar=yes,toolbar=no,scrollbars=yes,location=no,resizable,border="0",width=390,height=500,left=20,top=40')
	knifeSelectorWin.focus()
}
