//jQuery code:
$(document).ready(function() {
	
	//Remove the "Get Directions" if js is enabled
	$('.remove').remove();

	//Add the jump go menu for our js users only
	$('div#getVisaCountry').css('display', 'inherit');
	$('a#getInstructionsButton').css('display', 'none');
	$('#visaService').css('display', 'inherit');
	//Remove the moveUp class if js is enabled.  If js is disabled the 'Popular Visas' section will move up, filling in white space left by the countries select menu.
	$('div.col1').removeClass('moveUp');
	
	//Add some rounded corners to evil IE >:{
	$('.no-borderradius #main').corner('7px');
	$('.no-borderradius .featured').corner('7px');
	$('.no-borderradius #visaService').corner('7px');
	$('.no-borderradius .visaContainer').corner('7px');
  
    //colorbox
	$('.colorbox').colorbox({width: 601, height: 338, iframe:true});
  
  
   
   
});

//country jump go menu
function getVisaCountryURL(objId,targ,restore){ //v9.0
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}


