/*///////////////////// rollover-fade //////////////////////////////*/
$(document).ready(function(){
	
	$(".rollFade").each(function(){
		var bglink = $(this).attr("src").replace(".gif", "_o.gif");
		$(this).parent().parent().css("background-image","url("+bglink+")");
		
		$(this).hover(function () {
			$(this).stop().fadeTo(200,0);
		},function () {
			$(this).stop().fadeTo(200,1);
		});
	});
});


/*///////////////////// fade //////////////////////////////*/
$(function(){
    $(".fade").mouseover(function(){
        $(this).stop(true, false).animate({
            opacity:0.25
        }, "fast");
    });
    
    $(".fade").mouseout(function(){
        $(this).stop(true, false).animate({
            opacity:1
        }, "fast");
    });
});



/*///////////////////// print //////////////////////////////*/
function PrintPage(){
	if(document.getElementById || document.layers){
		window.print();	
	}}



/*///////////////////// scroll //////////////////////////////*/
$(function(){
$("a[href*='#']").filter(function(){
return !$(this).parent().parent().hasClass("nav");
}).slideScroll();
});


/*///////////////////// color //////////////////////////////*/

	$(document).ready(function(){
			
			// back-ground
        	$(".support-list a, .g-nav-foot-cont a, #footer-banner-cont a, .display li, .sidebar-box a, .post-info-cont-l li a, .info-cont li a, .r-body-banner-cont a").hover(function() {
                $(this).stop().animate({ backgroundColor: "#f2d849" }, 200);
        	},function() {
                 $(this).stop().animate({ backgroundColor: "#ffffff" }, 400);
        });

			// back-ground
        	$(".inquiry-box-r a").hover(function() {
                $(this).stop().animate({ backgroundColor: "#f2d849" }, 200);
        	},function() {
                 $(this).stop().animate({ backgroundColor: "#f1f0ee" }, 400);
        });

			$(".company-nav a, #footer-info-nav li a").hover(function() {
				$(this).stop().animate({ color: "#f2d849" }, 200);
			},function() {
				$(this).stop().animate({ color: "#333333" }, 400);
		});

  });


/*///////////////////// fade //////////////////////////////*/
	$(document).ready(function() {
	
		$("body").css("display", "none");

		$("body").fadeIn(1000);
	});

