jQuery(function($) {
	$('#bcr_packshot_1').hover(
      function(){$('#bcr_packshot').css('background-position','0 -348px');}, 
      function(){$('#bcr_packshot').css('background-position','0 0');}
    ).click(function(){
		this.target = '_blank';
	}).add('.bcr_wrapper a[rel=external],#bcr_pp a,#bcr_abi a,#bcr_visit a').click(function(){
		var obj = swfobject.getObjectById('bcr_swf');
		if (obj) { obj.stopVideo(null); }
	});
	$('#bcr_pp a,#bcr_abi a').click(function(){
    	var win_width = 580;
		var win_height = 550;
		var win_left = parseInt((window.screen.width - win_width) / 2);
		var win_top = parseInt((window.screen.height - win_height) / 2);
		window.open($(this).attr('href'),'armored_'+Math.floor(Math.random()*11),'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+win_width+',height='+win_height+',top='+win_top+',left='+win_left);
		return false;
  });
  $('#bcr_visit a').click(function(){
    var win_width = screen.width;
      var win_height = screen.height;
      var win_top = 0;
      var win_left = 0;
    window.open($(this).attr('href'),'armoredts_'+Math.floor(Math.random()*11),'fullscreen=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width='+win_width+',height='+win_height+',top='+win_top+',left='+win_left);
    return false;
  });
});
function getAnchorAndAreaLinks(){ return $('a,area'); }