
jQuery(document).ready(function(){
    
	jQuery("h4.associatedBtn").click(function () {
		jQuery(this).parent(".articleDiv").children().children("span.assosHide").slideToggle("normal");
	});	


	var hFunctions = {
		over: function() {
			jQuery(this).children('ul').slideDown(200);
			//jQuery(this).addClass('hovertab');
		},
		timeout: 200,
		out: function() {
			jQuery(this).children('ul').slideUp(100);
			//jQuery(this).removeClass('hovertab');
		}
	}

	jQuery('.dropdownright, .dropdownleft').parent().hoverIntent(hFunctions);

	jQuery('.menutab').hover(function() {
		jQuery(this).addClass('hovertab');
	},
	function() {
	 jQuery(this).removeClass('hovertab');
	});


	jQuery('a.lightwindow').fancybox({
		type:'image',
		scrolling: 'no'
	});


});



<!--JAVASCRIPT SLIDESHOW START-->
//<![CDATA[
jQuery(function() {
	if (jQuery.browser.ie && jQuery.browser.version < 8)
		jQuery('<span>&#9658;</span>').prependTo('kbd');
	if (jQuery.browser.ie && jQuery.browser.version < 7 || jQuery.browser.safari && jQuery.browser.version < 600)
		jQuery('#menu a').hover(function() {
			jQuery(this).next().show();
		}, function() {
			jQuery(this).next().hide();
		});
});
//]]>
    
    
//<![CDATA[
function displaySource(name) {
	jQuery('<pre>'
		+ jQuery('#source-' + name).html() // $(<script>).text() is broken on IE 5
		.replace(/^\s*|\s*$/g, '')
		.split('\n').slice(2, -2).join('\n')
		.replace(/(\/\/.*)/g, '<i>$1</i>')
		+ '</pre>')
	.insertAfter('#display-' + name);
}
//]]>
<!--JAVASCRIPT SLIDESHOW END-->

<!--//--><![CDATA[//><!--


//--><!]]>

<!-- CLEAR THIS SCRIPT -->

function clearText(thefield){
	if (thefield.defaultValue==thefield.value)
		thefield.value = ""
}

<!-- FILL THIS SCRIPT -->

function fillText(thefield){
	if (thefield.value=="")
		thefield.value = thefield.defaultValue
}

<!-- PASSWORD TYPE SCRIPT -->

function passwordText(pastype){
	if (pastype.defaultValue==pastype.value)
		pastype.value = ""

	if(pastype.type == 'text')
		pastype.type = 'password';
}

<!-- PASSWORD REVERSE SCRIPT -->

function TextPassword(pastype){
	if (pastype.value=="")
		pastype.value = pastype.defaultValue

	if(pastype.type == 'password')
		pastype.type = 'text';
}
