// jQuery_Auto 0.9
// Automatic functions for webpages (using the wonderful jQuery library)
// Copyright: (c) 2006, Michal Tatarynowicz (tatarynowicz@gmail.com)
// Licenced as Public Domain (http://creativecommons.org/licenses/publicdomain/)
// $Id: jquery_auto.js 426 2006-05-06 19:54:39Z Michał $
function Display(no){
    if(no == "no1"){
        document.getElementById("SW1").style.display = "block";
        document.getElementById("SW2").style.display = "none";
    }else if(no == "no2"){
        document.getElementById("SW1").style.display = "none";
        document.getElementById("SW2").style.display = "block";
    }
}

$(document).ready(function() {

 	$(".news").css("padding-top","30px"); 
 	$(".news dl").css("overflow","auto"); 
 	$(".news dl").css("height","150px"); 
	$(".news dl").css("width","auto"); 
	$(".news").css("padding-bottom","0px"); 

	$(".news_detail").click(function(){
		$(".news").css("padding-top","5px"); 
 		$(".news dl").css("overflow","hidden"); 
 		$(".news dl").css("height","18px"); 
		$(".news dl").css("width","auto"); 
		$(".news").css("padding-bottom","0px"); 
	});

	$(".news_detail2").click(function(){
		$(".news").css("padding-top","30px"); 
 		$(".news dl").css("overflow","auto"); 
 		$(".news dl").css("height","150px"); 
		$(".news dl").css("width","100%"); 
		$(".news").css("padding-bottom","10px"); 
	});
});
