// JavaScript Document
function view_license(id,style)
{
	if(id != "" && style != "")
	{
		if(style=='A')
		{
			popUpWindow('license_library.htm',50,50,660,495)
		}
		if(style=='B')
		{
			popUpWindow('license_designer.htm',50,50,660,595)
		}
		if(style=='C')
		{
			popUpWindow('license_sourcecode.htm',50,50,660,606)
		}
		if(style=='D')
		{
			popUpWindow('license_oem.htm',50,50,660,595)
		}
		if(style=='E')
		{
			popUpWindow('disclaimer.htm',50,50,660,595)
		}
		if(style=='F')
		{
			popUpWindow('privacy_policy.htm',50,50,660,500)
		}
		if(style=='G')
		{
			popUpWindow('license_indicator_gauges.htm',50,50,660,595)
		}
		if(style=='H')
		{
			popUpWindow('refund_policy.htm',50,50,660,495)
		}
		
	}
}
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}