	// (c) 2004 CCT Technologies Inc.
	var ns4	= document.layers?1:0
	var ie	= document.all?1:0
	var ns6	= document.getElementById&&!document.all?1:0
	
	function viewFormat(pDocRecNo)
	{
		window.open('/docFormat_list.asp?docRecNo='+pDocRecNo, 'AnnWindow', 'width=520,height=450,top=150,left=200,scrollbars=auto,status=no,menubar=no,resizable=yes');
	}
		var sLoc = window.location.href;
	//alert(sLoc);
	
	var arr = sLoc.split("/");
	var iIndex = arr.length - 1;
	
	var s = "";
	for(var iCount=0; iCount < arr.length; iCount++)
		s += iCount + " :  " + arr[ iCount ] + "\n";
	if (arr[ iIndex ] != "")
		var sfileName = "ns_" + arr[ iIndex ];
	else
		var sfileName = "ns_default.asp"
	//alert(sfileName + "\n" + s);
	if (ns4) { window.location = sfileName }
	
