/*--------------------------------------------------------------------------*
 *  
 *  roru
 *  
 *--------------------------------------------------------------------------*/

$(function(){
     $(".top_contents01").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents02").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents03").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents04").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents05").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents06").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents07").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents08").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents_company01").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents_company02").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents_company03").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents_company04").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".top_contents_company05").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".contents_right03").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".business_contents01").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(function(){
     $(".business_contents02").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

$(document).ready(function(){
	path = location.pathname
		if(path.match("/company/")){
		$("#gnavi li#gnavi02 a").addClass("on");
	}
		if(path.match("/business/")){
		$("#gnavi li#gnavi03 a").addClass("on");
	}
		if(path.match("/authorize/")){
		$("#gnavi li#gnavi04 a").addClass("on");
	}
		if(path.match("/faq/")){
		$("#gnavi li#gnavi05 a").addClass("on");
	}
		if(path.match("/contact/")){
		$("#gnavi li#gnavi06 a").addClass("on");
	}
});


$(function(){
     $(".under_right_contents02 li#left_navi01").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});
$(function(){
     $(".under_right_contents02 li#left_navi02").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});
$(function(){
     $(".under_right_contents02 li#left_navi03").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});
$(function(){
     $(".under_right_contents02 li#left_navi04").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});
$(function(){
     $(".under_right_contents02 li#left_navi05").click(function(){
         window.location=$(this).find("a").attr("href");
         return false;
    });
});

