function openWindow(url, title, lngWidth, lngHeight) {
	win = window.open(url, title, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=' + lngWidth + ',height=' + lngHeight + ', top=' + eval(top.window.screenTop + 10) + ', left=' + eval(top.window.screenLeft + 10));
	if (navigator.appName == 'Netscape') {
		win.focus();
	}
}

function openWindowCons(url, title, lngWidth, lngHeight) {
	win = window.open(url, title, 'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=0,width=' + lngWidth + ',height=' + lngHeight + ', top=' + eval(top.window.screenTop + 10) + ', left=' + eval(top.window.screenLeft + 10));
	if (navigator.appName == 'Netscape') {
		win.focus();
	}
}

function SubmitForm(strFormname) {
	eval('document.' + strFormname + '.submit()');
}

function imgSwap(ref,imgsrc){
	if (document.images){
		if (ref){
			ref.src=imgsrc;
		}
	}
}

function printVersion()
{
	if (document.all)
	{
		PageTxt = ContentToPrint.innerHTML;
	} 
	else
	{
		if (document.getElementById)
		{
			PageTxt = document.getElementById("ContentToPrint").innerHTML;
		}
	}

	document.forms[0].TOriginalText.value = PageTxt;
}

function winopen(url, title, lngWidth, lngHeight) {
	win = window.open(url, title, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=' + lngWidth + ',height=' + lngHeight + ', top=' + eval(top.window.screenTop + 10) + ', left=' + eval(top.window.screenLeft + 10));
	if (navigator.appName == 'Netscape') {
		win.focus();
	}
}

