$(document).ready(function(){
//JQuery ready is quicker than onload
	$(".stripeMe2 tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
	$(".stripeMe2 tr:even").addClass("alt");
	$(".stripeMe tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
	$(".stripeMe tr:even").addClass("alt");
	$("a[rel^='prettyOverlay'],a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed: 'normal', /* fast/slow/normal */
			padding: 40, /* padding for each side of the picture */
			opacity: 0.35, /* Value betwee 0 and 1 */
			showTitle: true, /* true/false */
			allowresize: true, /* true/false */
			counter_separator_label: '/' 	/* The separator for the gallery counter 1 "of" 2 */
	});
	$(".faq2 dd").hide();
	$(".faq2 dt a").click(function(){
		$(this).parent().next("dd")
		.slideToggle("300");
		return false;
	});
});




function subWin(url,w,h){
	wx = w;
	wy = h;
	x = (screen.width  - wx) / 2;
	y = (screen.height - wy) / 2;
	nw = window.open(url,"sub","left="+x+",top="+y+",width="+wx+",height="+wy+",scrollbars=yes,resizable=yes");
	nw.focus();
}

function subWin_hide(url,w,h){
	wx = w;
	wy = h;
	x = (screen.width  - wx) / 2;
	y = (screen.height - wy) / 2;
	nw = window.open(url,"sub","left="+x+",top="+y+",width="+wx+",height="+wy+",scrollbars=yes,resizable=yes");
	nw.window.blur();
}

function goodsDelete(name,url){
	flag = confirm( name + "\n削除してもいいですか？？" );
	if(!flag) {
		return false;
	}
	subWin_hide(url,'50','50');
	return;
}





