function view_adjust(){
		
		var elements = $$("span.yen");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "yen" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("円");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 //$('notice').update(test);
		 //
		 
		 
		
		
		var elements = $$("span.original_price");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("定価:");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 var elements = $$("span.zujji");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("随時入庫");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 var elements = $$("span.sale");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("売値:");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 
		 
		 
		 
		 var elements = $$("span.zaiko");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("在庫:");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 
		
		 
		 var elements = $$("span.rate");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("割引:");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
		 
		 var elements = $$("span.ko");
		//var elements = document.getElementsByClassName("original_price"); 
			//alert(elements.length+"個の要素を取得しました"); 
		//var test = "" + elements.length;
		for(i = 0; i < elements.length; i++ ){ 
		
			$(elements[i].id).update("個");
				
			  //test += i + " - " + elements[i].id + "<br>"; 
		 } 
	}
	
	
	
function taxation(price){
	var the_rate = taxrate/100;
	
	return Math.floor(price*the_rate);
}




function group_exp(){
		
		var win_check = "no";
		if (navigator.platform.indexOf("Win") != -1) {
			win_check = "yes";
		}
		
		
		
		
		
		
	
		
		if(win_check == "yes"){
			
			new Ajax.Request("test2.php", {
							method: "post",
	
							onCreate: function (){
								
								create_loading();
								
							},
							onSuccess: function(transport) {
								
								Element.remove("w_block");
	
								block_message(transport.responseText);
	
			
							}
			});
		
			
	
		}else{
			var the_div = new Element('div');
			
			var close_button = new Element('input', {type:"button", value:"閉じる"});
			
			if(the_browser == "MSIE"){
				close_button.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button.setAttribute("onclick", "close_block()");
			}
			
			
			var close_button01 = new Element('input', {type:"button", value:"閉じる"});
				
			if(the_browser == "MSIE"){
				close_button01.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button01.setAttribute("onclick", "close_block()");
			}
				
			
			the_div.appendChild(close_button01);
				
			var the_text = new Element("span").update("<br>グループ処理画面は、グループ内の複数の送り先に対して同じ商品を送付する、<br>香典返しや企業のお中元お歳暮のようなケースに威力を発揮する<br>弊社独自の特別レイアウトです。<br>");
				
			the_div.appendChild(the_text);
			
		
		
			var the_embed = new Element("embed", {
													src:"/mov/shop_exp.mov", 
													
													width:"640", 
													height:"500",
													autoplay:"true",
													controller:"true",
													pluginspage:"http://www.apple.com/quicktime/download/"
													
										});
			
			
			
			
			the_div.appendChild(the_embed);
			
			var br = new Element("span").update("<br>");
		
			the_div.appendChild(br);
			
			the_div.appendChild(close_button);
			
			block_message_element(the_div);
		}
		
		
		
		
		
		
	
	
	
	//**********　　　表示の整形********　　　　2009/10/24
	}
	
	
function expence_info(){
	
	var div = new Element('div', {align: "center"});
	var table = new Element('table', {border:"2", style:"color:#FFF;"});
	var tobody = new Element('tbody');
	var tr01 = new Element('tr');
	var td0101 = new Element('td', {colspan:"2"}).update("商品代および送料以外に必要な費用は以下のいずれか");
	var tr02 = new Element('tr');
	var th0201 = new Element('th').update('銀行振込手数料<br>(三菱東京UFJ銀行)<br>(第三銀行)<br>(東海労働金庫)');
	var td0202 = new Element('td').update('同行内の手数料200円台から<br>他行扱いの通常額800円台<br>にかけてのいずれか');
	var tr03 = new Element('tr');
	var th0301 = new Element('th').update('代引き手数料<br>(佐川急便)');
	var td0302 = new Element('td').update('1万円未満：' + sagawa_daibiki_1000 + '円<br>3万円未満：' + sagawa_daibiki_10000 + '円<br>10万円未満：' + sagawa_daibiki_50000 + '円<br>30万円未満：' + sagawa_daibiki_20000 + '円<br>50万円未満：' + sagawa_daibiki_40000 + '円<br>');
	var tr04 = new Element('tr');
	var td0401 = new Element('th').update('クレジットカード決済');
	var td0402 = new Element('td').update('総額の5%');
	
	
	var input = new Element('input', {type:"button", value:"閉じる"});
	
	if(the_browser == "MSIE"){
		input.setAttribute("onclick", new Function( "close_block();"));
	}else{
		input.setAttribute("onclick", "close_block()");
	}
	
	
	tr04.appendChild(td0401);
	tr04.appendChild(td0402);
	
	tr03.appendChild(th0301);
	tr03.appendChild(td0302);
	
	tr02.appendChild(th0201);
	tr02.appendChild(td0202);
	
	tr01.appendChild(td0101);
	
	tobody.appendChild(tr01);
	tobody.appendChild(tr02);
	tobody.appendChild(tr03);
	tobody.appendChild(tr04);
	
	table.appendChild(tobody);
	
	div.appendChild(input);
	div.appendChild(table);
	
	
	block_message_element(div);
	
	
}


function yes_empty(){
	
	Element.remove("block");
	Element.remove("message_table");
	
	cart_summary
	
	new Ajax.Request("/ajax/empty_cart.php", {
					method: "post",
					//parameters: the_parameter,
					onCreate: function (){
	
						create_loading();
						
					},
					onSuccess: function(transport) {
						
						Element.remove("w_block");
						
						//$('notice').update(transport.responseText);
						
						
						//var test = ""; 
						for(var i in cart_summary){
							
							if($("buy_button_td_"+i)){
								
								$("buy_button_td_"+i).update();
								
								
								var the_category = $("buy_button_td_"+i).getAttribute("title");
								
								// test += the_category+"<br>";
								
								//$('notice').update("the_category is "+the_category);
								
							
								var input_amount = new Element('input', {id:"buy_amount_"+i, type: "text", size:"3", name:"amount"});
								var input_submit = new Element('input', {type: "button",title:"カート内に入れる作業", value:"購入"});
								var span_text = new Element('span').update("個<br>");
								
								if(the_browser == "MSIE"){
									//the_image.setAttribute("test", "test");
									input_submit.setAttribute("onclick", new Function( "new_buy('" + i + "','"+the_category+"');"   ));
								}else{
									input_submit.setAttribute("onclick", "new_buy('" + i + "','"+the_category+"')");
								}
								
								$("buy_button_td_"+i).appendChild(input_amount);
								$("buy_button_td_"+i).appendChild(span_text);
								$("buy_button_td_"+i).appendChild(input_submit);
							
								
							}
						
						}
						
						//$('notice').update(test);
						
						
						cart_summary = new Array();
						count = 0;
						cart_amount_total = 0;
						car_total = 0;
						
						
						var update_test_element = new Element('font', {size:"2"}).update(count + "種" + cart_amount_total + "個");
						var the_br = new Element('br');
						var the_span = new Element('span').update(car_total + "円");
						
						
						$('inside_cart').update();
						$('inside_cart').appendChild(update_test_element);
						$('inside_cart').appendChild(the_br);
						$('inside_cart').appendChild(the_span);
						
						
						//$('notice').update(current_small_group_key);
						
						//return_to_shopping();
						
						/*
						view_products = all_products[current_category_id];
						change_small_group(current_small_group_key)
						*/
					
					
						
						
						
						
						
						
				
						
					}
	});
	
	
}

function buy_up(prod_id,the_category){
	$('buy_amount_'+prod_id).value = parseInt($('buy_amount_'+prod_id).value) + 1;
	
	new_buy(prod_id,the_category);
	
}
function buy_down(prod_id,the_category){
	
	if($('buy_amount_'+prod_id).value > 0){
		$('buy_amount_'+prod_id).value = parseInt($('buy_amount_'+prod_id).value) - 1;
	}
	
	
	new_buy(prod_id,the_category);
	
}

function new_buy(prod_id,the_category){
	
	//$('notice').update(the_parameter);
	z_index++;
	
	
	var the_parameter = "current_category_id=" + the_category
	+ "&";
	
	
	the_parameter += "prod_id=" + prod_id + "&";
	
	the_parameter += "amount=" + $('buy_amount_'+prod_id).value;
	
	


	
	new Ajax.Request("/ajax/buy.php", {
					method: "post",
					parameters: the_parameter,
					onCreate: function (){

						create_loading();
						
					},
					onSuccess: function(transport) {
						Element.remove("w_block");
						
						
						cart_summary = transport.responseText.evalJSON();
						
						//$('notice').update(transport.responseText);
						
						//var test = "";
			
						count = 0;
						car_total = 0;
						cart_amount_total = 0;
						
						//var test = "";
						for( var i in cart_summary){
							if(cart_summary[i]['amount'] > 0){
								
									//$('notice').update(cart_summary[i]['amount']);
								
									car_total = cart_summary[i]['amount']*taxation(cart_summary[i]['sale_price']) + car_total;
									cart_amount_total = cart_summary[i]['amount'] + cart_amount_total;
									
									//$('notice').update("buy_button_td_" + i);
									
									if(	$("buy_button_td_" + i) != null){
									
										//$('notice').update(i+"-"+the_category);
										
										var this_category = $('buy_button_td_'+i).getAttribute('title');
															
										
										//test += this_category + "<br>";
										
										
										var innter_td22_div = new Element('div');
										
										the_result_div = create_buy_box_with_preset_amount(i,this_category);
										
										innter_td22_div.appendChild(the_result_div);
										
										$("buy_button_td_" + i).update(innter_td22_div);
									}
							
							}
							count++;
						}
						
						//$('notice').update(test);
						
						
						var update_test_element = new Element('font', {size:"2"}).update(count + "種" + cart_amount_total + "個");
						var the_br = new Element('br');
						var the_span = new Element('span').update(car_total + "円");
						
						
						$('inside_cart').update();
						$('inside_cart').appendChild(update_test_element);
						$('inside_cart').appendChild(the_br);
						$('inside_cart').appendChild(the_span);
					
						
					}
	});

	
}

function create_buy_box_with_preset_amount(record_id,this_category_id){
	
					//$('notice').update(record_id+"---"+this_category_id);
	
					var the_result_div = new Element('div');

					var input_up = new Element('input', { type:"button", value:" ↑ ", style:"display:block;"});
					var input_down = new Element('input', { type:"button", value:" ↓ "});
					
					var input_amount = new Element('input', {
													id:"buy_amount_"+record_id,
													type: "text", size:"3",
													name:"amount",
													value:cart_summary[record_id]['amount']
													});
					
					var input_submit = new Element('input', {type: "button", value:"変更",style:"display:block;"});
					var span_text = new Element('span').update("個<br>");
					
					if(the_browser == "MSIE"){
						//the_image.setAttribute("test", "test");
						input_submit.setAttribute("onclick", new Function( "new_buy('" + record_id + "','"+this_category_id+"');"   ));
					}else{
						input_submit.setAttribute("onclick", "new_buy('" + record_id + "','"+this_category_id+"')");
					}
					
					if(the_browser == "MSIE"){
						//the_image.setAttribute("test", "test");
						input_up.setAttribute("onclick", new Function( "buy_up('" + record_id + "','"+this_category_id+"');"   ));
					}else{
						input_up.setAttribute("onclick", "buy_up('" + record_id + "','"+this_category_id+"')");
					}
					
					if(the_browser == "MSIE"){
						//the_image.setAttribute("test", "test");
						input_down.setAttribute("onclick", new Function( "buy_down('" + record_id + "','"+this_category_id+"');"   ));
					}else{
						input_down.setAttribute("onclick", "buy_down('" + record_id + "','"+this_category_id+"')");
					}
					//$('notice').update("ここ");
					the_result_div.appendChild(input_up);
					the_result_div.appendChild(input_amount);
					the_result_div.appendChild(span_text);
					the_result_div.appendChild(input_submit);
					the_result_div.appendChild(input_down);
					
					return the_result_div;
}

function check_browser(){
	
	
	
	if(navigator.userAgent.indexOf("Opera") != -1){ // 文字列に「Opera」が含まれている場合
	
		the_browser = "Opera";
	
	}
	else if(navigator.userAgent.indexOf("MSIE") != -1){ // 文字列に「MSIE」が含まれている場合
	
		the_browser = "MSIE";
	
	}
	else if(navigator.userAgent.indexOf("Firefox") != -1){ // 文字列に「Firefox」が含まれている場合
	
		the_browser = "Firefox";
	
	}
	else if(navigator.userAgent.indexOf("Netscape") != -1){ // 文字列に「Netscape」が含まれている場合
	
		the_browser = "Netscape";
	
	}
	else if(navigator.userAgent.indexOf("Safari") != -1){ // 文字列に「Safari」が含まれている場合
	
		the_browser = "Safari";
	
	}
	else{
	
		the_browser = "unknown";
	
	}
	
	
	return the_browser;
}

function message_for_ie_user(){
	
	

	if(the_browser == "MSIE"){
		
		the_version_info = navigator.appVersion;
		
		var b_position = the_version_info.indexOf("MSIE");   
		var e_position = the_version_info.indexOf(";", b_position);   
		
		
		var the_version = the_version_info.slice(b_position+5,e_position );
		
		//alert(b_position+","+e_position+","+the_version);
		
		
			
		
		

		if(the_version < 7){
		
			var close_button = new Element('input', {type:"button", value:"閉じる"});
		
			if(the_browser == "MSIE"){
				close_button.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button.setAttribute("onclick", "close_block()");
			}
				
				
			var close_button01 = new Element('input', {type:"button", value:"閉じる"});
					
			if(the_browser == "MSIE"){
				close_button01.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button01.setAttribute("onclick", "close_block()");
			}
			
			
			
			
			var the_div = new Element('div');
			
			
			the_div.appendChild(close_button);
			
			var the_table = new Element("table");
			var the_tbody = new Element("tbody");
			
			var the_tr01 = new Element("tr");
			var the_td = new Element("td", {colspan:"3"});
			
			var the_tr02 = new Element("tr");
			var the_td01 = new Element("td", {align:"center", style:"color:#FFF;"});
			var the_td02 = new Element("td", {align:"center", style:"color:#FFF;"});
			var the_td03 = new Element("td", {align:"center", style:"color:#FFF;"});
			
			var ie_link = new Element("a",{href:"http://o.jp.msn.com/ie8/", name:"IE8",target:"_blank"});
			var chrome_link = new Element("a",{href:"http://www.google.com/chrome?hl=ja", name:"chrome",target:"_blank"});
			var firefox_link = new Element("a",{href:"http://mozilla.jp/firefox/download/", name:"firefox",target:"_blank"});
			
			var ie_img = new Element("img",{border:"0", src:"./logo/IE8-Get_240x108_2.jpg", height:"100px", alt:"IE8"});
			var chrome_img = new Element("img",{border:"0", src:"./logo/chrome-logo.png", height:"100px", alt:"chrome"});
			var firefox_img = new Element("img",{border:"0", src:"./logo/080728_firefox.jpg", height:"100px", alt:"firefox"});
			
			var ie_div = new Element('div').update("Internet Explorer 8");
			var chrome_div = new Element('div').update("Google Chrome");
			var firefox_div = new Element('div').update("firefox");
			
			ie_link.appendChild(ie_img);
			chrome_link.appendChild(chrome_img);
			firefox_link.appendChild(firefox_img);
			
			the_td01.appendChild(ie_link);
			the_td02.appendChild(chrome_link);
			the_td03.appendChild(firefox_link);
			
			the_td01.appendChild(ie_div);
			the_td02.appendChild(chrome_div);
			the_td03.appendChild(firefox_div);
			
			the_tr02.appendChild(the_td01);
			the_tr02.appendChild(the_td02);
			the_tr02.appendChild(the_td03);
			
			var message = "お使いのブラウザはIE6ないしはそれより古く、<br>多くの問題が報告されております。<br>弊社のページ実行にエラーが生じる可能性があり、動作確認はいたしておりません。<br>是非この機会に最新のブラウザにアップグレードしていただくことをお勧めいたします。";
			
			var the_span = new Element('span', {style:"color:#FFF"}).update(message);
			
			
			the_td.appendChild(the_span);
			the_tr01.appendChild(the_td);
			
			the_tbody.appendChild(the_tr01);
			the_tbody.appendChild(the_tr02);
			
			the_table.appendChild(the_tbody);
			
			
			the_div.appendChild(the_table);
			the_div.appendChild(close_button01);
			
			
			block_message_element(the_div);
			
			
			//alert("IEバージョン6以下"+the_version);
			
		}
		
		if(the_version == 7){
			
			var height = 60;
			var left = 100;
			var close_button = new Element('input', {type:"button", value:"閉"});
			
			if(the_browser == "MSIE"){
				close_button.setAttribute("onclick", new Function( "close_tab_message("+height+","+left+");"));
			}else{
				close_button.setAttribute("onclick", "close_tab_message("+height+","+left+")");
			}
		
			
			var the_div = new Element('div');
			
			
			
			
			var the_table = new Element("table", { border:0, cellpadding:0, cellspacing:0});
			var the_tbody = new Element("tbody");
			
			var the_tr01 = new Element("tr");
			var the_td = new Element("td", {colspan:"4"});
			
			var the_tr02 = new Element("tr");
			var the_td01 = new Element("td", {align:"center", style:"color:#FFF;"});
			var the_td02 = new Element("td", {align:"center", style:"color:#FFF;"});
			var the_td03 = new Element("td", {align:"center", style:"color:#FFF;"});
			var the_td04 = new Element("td", {align:"center", style:"color:#FFF;"});
			
			var ie_link = new Element("a",{href:"http://o.jp.msn.com/ie8/", name:"IE8",target:"_blank"});
			var chrome_link = new Element("a",{href:"http://www.google.com/chrome?hl=ja", name:"chrome",target:"_blank"});
			var firefox_link = new Element("a",{href:"http://mozilla.jp/firefox/download/", name:"firefox",target:"_blank"});
			
			var ie_img = new Element("img",{border:"0", src:"./logo/IE8-Get_240x108_2.jpg", alt:"IE8"});
			var chrome_img = new Element("img",{border:"0", src:"./logo/chrome-logo.png", alt:"chrome"});
			var firefox_img = new Element("img",{border:"0", src:"./logo/080728_firefox.jpg", alt:"firefox"});
			
			ie_img.style.height = 20+"px";
			chrome_img.style.height = 20+"px";
			firefox_img.style.height = 20+"px";
			
			ie_img.style.width = 20+"px";
			chrome_img.style.width = 20+"px";
			firefox_img.style.width = 20+"px";
			
			
			var ie_div = new Element('div', {style:"font-size:9px;"}).update("Internet Explorer 8");
			var chrome_div = new Element('div',{style:"font-size:9px;"}).update("Google Chrome");
			var firefox_div = new Element('div',{style:"font-size:9px;"}).update("firefox");
			
			ie_link.appendChild(ie_img);
			chrome_link.appendChild(chrome_img);
			firefox_link.appendChild(firefox_img);
			
			the_td01.appendChild(ie_link);
			the_td02.appendChild(chrome_link);
			the_td03.appendChild(firefox_link);
			
			the_td01.appendChild(ie_div);
			the_td02.appendChild(chrome_div);
			the_td03.appendChild(firefox_div);
			
			the_td04.appendChild(close_button);
			
			
			
			the_tr02.appendChild(the_td01);
			the_tr02.appendChild(the_td02);
			the_tr02.appendChild(the_td03);
			the_tr02.appendChild(the_td04);
			
			
			
			var message = "お使いのブラウザIE7はバージョンが古く弊社のページ表示が乱れる可能性があります。より信頼性の高い製品に乗り換えることををお勧めいたします。";
				//alert("IEバージョン7");
			var the_span = new Element('span', {style:"font-size:9px; color:#FFF;"}).update(message);
		
		
			the_td.appendChild(the_span);
			the_tr01.appendChild(the_td);
				
			the_tbody.appendChild(the_tr01);
			the_tbody.appendChild(the_tr02);
				
			the_table.appendChild(the_tbody);
				
				
			the_div.appendChild(the_table);
			
			//the_div.appendChild(close_button);
			
			//setTimeout(tag_message(the_div,350,left,height),1250);
			
			
			
			tag_message(the_div,350,left,height);
		}
		
		/*
		if(the_version < 8){
			
			the_td.appendChild(the_span);
			the_tr01.appendChild(the_td);
			
			the_tbody.appendChild(the_tr01);
			the_tbody.appendChild(the_tr02);
			
			the_table.appendChild(the_tbody);
			
			
			the_div.appendChild(the_table);
			the_div.appendChild(close_button01);
			
			
			block_message_element(the_div)
			
			//alert("IEバージョン8以上");
		}
		*/
		
		
	}


	
}// JavaScript Document



function to_group_sale_exp(){
		
		if ($("block") != null){
			
			close_block();
		}
		
		//block_message_div(group_sale_exp);
		
		
		var win_check = "no";
		if (navigator.platform.indexOf("Win") != -1) {
			win_check = "yes";
		}
		
		
	
		if(win_check == "no"){
			
		
		
			var the_embed = new Element("embed", {
													src:"/mov/group_sale.mov", 
													
													width:"640", 
													height:"500",
													autoplay:"true",
													controller:"true",
													pluginspage:"http://www.apple.com/quicktime/download/"
													
										});
			
			
			$('group_sale_exp_video').update();
			
			$('group_sale_exp_video').appendChild(the_embed);
			
			block_message_div(group_sale_exp);
		}else{
		
			new Ajax.Request("/mov/group_sale_exp.php", {
							method: "post",
	
							onCreate: function (){
								
								create_loading();
								
							},
							onSuccess: function(transport) {
								
								Element.remove("w_block");
	
								block_message(transport.responseText);
	
			
							}
			});
		
		}
		
	
		
	}
	
	function to_top_exp(){
		var win_check = "no";
		if (navigator.platform.indexOf("Win") != -1) {
			win_check = "yes";
		}
		
		
		if ($("block") != null){
			
			close_block();
		}
		if(win_check == "no"){
			
		
		
			var the_embed = new Element("embed", {
													src:"/mov/group_system.mov", 
													
													width:"640", 
													height:"500",
													autoplay:"true",
													controller:"true",
													pluginspage:"http://www.apple.com/quicktime/download/"
													
										});
			
			
			$('kodengaeshi_exp_video').update();
			
			$('kodengaeshi_exp_video').appendChild(the_embed);
			
			block_message_div(kodengaeshi_exp);
		}else{
		
			new Ajax.Request("/mov/group_system_exp.php", {
							method: "post",
	
							onCreate: function (){
								
								create_loading();
								
							},
							onSuccess: function(transport) {
								
								Element.remove("w_block");
	
								block_message(transport.responseText);
	
			
							}
			});
		
		}
		
		
	}
	
	function to_kiakebun_exp(){
		
		if ($("block") != null){
			
			close_block();
		}
		
		//block_message_div(kiakebun_exp);
		
		
		var win_check = "no";
		if (navigator.platform.indexOf("Win") != -1) {
			win_check = "yes";
		}
		
		
	
		if(win_check == "no"){
			
		
		
			var the_embed = new Element("embed", {
													src:"/mov/kiakebun.mov", 
													
													width:"640", 
													height:"500",
													autoplay:"true",
													controller:"true",
													pluginspage:"http://www.apple.com/quicktime/download/"
													
										});
			
			
			$('kiakebun_exp_video').update();
			
			$('kiakebun_exp_video').appendChild(the_embed);
			
			block_message_div(kiakebun_exp);
		}else{
		
			new Ajax.Request("/mov/kiakebun_exp.php", {
							method: "post",
	
							onCreate: function (){
								
								create_loading();
								
							},
							onSuccess: function(transport) {
								
								Element.remove("w_block");
	
								block_message(transport.responseText);
	
			
							}
			});
		
		}
		
	}

function group_exp(){
		
		var win_check = "no";
		if (navigator.platform.indexOf("Win") != -1) {
			win_check = "yes";
		}
		
		
		
		
		
		
	
		
		if(win_check == "yes"){
			
			new Ajax.Request("test2.php", {
							method: "post",
	
							onCreate: function (){
								
								create_loading();
								
							},
							onSuccess: function(transport) {
								
								Element.remove("w_block");
	
								block_message(transport.responseText);
	
			
							}
			});
		
			
	
		}else{
			var the_div = new Element('div');
			
			var close_button = new Element('input', {type:"button", value:"閉じる"});
			
			if(the_browser == "MSIE"){
				close_button.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button.setAttribute("onclick", "close_block()");
			}
			
			
			var close_button01 = new Element('input', {type:"button", value:"閉じる"});
				
			if(the_browser == "MSIE"){
				close_button01.setAttribute("onclick", new Function( "close_block();"));
			}else{
				close_button01.setAttribute("onclick", "close_block()");
			}
				
			
			the_div.appendChild(close_button01);
				
			var the_text = new Element("span").update("<br>グループ処理画面は、グループ内の複数の送り先に対して同じ商品を送付する、<br>香典返しや企業のお中元お歳暮のようなケースに威力を発揮する<br>弊社独自の特別レイアウトです。<br>");
				
			the_div.appendChild(the_text);
			
		
		
			var the_embed = new Element("embed", {
													src:"/mov/shop_exp.mov", 
													
													width:"640", 
													height:"500",
													autoplay:"true",
													controller:"true",
													pluginspage:"http://www.apple.com/quicktime/download/"
													
										});
			
			
			
			
			the_div.appendChild(the_embed);
			
			var br = new Element("span").update("<br>");
		
			the_div.appendChild(br);
			
			the_div.appendChild(close_button);
			
			block_message_element(the_div);
		}
		
		
		
		
		
		
	
	
	
	//**********　　　表示の整形********　　　　2009/10/24
	}