function changeCondition(condition)
{
	req = xmlreq();
	if(req)
	{
		req.open("GET","/includes/changeCondition.php?condition=" + condition);
		req.send(null);
		return false;
	}
	else
	{
		return false;
	}
}

function changeGalleryStyle(s)
{
	req = xmlreq();
	if(req)
	{
		req.open("GET","/includes/changeGalleryStyle.php?gallerystyle=" + s);
		req.send(null);
		return false;
	}
	else
	{
		return false;
	}
}
//added by RX for keyword in advanced search
function changeCondition2()
{
	req = xmlreq();
	if(req)
	{
		req.open("GET","/includes/changeCondition.php?condition=both");
		req.send(null);
		return false;
	}
	else
	{
		return false;
	}
}