
function FeaturesWindow(url) 
{
	var link = window.open(url, "link", "width=550,height=480");
}

function OptionInfoWindow(Title, Content)
{
	NewWindow = window.open('', 'NewWin', 'scrollbars=yes,resizable=yes,width=500,height=300')

	var HTML = "<HTML><HEAD><TITLE>" + Title + "<\/TITLE><\/HEAD><BODY>" + Content + "<BR><FONT FACE='ARIAL' SIZE='2'><A HREF='javascript:window.close()'>Close Window<\/A><\/FONT><\/BODY><\/HTML>"
	
	NewWindow.document.write(HTML)
	NewWindow.document.close()
}

function LargeImageWindow(LargeImageLink, ProductName)
{
	NewWindow = window.open('', 'NewWin', 'scrollbars=yes,resizable=yes,width=600,height=400')

	var HTML = "<HTML><HEAD><TITLE>" + ProductName + "<\/TITLE><\/HEAD><BODY><IMG SRC='" + LargeImageLink + "' BORDER='0' ALT='" + ProductName + "'><BR><FONT FACE='ARIAL' SIZE='2'><A HREF='javascript:window.close()'>Close Window<\/A><\/FONT><\/BODY><\/HTML>"
	
	NewWindow.document.write(HTML)
	NewWindow.document.close()
}

var win= null;
function NewWindow(mypage,myname,w,h,scroll)
{
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  win=window.open(mypage,myname,settings);
}

var win= null;
function NewWindowResizeable(mypage,myname,w,h,scroll)
{
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
}
