function image_unique_id()
{
	var elem=document.getElementById("image_id");
	if(elem!=null)elem.value=window.opener.document.uniqueID;
}
//generate a new unique id and set the value
generate a new unique id and set the value
generate a new unique id and set the value
function image_unique_id()
{
	var elem=document.getElementById("image_id");
	if(elem!=null)elem.value=window.opener.document.uniqueID;
}
function image_unique_id ( ) { var elem = document . getElementById ( "image_id" ) ; if ( elem != null ) elem . value = window . opener . document . uniqueID ; }
generate a new unique id and set the value
generate a new unique id and set the value