/*--------------------------------------------------------------------------
*	edaView, version 1.0
*	Explore the history of synagogues in Germany
*	Authors ordered alphabetical:
*	
*	(c) 2008 Daniel von der Helm
*  	(c) 2008 Dennis Kleine
*
*	Tue Jul 01 23:35:22 CET 2008
*	http://edaview.sourceforge.org/
*
*  	edaView is freely distributable under the terms of an GNU General Public License.
*  	For details, see the edaView Project Home at: http://www.sourceforge.org/projects/edaview/
*
*	The above copyright notice and this permission notice shall be
*	included in all copies or substantial portions of the Web-Application.
*
*	edaView was developed at the university of applied sience Kaiserslautern (Zweibrücken) as a student project
*	during the course Mediaproduction - and conception. This application is distributed without any warranty. 
*	See the GNU General Public License for more details.
*--------------------------------------------------------------------------*/

function searchCity()
{
	var city = footerCont.getOrtsValue();
	var url = 'patterns/search.php';
	var param = '?action=searchcity&city='+city;
	if(city != '')
	{
		if($('leftinterface').style.display == 'none')
			slideRight('leftinterface');
		$('lififrame').src = url+param;
		footerCont.refreshFilters();
	}
	else
	{
		closeInterface('leftinterface');
	}
}
