$(document).ready(function(){	menu = "";				   	if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=Z-eco&category_code=2&series_detail=1" ){ menu = "amp_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=Z&category_code=2&series_detail=1" ){ menu = "amp_02"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#01" ){ menu = "amp_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=E&category_code=3&series_detail=1" ){ menu = "amp_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=W2&category_code=2&series_detail=1" ){ menu = "amp_05"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=J&category_code=2&series_detail=1" ){ menu = "amp_06"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=K&category_code=2&series_detail=1" ){ menu = "amp_07"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=S&category_code=2&series_detail=1" ){ menu = "amp_08"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=S2&category_code=2&series_detail=1" ){ menu = "amp_09"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#02" ){ menu = "amp_10"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#03" ){ menu = "amp_11"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#03" ){ menu = "amp_12"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=C&category_code=2&series_detail=1" ){ menu = "amp_13"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=J2D&category_code=2&series_detail=1" ){ menu = "amp_14"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=V2&category_code=2&series_detail=1" ){ menu = "amp_15"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=V&category_code=2&series_detail=1" ){ menu = "amp_16"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#04" ){ menu = "amp_17"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#04" ){ menu = "amp_18"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#05" ){ menu = "amp_19"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/amp/index.html#05" ){ menu = "amp_20"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=WF&category_code=2&series_detail=1" ){ menu = "amp_21"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=D2RF&category_code=5&series_detail=1" ){ menu = "fiber_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BRF/BGF/BIF&category_code=6&series_detail=1" ){ menu = "fiber_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=JRF&category_code=6&series_detail=1" ){ menu = "fiber_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=NF&category_code=27&series_detail=1" ){ menu = "fiberp_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=R&category_code=7&series_detail=1" ){ menu = "separate_amp_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=Z-L&category_code=8&series_detail=1" ){ menu = "laser_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=DS&category_code=10&series_detail=1" ){ menu = "laser_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=D&category_code=9&series_detail=1" ){ menu = "laser_03"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/laser/index.html#01" ){ menu = "laser_04"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/laser/index.html#02" ){ menu = "laser_05"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=DR-Q&category_code=11&series_detail=1" ){ menu = "transparency_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=ZR-QX/ZR-Q&category_code=13&series_detail=1" ){ menu = "transparency_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=JR-Q&category_code=12&series_detail=1" ){ menu = "transparency_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=KR-Q/SR-Q&category_code=15&series_detail=1" ){ menu = "transparency_04"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/transparency/index.html#01" ){ menu = "transparency_05"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/transparency/index.html#01" ){ menu = "transparency_06"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-DL&category_code=16&series_detail=1" ){ menu = "bgs_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-D/FGS-D&category_code=17&series_detail=1" ){ menu = "bgs_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-ZL/BGS-Z&category_code=19&series_detail=1" ){ menu = "bgs_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-S/BGS-2S&category_code=20&series_detail=1" ){ menu = "bgs_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS&category_code=21&series_detail=1" ){ menu = "bgs_05"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=WT2S&category_code=31&series_detail=1" ){ menu = "bgs_06"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#01" ){ menu = "bgs_07"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#01" ){ menu = "bgs_08"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#02" ){ menu = "bgs_09"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#02" ){ menu = "bgs_10"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-DL/Volume&category_code=23&series_detail=1" ){ menu = "bgs_11"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-3J/-H/-S&category_code=24&series_detail=1" ){ menu = "bgs_12"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-V&category_code=22&series_detail=1" ){ menu = "bgs_13"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=BGS-V2000&category_code=25&series_detail=1" ){ menu = "bgs_14"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#03" ){ menu = "bgs_15"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#03" ){ menu = "bgs_16"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=WT24&category_code=31&series_detail=1" ){ menu = "bgs_17"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=WT45&category_code=31&series_detail=1" ){ menu = "bgs_18"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=DS60&category_code=31&series_detail=1" ){ menu = "bgs_19"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=WTB4&category_code=31&series_detail=1" ){ menu = "bgs_20"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=W4T&category_code=31&series_detail=1" ){ menu = "bgs_21"; }	else if( location.href == "http://www.optex-fa.jp/products/photo_sensor/bgs/index.html#04" ){ menu = "bgs_22"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=DM&category_code=26&series_detail=1" ){ menu = "color_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CS/CSM1&category_code=32&series_detail=1" ){ menu = "color_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=KT10W&category_code=32&series_detail=1" ){ menu = "color_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=KT5W&category_code=32&series_detail=1" ){ menu = "color_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=KT5G&category_code=32&series_detail=1" ){ menu = "color_05"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=KT3&category_code=32&series_detail=1" ){ menu = "color_06"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=J3M&category_code=&series_detail=1" ){ menu = "color_07"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=NT6&category_code=32&series_detail=1" ){ menu = "color_08"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=LUT&category_code=32&series_detail=1" ){ menu = "color_09"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CD5&category_code=36&series_detail=1" ){ menu = "dsp_sensor_1_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CD4&category_code=37&series_detail=1" ){ menu = "dsp_sensor_1_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CD33&category_code=35&series_detail=1" ){ menu = "dsp_sensor_1_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CD3&category_code=38&series_detail=1" ){ menu = "dsp_sensor_1_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CD1&category_code=39&series_detail=1" ){ menu = "dsp_sensor_1_05"; }	else if( location.href == "http://www.optex-fa.jp/products/dsp_sensor/index02.html#01" ){ menu = "dsp_sensor_1_06"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=SHP&category_code=40&series_detail=1" ){ menu = "dsp_sensor_2_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=MVS-PM&category_code=43&series_detail=1" ){ menu = "vision_multi_camera_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=MVS-EM&category_code=44&series_detail=1" ){ menu = "vision_multi_camera_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=MVS-OCR&category_code=45&series_detail=1" ){ menu = "vision_multi_camera_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CVSE1&category_code=47&series_detail=1" ){ menu = "vision_all_in_one_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CVS1&category_code=48&series_detail=1" ){ menu = "vision_all_in_one_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CVS2&category_code=49&series_detail=1" ){ menu = "vision_all_in_one_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CVS3&category_code=50&series_detail=1" ){ menu = "vision_all_in_one_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=CVS4&category_code=51&series_detail=1" ){ menu = "vision_all_in_one_05"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_1" ){ menu = "decsys_01"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_1" ){ menu = "decsys_02"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_2" ){ menu = "decsys_03"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_2" ){ menu = "decsys_04"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_3" ){ menu = "decsys_05"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_3" ){ menu = "decsys_06"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_4" ){ menu = "decsys_07"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_4" ){ menu = "decsys_08"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_5" ){ menu = "decsys_09"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_5" ){ menu = "decsys_10"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#03_6" ){ menu = "decsys_11"; }	else if( location.href == "http://www.optex-fa.jp/products/vision/index02.html#04" ){ menu = "jfas_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPB&category_code=57&series_detail=1" ){ menu = "led_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDR&category_code=58&series_detail=1" ){ menu = "led_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDR-F&category_code=59&series_detail=1" ){ menu = "led_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDR-LA&category_code=60&series_detail=1" ){ menu = "led_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDR-H&category_code=61&series_detail=1" ){ menu = "led_05"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDB&category_code=62&series_detail=1" ){ menu = "led_06"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDB-Q&category_code=63&series_detail=1" ){ menu = "led_07"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPIR/OPIR-S&category_code=64&series_detail=1" ){ menu = "led_08"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPLR&category_code=65&series_detail=1" ){ menu = "led_09"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPLQ&category_code=66&series_detail=1" ){ menu = "led_10"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPDB-RGB&category_code=67&series_detail=1" ){ menu = "led_11"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPLR-RGB&category_code=68&series_detail=1" ){ menu = "led_12"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPSM&category_code=69&series_detail=1" ){ menu = "led_13"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPEM&category_code=70&series_detail=1" ){ menu = "led_14"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPCX&category_code=71&series_detail=1" ){ menu = "led_15"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPID&category_code=72&series_detail=1" ){ menu = "led_16"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPS/OPHS&category_code=73&series_detail=1" ){ menu = "led_17"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=UV&category_code=74&series_detail=1" ){ menu = "led_18"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=IR&category_code=75&series_detail=1" ){ menu = "led_19"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPPCW&category_code=76&series_detail=1" ){ menu = "led_power_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPPA&category_code=77&series_detail=1" ){ menu = "led_power_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPP/OPPW&category_code=78&series_detail=1" ){ menu = "led_power_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=DF&category_code=79&series_detail=1" ){ menu = "led_opti_acc_01"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=PL&category_code=80&series_detail=1" ){ menu = "led_opti_acc_02"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OP&category_code=81&series_detail=1" ){ menu = "led_opti_acc_03"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=OPAU&category_code=82&series_detail=1" ){ menu = "led_opti_acc_04"; }	else if( location.href == "http://www.sensor.optex-fa.jp/shop/prdct_detail.html?series=MDF&category_code=84&series_detail=1" ){ menu = "led_monitoring_01"; }	else if( location.href == "http://www.optex-fa.jp/products/dst_sensor/index.html" ){ menu = "other_navi_01"; }	else if( location.href == "http://www.optex-fa.jp/products/u_sonic/index.html" ){ menu = "other_navi_02"; }	else if( location.href == "http://www.optex-fa.jp/products/light_grid/index.html" ){ menu = "other_navi_03"; }	else if( location.href == "http://www.optex-fa.jp/products/prx_sensor/index.html" ){ menu = "other_navi_04"; }	else if( location.href == "http://www.optex-fa.jp/products/sensor_ctrl/index.html" ){ menu = "other_navi_05"; }	else if( location.href == "http://www.optex-fa.jp/products/sensor_ctrl/tmc/index.html" ){ menu = "other_navi_05"; }	else if( location.href == "http://www.optex-fa.jp/products/encoder/index.html" ){ menu = "other_navi_06"; }	else if( location.href == "http://www.optex-fa.jp/products/thermo/index.html" ){ menu = "other_navi_07"; }	else if( location.href == "http://www.optex-fa.jp/products/discon/index.html" ){ menu = "other_navi_08"; }		if( menu != ""){ $( 'li.' + menu ).addClass( menu + '_on' ); }	$("ul.side_menu_close").hide();		$('#side_menu_large > div.photo_sensor'			).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.dsp_sensor'			).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.vision'				).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.light'				).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.photo_sensor_under'	).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.dsp_sensor_under'		).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.vision_under'			).click(function(){ $(this).next().slideToggle('500'); });	$('#side_menu_large > div.light_under'			).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.amp'						).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.fiber'					).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.separate_amp'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.laser'					).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.transparency'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.bgs'						).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.color'					).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.dsp_sensor_1'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.dsp_sensor_2'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.vision_all_in_one'		).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.vision_multi_camera'		).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.decsys'					).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.jfas'						).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.led'						).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.led_power'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.led_opti_acc'				).click(function(){ $(this).next().slideToggle('500'); });	$('#list_series > div.led_monitoring'			).click(function(){ $(this).next().slideToggle('500'); });});