// Composition 창펼치기
function specifications()
{
  if(document.getElementById('specifications_off').style.display=="")
  {
    document.getElementById('specifications_off').style.display="none";
	document.getElementById('specifications_on').style.display="";
	document.getElementById('specifications_con').style.display="none";
  }else{
    document.getElementById('specifications_off').style.display="";
	document.getElementById('specifications_on').style.display="none";
	document.getElementById('specifications_con').style.display="";
  }
}
// Accessories 창펼치기
function divbase()
{
	var imgPath = new String();
	imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/accessories.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/accessories.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/accessories.jpg)";
	}
}

function sampletube()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/TypeIA.jpg)" || imgPath == "", document.getElementById('sampletube_off').style.display==""){
		document.getElementById("div1").style.backgroundImage = "url(./img/TypeIA.jpg)";
		document.getElementById('sampletube_off').style.display="none";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/TypeIA.jpg)";
		document.getElementById('sampletube_off').style.display="";
	}
}
function sampletubeimg()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/TypeIA.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/TypeIA.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/TypeIA.jpg)";
	}
}

function adapter()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/Centrifuge_Adapter.jpg)" || imgPath == "", document.getElementById('adapter_off').style.display==""){
		document.getElementById("div1").style.backgroundImage = "url(./img/Centrifuge_Adapter.jpg)";
		document.getElementById('adapter_off').style.display="none";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/Centrifuge_Adapter.jpg)";
    	document.getElementById('adapter_off').style.display="";
  }
}
function adapterimg()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/Centrifuge_Adapter.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/Centrifuge_Adapter.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/Centrifuge_Adapter.jpg)";
  }
}

function sampletuberack()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6010-B.jpg)" || imgPath == "", document.getElementById('sampletuberack_off').style.display==""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-B.jpg)";
		document.getElementById('sampletuberack_off').style.display="none";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-B.jpg)";
    	document.getElementById('sampletuberack_off').style.display="";
  }
}
function sampletuberackB()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6010-B.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-B.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-B.jpg)";
  }
}
function sampletuberackG()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6010-G.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-G.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-G.jpg)";
  }
}
function sampletuberackO()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6010-O.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-O.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6010-O.jpg)";
  }
}

function microfugesampletube()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6050-B.jpg)" || imgPath == "", document.getElementById('microfugesampletube_off').style.display==""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-B.jpg)";
		document.getElementById('microfugesampletube_off').style.display="none";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-B.jpg)";
    	document.getElementById('microfugesampletube_off').style.display="";
  }
}
function microfugesampletubeB()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6050-B.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-B.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-B.jpg)";
  }
}
function microfugesampletubeG()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6050-G.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-G.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-G.jpg)";
  }
}
function microfugesampletubeO()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/C6050-O.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-O.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/C6050-O.jpg)";
  }
}

function polymerbattery()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/battery.jpg)" || imgPath == "", document.getElementById('polymerbattery_off').style.display==""){
		document.getElementById("div1").style.backgroundImage = "url(./img/battery.jpg)";
		document.getElementById('polymerbattery_off').style.display="none";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/battery.jpg)";
    	document.getElementById('polymerbattery_off').style.display="";
  }
}
function polymerbatteryimg()
{
	var imgPath = new String(); imgPath = document.getElementById("div1").style.backgroundImage;
	if(imgPath == "url(./img/battery.jpg)" || imgPath == ""){
		document.getElementById("div1").style.backgroundImage = "url(./img/battery.jpg)";
	}else{
		document.getElementById("div1").style.backgroundImage = "url(./img/battery.jpg)";
  }
}

// Reagents창펼치기
function onehundredunits()
{
	var imgPath = new String(); imgPath = document.getElementById("div2").style.backgroundImage;
	if(imgPath == "url(./img/palmtaq_highspeed_100units.jpg)" || imgPath == "", document.getElementById('onehundredunits_off').style.display==""){
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_100units.jpg)";
		document.getElementById('onehundredunits_off').style.display="none";
	}else{
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_100units.jpg)";
    	document.getElementById('onehundredunits_off').style.display="";
  }
}
function onehundredunitsimg()
{
	var imgPath = new String(); imgPath = document.getElementById("div2").style.backgroundImage;
	if(imgPath == "url(./img/palmtaq_highspeed_100units.jpg)" || imgPath == ""){
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_100units.jpg)";
	}else{
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_100units.jpg)";
  }
}

function twohundredfiftyunits()
{
	var imgPath = new String(); imgPath = document.getElementById("div2").style.backgroundImage;
	if(imgPath == "url(./img/palmtaq_highspeed_250units.jpg)" || imgPath == "", document.getElementById('twohundredfiftyunits_off').style.display==""){
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_250units.jpg)";
		document.getElementById('twohundredfiftyunits_off').style.display="none";
	}else{
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_250units.jpg)";
    	document.getElementById('twohundredfiftyunits_off').style.display="";
  }
}
function twohundredfiftyunitsimg()
{
	var imgPath = new String(); imgPath = document.getElementById("div2").style.backgroundImage;
	if(imgPath == "url(./img/palmtaq_highspeed_250units.jpg)" || imgPath == ""){
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_250units.jpg)";
	}else{
		document.getElementById("div2").style.backgroundImage = "url(./img/palmtaq_highspeed_250units.jpg)";
  }
}

// PoPUp
function popup(url){
 newwin=window.open(url,"new","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=800,height=600"); 
}
