var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&&copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="The Embed Code Has Been Copied"
setTimeout("window.status=''",1800)
alert("The Embed Code Has Been Copied");
}
}