function copy(rid) {
    var copytoclip=1
	var tempval=document.getElementById(rid)
	tempval.focus()
	tempval.select()
	if (document.all&&copytoclip==1){
		therange=tempval.createTextRange()
		therange.execCommand("Copy")
	}
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

