         	h+='<label for="preview_uri">Preview URI</label>';
         	h+='<input type="text" name="preview_uri" id="preview_uri" size="80" value="' + result.PREVIEW_URI + '">';
         	h+='<a href="' + result.PREVIEW_URI + '" target="_blank" class="external">open</a>';
+        	h+='<label for="media_relationship">Media Relationship</label>';
+        	h+='<select name="media_relationship" id="media_relationship" class="reqdClr"></select>';
+
         	h+='<label for="media_license_id">License</label>';
         	h+='<select name="media_license_id" id="media_license_id"></select>';
 			h+='<label for="mime_type">MIME Type</label>';

					</cfif>
				)
			</cfquery>
			<cfquery name="linkpicked" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
				insert into media_relations (
					MEDIA_ID,

			<option></option>
			<cfloop query="ctmime_type">
				<option value="#mime_type#">#mime_type#</option>
			</cfloop>
		</select>
		<select name="ctmedia_relationship" id="ctmedia_relationship">
			<option></option>
			<cfloop query="ctmedia_relationship">
				<option value="#media_relationship#">#media_relationship#</option>
			</cfloop>
		</select>
		<input type="hidden" id="myAgentID" value="#session.myAgentID#">
