function MM_openBrWindow_(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openDisclaimer(url) {
    MM_openBrWindow_( 'popups/leave.jsp?url=' + url,'winDisclaimer','width=390,height=350');
}

var Site = {
   init: function() {
       Site.boxes.init();
   },           
   boxes: {
       init: function() {
           SqueezeBox.initialize({
               staticTopOffset: 30,
               openFn: function() {
                   new Fx.Scroll(document.id(document.body)).toTop();
                   loadVideo();
                   loadVideoDemo();
               }
           });
           SqueezeBox.assign($$('a.squeezeBox'), {
               parse: 'rel'
           });
           SqueezeBox.assign($$('a[rel=boxed][href^=#]'), {
	       		size: {x:840,y:640}
	       	});

       }
   }
};

function closeBox() {
   try {
       SqueezeBox.close();
   } catch (e) { }
}

jQuery(function(){Site.init();});

function moveToSlide(slide) {		    
	if (slide != null && slide != "")
	{
		var loc = location.href.split("#")[0];	
		location.href = loc + "#" + slide;
		
	}	
}

