
function onClickSearch(obj){
	if(obj.value=='Search'){
		obj.value='';
	}
}

function onBlurSearch(obj){
	if(obj.value==''){
		obj.value='Search';
	}
}

function goSearch(id){
	try{
		var obj = document.getElementById(id);
		if(obj){
			if (obj.value!='' && obj.value!='Search' ){
				var url = 'http://www.google.com/search?as_sitesearch=www.ithosglobal.com&as_q=' + obj.value;
				var nWindow = window.open(url, "WebSeqach", "resizable, ");
			}
		}
	}catch(e){return};
}

$(function ()
{

    $('#info-tabs .inner:first').fadeIn(200);
    $('#info-tabs li:first').addClass('current-tab');

    $('#info-tabs li').mouseover(function ()
    {
        var current =  $(this);

        $("#info-tabs *").stop(true, true);
        $("#info-tabs li").removeClass("current-tab");
        current.addClass("current-tab");
        $("#info-tabs .inner:visible").fadeOut(200);
        $("#info-tabs .inner#" + current.attr("id")).delay(200).fadeIn(200);
    });
});

