<!--

function Popup_PhotoViewer(FileName,FileType,NumOfPhoto,Pnum){
	Popup_PhotoViewer0(FileName,FileType,NumOfPhoto,Pnum,'MAMMOTH PhotoViewer');
}

function Popup_PhotoViewerTak(FileName,FileType,NumOfPhoto,Pnum){
	Popup_PhotoViewer0(FileName,FileType,NumOfPhoto,Pnum,'FG PhotoViewer');
}

function Popup_PhotoViewer0(FileName,FileType,NumOfPhoto,Pnum,TitleStr){

	var Hurl	= "";

	var name	="MammothPhotoVierwer";

	Nwindow		=window.open( Hurl, name, "screenX=0, screenY=0, toolbar=0, titlebar=0, addressbar=0, locationbar=0, location=0,directories=0,status=0,statusbar=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,alwaysRaised=1, dependent=1, width=360 ,height=240 ");
	
	Nwindow.moveTo(0,0);
	
	Nwindow.document.open();
	
	// Nwindow.focus();
	
	Nwindow.document.write ('<html>');
	Nwindow.document.write ('<body>');
	Nwindow.document.write ('<form name="form1" method="post" action="/PVasp/photoviewer.asp">');
	Nwindow.document.write ('<input type="hidden" name="FileName" value="' + FileName +'">');
	Nwindow.document.write ('<input type="hidden" name="FileType" value="' + FileType +'">');
	Nwindow.document.write ('<input type="hidden" name="NumOfPhoto" value="' + eval(NumOfPhoto) +'">');
	Nwindow.document.write ('<input type="hidden" name="PNumber" value="' + eval(Pnum) + '">');
	Nwindow.document.write ('<input type="hidden" name="TitleStr" value="' + TitleStr + '">');
	Nwindow.document.write ('</form>');
	Nwindow.document.write ('</body>');
	Nwindow.document.write ('</html>');
	
	Nwindow.document.form1.submit();

}

//-->

