// JavaScript Document

function openviewWin(url, name, width, height, location, menubar, status, toolbar)
	{
		if (name == null)
		{
			name = "pictureWin";
		}
		if (width == null)
		{
			width = width;
		}
		if (height == null)
		{
			height = height;
		}
		if (location == null)
		{
			location = "no"
		}
		if (menubar == null)
		{
			menubar = "no"
		}
		if (status == null)
		{
			status = "yes"
		}
		if (toolbar == null)
		{
			toolbar = "no"
		}

		popupWin = window.open(url, name, 'width=' + width + ',height=' + height + ',location=' + location + ',menubar=' + menubar + ',status=' + status + ',toolbar=' + toolbar +',scrollbars=yes,resizable=yes,screenx=0,screeny=0,left=0,top=0');
		popupWin.focus();

	}