HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/home/awaldron/public_html/archive/ras/js/scripts.js

$(window).load(function() {
	$('#slider').nivoSlider({
		effect: 'fold',
		slices: 15,
		animSpeed: 750,
		pauseTime: 8000,
		startSlide: 0
	});
});

$(document).ready(function() {

	// Set 'title' attribute = to alt
	$('img').attr('alt', function() { return this.alt; } ).attr('title', function() { return this.alt } );

	Cufon.replace('h1, h2, h3'); // Works without a selector engine
	Cufon.replace('.tnav, .tnav-on', { hover: true }); // Requires a selector engine for IE 6-7, see above

	Shadowbox.init({ overlayOpacity:0.65 });
	
	if ($('#main-right-split').length) {
	    $('body').css('background-image','url(/gui/bg-main-split.gif)');
	}
	
	$('#form-user').focus(function() {
		if ($(this).val() == 'username') { $(this).val('').css('color','#33312f'); }
	}).blur(function() {
		if ($(this).val() == '') { $(this).val('username').css('color','#8d857c'); }
	});	
	$('#form-pass-tx').focus(function() {
		$(this).hide();
		$('#form-pass-pw').show().focus();
	});
	$('#form-pass-pw').blur(function() {
		if ($(this).val() == '') {
			$(this).hide();
			$('#form-pass-tx').show();
		}
	});
	
	$('.dropdown').each(function() {
		var ddid = $(this).attr('id').substr(3);
		var tnavPos = $('#tnav-'+ddid).offset();
		//alert(' top: '+ (tnavPos.top + 45) + ' left: '+ tnavPos.left);
		$(this).offset({ top: (tnavPos.top + 45), left: tnavPos.left });
	});
	
	$('#values-that-matter').hover(
		function() { $('#values-home-over').show(); },
		function() { $('#values-home-over').hide(); }
	);

    $('#main-tnav ul li').hover(
    	function() { 
    		var ddid = $(this).attr('id').substr(3);
    		$('#dd-'+ddid).show(); 
    		if ( $('#tnav-'+ddid).hasClass('tnav') ) {
    			$('#tnav-'+ddid).addClass('tnav-on'); 
    		}    		
    	},
    	function() { 
    		var ddid = $(this).attr('id').substr(3); 
    		$('#dd-'+ddid).hide(); 
    		if ( $('#tnav-'+ddid).hasClass('tnav') ) {
    			$('#tnav-'+ddid).removeClass('tnav-on'); 
    		}  
    	}
    );

	// CONTACT FORM VALIDATION / SUBMIT
	$('#contact-form').validate({
		submitHandler: function(form) {
			$(form).ajaxSubmit({
				success: function() { $('#mail-sent').css('visibility','visible'); }
			});
			return false; 
		}
	});
	
	$('.mailto').before('<img src="/gui/mailto.gif"> &nbsp;');
	
	$('.gallery img').hover(
		function() { $(this).addClass('over'); },
		function() { $(this).removeClass('over'); }
	);
	
	$('#main-logo').click(function() { 
		location.href = '/';
	});
	
	$('.homeplan').capslide({
                    caption_color	: '#FFF',
                    caption_bgcolor	: '#000',
                    overlay_bgcolor : '#000',
                    border			: '1px solid #ccc',
                    showcaption	    : true
    }).click(function() {
    	var hpid = $(this).attr('id');
    	location.href = '/docs/'+hpid+'.pdf';
    });


	

});