function winOpen (url,name,toolbar,left,top,width,height) {
	var format;
	var toolbarStr;
	if (toolbar == 1) {
		toolbarStr = 'toolbar=yes';
	} else {
		toolbarStr = 'toolbar=no';
	}

	if (document.all) {
		format = 'resizable=yes,';
		format = format + 'status=yes,';
		format = format + toolbarStr + ',';
		format = format + 'width='  + width  + ',';
		format = format + 'height=' + height + ',';
		format = format + 'top='   + top + ',';
		format = format + 'scrollbars=yes,';
		format = format + 'left='  + left;
	} else {
		format = 'resizable=yes,';
		format = format + 'status=yes,';
		format = format + toolbarStr + ',';
		format = format + 'titlebar=no,';
		format = format + 'scrollbars=yes,';
		format = format + 'dependent=yes,';
		format = format + 'outerWidth='  + width  + ',';
		format = format + 'outerHeight=' + height + ',';
		format = format + 'screenY='   + top + ',';
		format = format + 'screenX='  + left;
	}
	var nw = window.open(url,name,format);
	if (document.all) { 
	} else {
		nw.focus();
	}
}

function newWindow(url) {
		NaptekWindow = window.open(url, 'NapWin', 'resizable=no,toolbar=no,location=no,scrollbars=no,menubar=no,width=600,height=450')
	}
function newVideoWindow(url) {
		NaptekWindow = window.open(url, 'NapWin', 'resizable=no,toolbar=yes,location=no,scrollbars=no,menubar=no,width=320,height=240,border=no')
	}

function closeWindow() {

    window.close();

  }

function GoBack() {
	
	history.back;

}

