function checkCPLogin()	{
	var cp = document.forms.cp;
	if (cp.purl.value != "" && cp.usr.value != "" && cp.pwd.value != "") {	
		cp.submit();
	} else {
		alert("You haven't filled in all required login details for the Site Control Panel!");
	}
}


function checkWMLogin()	{
	var wm = document.forms.wm;
	if (wm.user.value != "" && wm.pass.value != "")	{
		wm.submit();
	} else {
		alert("You haven't filled in all required login details for Web Mail!");
	}
}

function change(pages) {
	document.f.action = document.f.action+ "?pages="+pages;
  document.f.submit();
}

function openManualWindow()	{
		if (typeof(bigger) != "undefined") bigger.close();
		bigger = window.open("http://217.68.23.140/controlpanel/manual/manual.pdf", "Bigger","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=700,height=450")
	}