<!--

/*
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
        if (browserName == "Netscape" && browserVer >= 3 || browserName == "Microsoft Internet Explorer" && browserVer>=4) version = "n3";
        else version = "x";
        if (version == "n3")
		{
*/

		addsimilaron = new Image();
		addsimilaron.src = strImagePath + "AddsimilarOn.gif";
		addsimilaroff = new Image();
		addsimilaroff.src =  strImagePath + "AddsimilarOff.gif";
		editon = new Image();
		editon.src =  strImagePath + "EditOn.gif";
		editoff = new Image();
		editoff.src =  strImagePath + "EditOff.gif";
		deleteon = new Image();
		deleteon.src =  strImagePath + "DeleteOn.gif";
		deleteoff = new Image();
		deleteoff.src =  strImagePath + "DeleteOff.gif";
		advancedsearchon = new Image();
		advancedsearchon.src =  strImagePath + "AdvancedSearchOn.gif";
		advancedsearchoff = new Image();
		advancedsearchoff.src =  strImagePath + "AdvancedSearchOff.gif";
		simplesearchon = new Image();
		simplesearchon.src =  strImagePath + "SimpleSearchOn.gif";
		simplesearchoff = new Image();
		simplesearchoff.src =  strImagePath + "SimpleSearchOff.gif";
		printon = new Image();
		printon.src =  strImagePath + "PrinterOn.gif";
		printoff = new Image();
		printoff.src =  strImagePath + "PrinterOff.gif";
		additemon = new Image();
		additemon.src =  strImagePath + "AddItemOn.gif";
		additemoff = new Image();
		additemoff.src =  strImagePath + "AddItemOff.gif";
		addcategoryon = new Image();
		addcategoryon.src =  strImagePath + "AddcategoryOn.gif";
		addcategoryoff = new Image();
		addcategoryoff.src =  strImagePath + "AddcategoryOff.gif";
		uploadon = new Image();
		uploadon.src =  strImagePath + "DBUploadOn.gif";
		uploadoff = new Image();
		uploadoff.src =  strImagePath + "DBUploadOff.gif";
		exporton = new Image();
		exporton.src =  strImagePath + "DBExportOn.gif";
		exportoff = new Image();
		exportoff.src =  strImagePath + "DBExportOff.gif";

		//}
function img_act(imgName)
{
		if (version == "n3")
		{
		imgOn = eval(imgName + "on.src");
		document [imgName].src = imgOn;
		}
}
function img_inact(imgName)
{
		if (version == "n3")
		{
		imgOff = eval(imgName + "off.src");
		document [imgName].src = imgOff;
		}
}

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,menubar=yes,toolbar=yes'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function BatchNewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,menubar=no,toolbar=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

// -->
