// JavaScript Document
function contents_DoFSCommand(command,args) {
	if (command == "openPopWinV") {
		var newWin = window.open("popup/zoom/samples_zoom.html?myfile="+args,"_blank","width=620,height=776,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
		newWin.resizeTo(620,776);
	} else if (command == "openPopWinH") {
		var newWin = window.open("popup/zoom/samples_zoom.html?myfile="+args,"_blank","width=990,height=661,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
		newWin.resizeTo(990,661);
	} else if (command == "openPopWinVideo") {
		var newWin = window.open("popup/zoom/samples_zoom.html?myfile="+args,"_blank","width=880,height=600,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
		newWin.resizeTo(880,600);
	} else if (command == "openPopWin1") {
		var newWin = window.open(args+'.html',"_blank","width=560,height=730,location=no,directories=no,status=no,scrollbars=yes,resizable=no");
		newWin.resizeTo(560,730);
	} else if (command == "openGallery") {
		var newWin = window.open("gallery/index.html","gallery_d300s","width=1050,height=760,location=no,directories=no,status=no,scrollbars=yes,resizable=no");
		newWin.resizeTo(1050,810);
	} else if (command == "openThanks") {
		var newWin = window.open("specialthanks/index.html","specialthanks","width=450,height=400,location=no,directories=no,status=no,scrollbars=yes,resizable=no");
	} else if (command == "openDTtop") {
		var newWin = window.open("http://www.nikondigitutor.com/index_eng.html","_self");
	} else if (command == "openTop") {
		var newWin = window.open("index.html","_self");
	} 
	newWin.focus();
}
