﻿
function arwMove ( obj, posLeft, posTop ){
	$(obj).stop().animate({ backgroundPosition: posLeft + ' ' + posTop}, 300);
}

$(function () {

	$('.scroll-pane').jScrollPane();

	/*
	$('.more a').mouseover(function(){
		var wsBx = $(this).parent().parent().parent().attr('id');
		var headerBx = $(this).parent().parent().attr('id');
		
		$(this).parent().parent().fadeTo(100, .7);
		
		if(wsBx == 'ws'){
			arwMove(this, '130%', '132px');
		}else if(headerBx == 'headerInfo'){
			arwMove(this, '110%', '100%');
		}else{
			arwMove(this, '130%', '100%');
		}
	}).mouseout(function(){
		var wsBx = $(this).parent().parent().parent().attr('id');
		var headerBx = $(this).parent().parent().attr('id');
		
		$(this).parent().parent().fadeTo(100, 1);
		
		if(wsBx == 'ws'){
			arwMove(this, '100%', '132px');	
		}else if(headerBx == 'headerInfo'){
			arwMove(this, '100%', '100%');
		}else{
			arwMove(this, '100%', '100%');
		}
	});
	*/
	/*
	$('.linkList a').mouseover(function(){
		$(this).animate({
			backgroundPosition: '120% 50%'
			},{ duration: 200
		});
	}).mouseout(function(){
		$(this).animate({
			backgroundPosition: '100% 50%'
			},{ duration: 200
		});
	});
	*/
	/*
	$('.ulink li a').mouseover(function(){
		$(this).animate({
			backgroundPosition: '224px 50%'
			},{ duration: 200
		});
	}).mouseout(function(){
		$(this).animate({
			backgroundPosition: '194px 50%'
			},{ duration: 200
		});
	});
	*/

	$('#info a.more').hover(
		function(){
			$('#info').css('background-color', '#FF7F0A');
		},
		function(){
			$('#info').css('background-color', '#000');
		}
	);
});


