/* Using jQuery For The Animation */
$(function() {
	// set opacity to nill on page load
	$("ul#primary span").css("opacity","0");
	// on mouse over
	$("ul#primary span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, 'fast');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'fast');
	});
});

$(function() {
	// set opacity to nill on page load
	$("ul#primary span").css("opacity","0");
	// on mouse over
	$("ul#primary span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, 'fast');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'fast');
	});
});





/* txt resize */
var Default=3;
var tags = new Array('div','td','tr');
var sizing = new Array('70%','80%','90%','100%','110%','120%','130%');

function FontChange(target,tarF){
if (!document.getElementById) return
var dore = document,tarS = null,fontSize =Default,value,su,cTags;
fontSize += tarF;
if (fontSize < 0) fontSize = 0;
if (fontSize > 6) fontSize = 6;
Default = fontSize;
if (!(tarS = dore.getElementById(target))) tarS = dore.getElementsByTagName(target)[0];
tarS.style.fontSize = sizing[fontSize];
for (value = 0 ; su < tags.length ; value++){
cTags= tarS.getElementsByTagName(tags[value]);
for (su = 0 ; su < cTags.length ; su++) cTags[su].style.fontSize = sizing[fontSize];
}
}

/* droppy */
$(function() {
  $('#nav').droppy();
});



/* opacity-rollover */
$(function() {
   $('div#txt img').opOver();
});


