function ChangeHref1_common(h1, dl_type){ 
	
	move_chk_val = page_move_check();
	
	if (move_chk_val == 1) {
		parent.right.document.form1.submit();
	} else if (move_chk_val == 2) {
		parent.right.document.f.action = "./delete_cart.asp";
		parent.right.document.f.back_file.value = h1;
		parent.right.document.f.submit();
	} else {
		parent.right.location.href="list_viewer.asp?dl_type=" + dl_type + "&data_file=" + h1;
	}
}
 function ChangeHref2_common(h1,h2, dl_type){ 
	parent.left.location.href=h1; 
	if (h2 != ""){
		if (dl_type == "m") {
			
			move_chk_val = page_move_check();
			
			if (move_chk_val == 1) {
				parent.right.document.form1.submit();
			} else if (move_chk_val == 2) {
				parent.right.document.f.action = "./delete_cart.asp";
				parent.right.document.f.back_file.value = h2;
				parent.right.document.f.submit();
			} else {
				parent.right.location.href="list_viewer.asp?dl_type=" + dl_type + "&data_file=" + h2;
			}
		} else {
			parent.right.location.href="list_viewer.asp?dl_type=" + dl_type + "&data_file=" + h2;
		}
	}
}
//選択したフォルダーのリンクに飛ぶ
function ShowSelectFolder() {
	var ua=navigator.userAgent;
	if (ua.indexOf('Safari')>-1)
		{ tmr=setTimeout('SafariSpecial()',200); }
	else
		{ location.hash = "#target"; }
}
function SafariSpecial() {
	clearTimeout(tmr);
	if (location.href.indexOf('#')==-1)
		{ self.location.hash = "#target"; }
}


