function doOpen2()
{
 var height;
 var width;
 var statusbar;
 var s = "https://www.lsn.com.au/scripts/cgiclnt.dll/LSN/ND000_?EWF_SYS_0=e95654f1-2565-11d4-8fa4-00b0d0302a92&EWF_FORM_NAME=0100733&EWF_BUTTON_Submit=Submit";

 if ((screen.availHeight <= 600) || (screen.availWidth <= 800)) {
   statusbar = 0;
   if(screen.availHeight > 600){
     height = 600;
   }
   else{
     height = screen.availHeight - 28;
   }
   if(screen.availWidth > 800){
     width = 800;
   }
   else{
     width = screen.availWidth - 10;
   }
 }
 else {
   statusbar = 1;
   height = 600;
   width = 800;
 }

 if (navigator.appName=="Netscape"){
  if (statusbar){
   window.open(s, "LSN", "toolbar=no,status=yes,location=no,menubar=no,directories=no,scrollbars=yes,resizable=no,screenX=0,screenY=0,left=0,top=0,width=" + width + ",height=" + height);
  }
  else{
   window.open(s, "LSN", "toolbar=no,status=no,location=no,menubar=no,directories=no,scrollbars=yes,resizable=no,screenX=0,screenY=0,left=0,top=0,width=" + width + ",height=" + height);
  }
 }
 else{
  if (statusbar){
   window.open(s, "LSN", "toolbar=no,status=yes,location=no,menubar=no,directories=no,scrollbars=yes,resizable=yes,screenX=0,screenY=0,left=0,top=0,width=" + width + ",height=" + height);
  }
  else{
   window.open(s, "LSN", "toolbar=no,status=no,location=no,menubar=no,directories=no,scrollbars=yes,resizable=yes,screenX=0,screenY=0,left=0,top=0,width=" + width + ",height=" + height);
  }
 }
}

function Popup(strURL, strName, intWidth, intHeight, strStatus, strScroll, strResize, strToolbar, strMenu, intTop, intLeft) {
	if (!strURL) {
		alert('A link must be specified when using the Popup function.');
	}
	else {
		window.name = 'popupopener';
		var strTop, strLeft;
		if (!strName) strName = 'popup';
		if (!intWidth) intWidth = 600;
		if (intWidth > (window.screen.width - 25)) intWidth = (window.screen.width - 25);
		if (!intHeight) intHeight = 400;
		if (intHeight > (window.screen.height - 125)) intHeight = (window.screen.height - 125);
		if (!strStatus) strStatus = 'yes';
		if (!strScroll) strScroll = 'yes';
		if (!strResize) strResize = 'yes';
		if (!strToolbar) strToolbar = 'no';
		if (!strMenu) strMenu = 'no';
		if (intTop && !isNaN(intTop)) strTop = ',top=' + intTop;
		if (intLeft && !isNaN(intLeft)) strLeft = ',left=' + intLeft;
		var objWindow = window.open(strURL, strName, 'width=' + intWidth + ',height=' + intHeight + ',status=' + strStatus + ',scrollbars=' + strScroll + ',resizable=' + strResize + ',toolbar=' + strToolbar + ',menubar=' + strMenu + strTop + strLeft);
		objWindow.focus();
	}
}

function ChangeImage(strName, strSource) {
	document.images[strName].src = strSource;
}