// fancybox added by ian

<!--
function wopen(url, name, w, h)
{
// Fudge factors for window decoration space.
 // In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
 var win = window.open(url,
  name,
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=no');
 win.resizeTo(w, h);
 win.focus();
}
// -->

// this is for the video open script:
jQuery(function() {
    jQuery("a.video").fancybox({
        'zoomOpacity'           : true,
        'overlayShow'           : true,
        'zoomSpeedIn'           : 500,
        'zoomSpeedOut'          : 500,
		'width': 520 ,
		'height': 500
    });
});



// http://www.youtube.com/watch?v=OJovft3NE80
// http://www.givegoodweb.com/post/125/sizing-and-positioning-fancybox

function showstuff(boxid){
   document.getElementById(boxid).style.visibility="visible";
}

function hidestuff(boxid){
   document.getElementById(boxid).style.visibility="collapse";
}


