
            $(document).ready(function(){ 
                $("ul.sf-menu").supersubs({ 
                    minWidth:    5,
                    maxWidth:    27,
                    extraWidth:  1 
                }).superfish();
            }); 
			
			
			$(document).ready(function(){ 
				$('.text').each(function() {
					var text = this.value;
					$(this).css('color', '#666');
					$(this).focus(function() {
						if(this.value == text) {
							this.value = '';
							$(this).css('color', '#333');
						}
					});
					$(this).blur(function() {
						if(this.value == '') {
							$(this).css('color', '#666');
							this.value = text;
						}
					});
				});				   
			});	
			
			$(document).ready(function() {
				$("a.popup").fancybox({
					'padding': 0,
					'margin': 0,
					'scrolling': 'no',
					'autoDimensions': 'true',
					 onStart: function() {
						$(".popup_tab").css({
							marginTop : 54
						});
					}
				});
			});
			
			$(document).ready(function() {
				$("a.leaving").fancybox({
					'padding': 0,
					'margin': -200,
					'scrolling': 'no',
					'autoDimensions': 'true'
				});
			});
			
