 $(function() {
                $('#container-1').tabs();
  $('#container-1 ul li a').click(function () {location.hash = $(this).attr('href');
  $("#crumbNav").empty();
  $("#crumbNav").append(this.text);
});
});
 
 function displayText(){
document.getElementById("enter").value="Search Convergia.com";
document.getElementById("enter").style.fontFamily="Arial,Helvetica,sans-serif";
}

function changeValue(){
	   var value1=document.getElementById('open1').value;
	    if(value1 =="open"){
		 document.getElementById('open1').value="close";
		 document.getElementById('open_1').innerHTML="Close";
		}
		else if(value1 =="close"){
		 document.getElementById('open1').value="open";
		 document.getElementById('open_1').innerHTML="Open";
		}
	  
	   
	   }


//select country 
$(document).ready(function(){ 
 $('.countryi').hide(); 
  $('#dropdown').change(function() { 
    $('.countryi').hide(); 
    $('#div' + $(this).val()).show(); 
 }); 
}); 

$(document).ready(function(){
	$(".phoneadapter1").click(function(){
		$("#adaptertext1").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#adaptertext1").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phoneadapter2").click(function(){
		$("#adaptertext2").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#adaptertext2").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phoneadapter3").click(function(){
		$("#adaptertext3").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#adaptertext3").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});
$(document).ready(function(){
	$(".phoneadapter4").click(function(){
		$("#adaptertext4").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#adaptertext4").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});
$(document).ready(function(){
	$(".phoneadapter5").click(function(){
		$("#adaptertext5").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#adaptertext5").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone1").click(function(){
		$("#phtext1").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext1").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone2").click(function(){
		$("#phtext2").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext2").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone3").click(function(){
		$("#phtext3").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext3").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone4").click(function(){
		$("#phtext4").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext4").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone5").click(function(){
		$("#phtext5").fadeIn();
		$(".backgrounddiv1").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext5").fadeOut();
		$(".backgrounddiv1").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone6").click(function(){
		$("#phtext6").fadeIn();
		$(".backgrounddiv1").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext6").fadeOut();
		$(".backgrounddiv1").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".phone7").click(function(){
		$("#phtext7").fadeIn();
		$(".backgrounddiv1").fadeIn();
	
	});
	$(".close").click(function(){
		$("#phtext7").fadeOut();
		$(".backgrounddiv1").fadeOut();
	
	});
});


//text popup
$(document).ready(function(){
	$(".popuptxt1").click(function(){
		$("#text1").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#text1").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".popuptxt2").click(function(){
		$("#text2").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#text2").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){
	$(".popuptxt3").click(function(){
		$("#text3").fadeIn();
		$(".backgrounddiv").fadeIn();
	
	});
	$(".close").click(function(){
		$("#text3").fadeOut();
		$(".backgrounddiv").fadeOut();
	
	});
});

$(document).ready(function(){

  $("#container-1").show();
	
});

