ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})



function RollOver (obj,val) {
  obj.src = val;
}

function newWinIconOpen(URL){
	var xx=330;
	var yy=290;
    var hidari=(screen.width-xx)/2;
	var takasa=yy;
	var ue=(screen.height-takasa)/2-70;
    var newWinIcon;
	if(navigator.userAgent.indexOf("Opera") != -1){ // 文字列に「Opera」が含まれている場合
		hidari=(document.body.clientWidth-xx)/2;
	}
	else if(navigator.userAgent.indexOf("MSIE") != -1){ // 文字列に「MSIE」が含まれている場合
		hidari=(document.body.clientWidth-xx)/2+window.screenLeft;
	}
	else if(navigator.userAgent.indexOf("Firefox") != -1){ // 文字列に「Firefox」が含まれている場合
		hidari=(innerWidth-xx)/2+window.screenX;
	}
	else if(navigator.userAgent.indexOf("Netscape") != -1){ // 文字列に「Netscape」が含まれている場合
		hidari=(innerWidth-xx)/2+window.screenX;
	}
	else if(navigator.userAgent.indexOf("Safari") != -1){ // 文字列に「Safari」が含まれている場合
		hidari=(document.body.clientWidth-xx)/2+window.screenLeft;
	}
	else{
	}
    	newWinIcon = window.open(URL,"test","location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, width="+xx+", height="+takasa+", left="+hidari+", top="+ue);
}


$(document).ready(function() {
	$(".linkbox").click(function() {
	window.open($("p a").attr("href"), '_blank');
	}); 
	$("p.readmore").addClass("none"); 
	$(".linkbox").hover(function(){
	$(this).addClass("box_hover"); 
	},
	function(){
	$(this).removeClass("box_hover"); 
	});
}); 




