/*
 *	written by Vahid Ghafarpour	
 *
 *	Copyright (c) 2009 Vahid Ghafarpour (http://vahid.ghafarpourur.com)
 *	Dual licensed under the MIT (MIT-LICENSE.txt)
 *	and GPL (GPL-LICENSE.txt) licenses.
 *
 */
 
function clearSearch(el)
{
	if (el.defaultValue==el.value) 
		el.value = "";
}

function doSearch(query)
{
	window.location = "http://www.google.com/search?q=site%3Aghafarpourur.com+" + query;
}
