  var countrySelect_URLs = new Array();
  countrySelect_URLs["eng"] = "http://eng.crealifemed.com/index.html";
	countrySelect_URLs["chn"] = "http://www.crealifemed.com/index.html";
	countrySelect_URLs["big"] = "http://fjtcnc.now.cn:7751/www.crealifemed.com/index.html";
	countrySelect_URLs["fra"] = "http://fra.crealifemed.com/index.html";
	countrySelect_URLs["deu"] = "http://deu.crealifemed.com/index.html";
	countrySelect_URLs["jpn"] = "http://jpn.crealifemed.com/index.html";
	countrySelect_URLs["all"] = "http://www.crealifemed.com/";

	// Function to jump to a URL in a <select> menu. In this case, the name of the array containing the URLs is determined based on the name of the pulldown menu.
	function jumpToURL(formName,menuName) {

	 var obj = eval("document." + formName + "." + menuName);
	 var index = obj.value;

	 var url = eval(menuName + "_URLs[index]");
	 if (index != "") {
	   location.href=url;
	 }
	}

	function goToURL(obj)
		{
			with (document.Product)
			{
				window.location.href=(obj[obj.selectedIndex].value);
			}
		}

//右侧浮动层代码

var tips; var theTop = 125/*这是默认高度*/; var old = theTop;
function initFloatTips() {
  tips = document.getElementById('adLR');
  document.getElementById("adLR").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("adLR").offsetWidth)+"px";
  moveTips();
};
function moveTips() {
  var tt=50;
  if (window.innerHeight) {
    pos = window.pageYOffset
  }
  else if (document.documentElement && document.documentElement.scrollTop) {
    pos = document.documentElement.scrollTop
  }
  else if (document.body) {
    pos = document.body.scrollTop;
  }
  pos=pos-tips.offsetTop+theTop;
  pos=tips.offsetTop+pos/10;
  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips.style.top = pos+"px";
    tt=10;
  }
  old = pos;
  setTimeout(moveTips,tt);
}

//防copy代码
document.oncontextmenu=new Function("event.returnValue=false");
document.onselectstart=new Function("event.returnValue=false");
