function googleSearch(googleSearchWebPath){
	var searchForm = $('cse-search-box');
	searchForm.writeAttribute('action',googleSearchWebPath);
	searchForm.insert('<input type="hidden" name="cof" value="FORID:11" />');
}

function googleBlur(xmlPath){
	if ($('googleSearchBox').getValue() == ''){
		$('googleSearchBox').writeAttribute('style','background:#fff url('+xmlPath+'styles/sa/images/google_custom_search_watermark.gif) left no-repeat');
	}else{
		$('googleSearchBox').writeAttribute('style','');
	}
}

function parseHiddenTags(){
	var tagsToHide = $$('.hidden');
	tagsToHide.each(function(item) {
		item.writeAttribute('style','display:none');
	});
	var tagsToUnhide = $$('.shown');
	tagsToUnhide.each(function(item) {
		item.writeAttribute('style','');
	});
	
}
function showBlinds(random){
	Effect.Fade('show'+random, {duration:1});
	Effect.SlideDown('hide'+random, {transition: Effect.Transitions.sinoidal});
	Effect.Appear('hiddenArrow'+random);
}

function hideBlinds(random){
	Effect.Appear('show'+random);
	Effect.SlideUp('hide'+random, {transition: Effect.Transitions.sinoidal});
	Effect.Fade('hiddenArrow'+random, {duration:1});
}