﻿function clipit(txt) 
 {
	document.getElementById(txt).select();
	document.getElementById(txt).focus();
	
	if (document.all) 
	 {
		textRange = document.getElementById(txt).createTextRange();
		textRange.execCommand('Copy');
	}
	
  document.getElementById(+txt+"c").innerHTML = "<small><font color=#FFFF00>تم نسخ الرابط</font></small>";
}