function setPriceClass(p1,p2)
{
	var from	= document.getElementById("fromprice").value;
	var till	= document.getElementById("tillprice").value;
	
	document.location.href="/"+p1+"/"+p2+"/p="+from+":"+till+"/";
}

function openLytebox(obj,topage,boat)
{
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 600px; height: 480px; scrolling: auto;');
	if(obj.value)
	{
		anchor.setAttribute('title', obj.value);
	}
	anchor.setAttribute('href', "/frames/"+topage+"/"+boat+"/");
	anchor.setAttribute('rel', 'lyteframe');
	myLytebox.start(anchor, false, true);
	return false;
}

function closeLytebox()
{
	parent.myLytebox.end();
	return false;
}