
 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="Contents highlighted and copied to clipboard!"
  setTimeout("window.status=''",2400);
  }
}

var url = "http://www.UpmyPhoto.com/";
var title = "UpmyPhoto.com - Image Hosting";

function highlight(field) {
       field.focus();
       field.select();
}

function favorites(){
if(document.all)
window.external.AddFavorite(url,title)
}
function assign_val (num1, num2)
 {
       return num1 * 5 + num2;
}

