<!-- Hide script from old browsers
function showphoto(script,id,dir,name,visible) 
{		
			mouseOut = false;
			flag=2;			
			if (visible!='0')	insert_code(script+'?id='+id+'&dir='+dir+'&name='+name,'TipLayer');			
			 
}

function popup(url,winWidth,winHeight,sb) 
{	
	winTop = (screen.height - winHeight) / 2;
	winLeft = (screen.width - winWidth) / 2;
	window.open(url,"","width=" + winWidth + ",height=" + winHeight + ",top=" + winTop  + ",left=" + winLeft  + ",resizable=no,scrollbars=" + sb + ",toolbar=no");
}

function requiredFieldValidation(sender, parameter)
{
    if(parameter == '')
        return false;
    else
        return true;
}

function showInquiry(divId)
{
	if (jQuery('#'+divId).css("display") == 'none')
		jQuery('#'+divId).show('fast');	
	else
		jQuery('#'+divId).hide('fast');
}

function changeDoIt(element, container){
	$$('.fp_tabs a').each(function(obj){obj.removeClassName('current')});
	$$('.tabs_content').each(function(obj){obj.hide()});
	element.className = "current";
	document.getElementById(container).style.display="block";
	//$(container).show();
}

function changeNews(element, container){
	$$('.featured a').each(function(obj){obj.removeClassName('current')});
	$$('.featured_content').each(function(obj){obj.hide()});
	element.className = "current";
	document.getElementById(container).style.display="block";
	//$(container).show();
}
// End hidding script from old browsers -->

function changeLogos(container, target, element){
	$$("#"+container+" div").each(function(el){el.hide()});
	$$("#"+container+" a ").each(function(el){el.removeClassName("current")});
	obj = document.getElementById(target);
	obj.style.display="block";
	element.className = "current";
}

