<!--

					// products_view.asp, for "More Information"
function goto(x) {
  if (x != "#") {
  wind = window.open(x,'wind','location=yes,toolbar=yes,menubar=yes,resizable=yes,scrollbars=yes,status=yes,dependent=yes');
  wind.focus();
  }
}

					// p = page or picture, w = width, h = height
					// e.g. <a href="javascript:open_object('gfx/picture.gif',250,300)">Open Picture in new Window</a>

function open_object(p,w,h) {	
window.open(p,'Wind'+new Date().getTime(),'height='+h+',width='+w+',location=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,status=no')
}



					// this one has expired, use open_object() instead
function open_tour()
{
window.open('http://www.winternals.com/products/tours/erdcommander2002/1.asp','PopUp','height=595,width=800,scrollbars=no,resizable=no,status=no,menubar=no,toolbar=no');
}



					// newsletter.asp
function ow(page) {	
win=window.open(page,'win','width=300,height=300,left=25,top=0,toolbar=no,scrollbars=no,copyhistory=no,menubar=no,status=no,resizable=no,location=no,directories=no')
}



					// download_file.asp
function DisableButton() { 	
frm.submit.value = "Please wait...file is processing!";
}


					// newsletter_newuser.asp & newsletter_profile.asp
function checkfields() {
var miss = "";
var path = document.frm;

if (path.Firstname.value == ""){
		miss +="\n - First name";
}
if	(path.Lastname.value == ""){
		miss +="\n - Last name";
}
if	(path.Country.value == "0"){
		miss +="\n - Country";
}
if 	((path.Email.value == "") || (path.Email.value.indexOf('@') == -1) ||
	(path.Email.value.indexOf('.') == -1) || (path.Email.value.length <= 5)) {
		miss += "\n - Email";
}
if 	(path.Password.value == "") {
	miss += "\n - Password";
}
if (miss != "") {
		msg = "Please provide:\n" + miss;
		alert(msg);
		path.Firstname.focus();
		return false;
	}
	return true
}


//-->