animatedcollapse.addDiv('select1', 'fade=1, group=packageA')

animatedcollapse.ontoggle=function($, divobj, state){
	if (divobj.id=="select1")
		document.getElementById(divobj.id+"-toggle").className=(state=="block")? "collapse_show" : "collapse_hide"
}

animatedcollapse.init()

$(document).ready(function(){	
	$('.spanishLink').click(function(){
		document.getElementById('spanishClicks').src="spanish_clicks.html";	
		linkage(this.href); return false;
									 });
});

$(function(){
  $('a').click(function(){
				
    var popwindow = $(this).attr('className');
	if (popwindow == 'pop'){
		linkage(this.href, '_blank', 'true'); return false;
	}
	if (popwindow=='newwindow'){
		return true;
	}
	if (popwindow=='toggle'){
		return false;
	}
	
	if (popwindow=='thickbox'){
		return false;
		
	}else{
   linkage(this.href); return false;
	}
	    
  });
  });

