function land(ref,target){// http://www.yahoo.com*_blank <select name="choice" size="1" onchange="jump(this.form)">
lowtarget=target.toLowerCase();
if(lowtarget=="_self"){window.location=loc;}
else{if(lowtarget=="_top"){top.location=loc;}
else{if(lowtarget=="_blank"){window.open(loc);}
else{if(lowtarget=="_parent"){parent.location=loc;}
else{parent.frames[target].location=loc;};}}}}
function jump(menu){ref=menu.choice.options[menu.choice.selectedIndex].value;splitc=ref.lastIndexOf("*");target="";
if(splitc!=-1)
{loc=ref.substring(0,splitc);target=ref.substring(splitc+1,1000);}
else{loc=ref;target="_self";};
if(ref !=""){land(loc,target);}}
function clearonfocus(box){
if(box.value==box.defaultValue){box.value="";}}
function resetonblur(box){
if(box.value==""){box.value=box.defaultValue;}}
/* http://github.com/enure/Hide-All-Except-One */
(function($){$.hideAllExcept=function(tabs,boxes){function init(){var hash=window.location.hash;(!hash)?hideShow('#'+$(boxes+':first').attr('id')):hideShow(window.location.hash);$(tabs).click(function(e){e.preventDefault();var href=$(this).attr('href');window.location.hash=href;hideShow(href);});}
function hideShow(el){$(boxes).hide();$(el).show();$(tabs).removeClass('active');$('a[href="'+el+'"]').addClass('active');}
init();};})(jQuery);
$(function($){$.hideAllExcept('.tab', '.box');});
$(function() {
$('#main-content a:not(:has(img,span))').filter(function(){return this.hostname && this.hostname !== location.hostname;}).append('&nbsp;<img src="/_n/i/icons/ext.png" height="10" width="10" alt="external" />');});
