var slidestck = new Array();
function slide(tab, link, n) {
	if(slidestck.length>0){
		var pn = slidestck.pop();
		var el = document.getElementById(tab+pn);
		el.style.display='none';
		var lk = document.getElementById(link+pn);
		if(lk!=null)
			lk.style.borderBottom='dotted 1px #333333';
	} var el = document.getElementById(tab+n);
	if(el!=null && el.style.display=='none') {
		el.style.display = '';
	 	var lk = document.getElementById(link+n);
	 	if(lk!=null){
	 		lk.style.borderBottom = 'solid 1px #4B2949';
			lk.style.paddingBottom = '6px';
	 	} slidestck.push(n);
	}
} //slide('tab','link',0);
var newwindow;
function popup(url) {
	newwindow=window.open(url,'name','toolbar=0');
	if (window.focus) {
		newwindow.focus()
	} return false;
}
var GB_ANIMATION = true;
$(document).ready(function(){
	$("a.greybox").click(function(){
		var t = this.title || $(this).text() || this.href;
		GB_show(t,this.href,446,800);
		return false;
	});
});
