﻿<!--


function toggleMe(a){
	var obj = jQuery("#" + a);
	var timer;
	obj.toggle();
	timer = window.setTimeout("hideFlyOuts()", 1000);
	
	obj.hover(function(){
			clearTimeout(timer);
		},
		function() {
			timer = window.setTimeout("hideFlyOuts()", 1000);
		});
}
function hideFlyOuts(){
	jQuery("#selLangFlwOut, #selLandFlwOut").hide();
}
//-->

function enhanceInput(a) {
	var elm = jQuery(a);
	var value = elm.attr('value');
	elm.focus(function(){jQuery(this).attr('value', '')});
	elm.blur(function(){
		if(jQuery(this).attr("value") == '') {
			jQuery(this).attr('value', value);
		}
	});
	
}

jQuery(document).ready(function(){
	enhanceInput('.searchTxt');
	enhanceInput('.loginUser');
	enhanceInput('.loginPW');
});