numWindows = 0;
function openPicture(x, y, pic) {

	handle = window.open(pic,numWindows,"scrollbars=no,status=no,resizable=yes,width="+x+",height="+y);
	numWindows++;
}

function openSpec(spec) {
	handle = window.open("specifications/spec_" + spec + ".htm", numWindows, "scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,status=yes,width=600,height=450");
	numWindows++;
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function details(theURL) {
	details_handle = window.open(theURL,numWindows, "scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,status=yes,width=400,height=300,top=0,left=0");
	numWindows++;
if(parseInt(navigator.appVersion) >= 4){details_handle.window.focus();}
}

function bigPic(theURL) {
  bigPic_handle = window.open(theURL,numWindows,"scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,status=yes,width=650,height=530,top=0,left=0");
	numWindows++;
if(parseInt(navigator.appVersion) >= 4){bigPic_handle.window.focus();}
}

function photoPopup(theURL,w,h,t,l) {
if(parseInt(navigator.appVersion) >= 4){
  	l = (screen.width - w) / 2;
  	t = (screen.height - h) / 2;
  }
  var loc = 'width=' + w + ',height=' + h + ',top=' + t + ',left=' + l;
  photoPopup_handle = window.open(theURL,numWindows,",,,,,scrollbars,resizable," + loc);
	numWindows++;
if(parseInt(navigator.appVersion) >= 4){photoPopup_handle.window.focus();}
}

function openW(url, name, w, h, o) {
// options - menubar,location,resizable,scrollbars,status,toolbar (there are more)
// if you want them just list them seperated by commas
	var wlocation = "scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,status=yes,left=25,screenX=25,top=25,screenY=25";
	var windowprops = "width=" + w + ",height=" + h;
	if (o != '')
		windowprops = windowprops + "," + o + "," + wlocation;
	popup = window.open(url, name, windowprops);
}






















