<td class="label"><?php 
echo translate('Link');
?>
:</td>
															<td><?php 
text_box('url_link', $_REQUEST['f_fileurl'], 40, 0);
?>
</td>
														</tr>
														<tr>
															<td class="label"><?php 
echo translate('Select Asset');
?>
:</td>
															<td colspan="3"><?php 
asset_finder('assetid', '', array('file' => 'D'), 'sq_wysiwyg_popup_sidenav', false, 'setUrl');
?>
</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>

									</fieldset>
								</td>
							</tr>
							<tr>
								<td valign="top" width="50%">
									<fieldset>
										<legend><b><?php 
													Enter URL manually<br />
													<?php 
    echo translate('Protocol');
    ?>
&nbsp;<?php 
    combo_box('f_longdesc_protocol', $url_protocol_options, '', 'style="font-family: courier new; font-size: 11px;"');
    ?>
													<?php 
    echo translate('Link');
    ?>
&nbsp;<?php 
    text_box('f_longdesc_link', '', 40, 0);
    ?>
													<br />or choose a Standard Page asset<br />
													<?php 
    asset_finder('f_longdesc', '0', array('page_standard' => 'D'), 'sq_wysiwyg_popup_sidenav');
    ?>
												<?php 
}
?>
											<br />If you enter URL manually, current asset in the asset finder must be cleared.<br />
											</td>
										</tr>
									</table>
								</fieldset>
							</tr>
							<tr>
								<td width="50%" rowspan="2">
									<fieldset class="prev">
									<legend><b><?php 
echo translate('Preview');
?>
:</td>
															<td colspan="3">
																<span id="asset_finder_all" style="display:block">
																	<?php 
asset_finder('assetid', $_GET['assetid'], array(), 'sq_wysiwyg_popup_sidenav', FALSE, 'setUrl');
?>
																</span>
																<span id="asset_finder_link_asset" style="display:none">
																	<?php 
asset_finder('link_assetid', $_GET['assetid'], array('link' => 'I'), 'sq_wysiwyg_popup_sidenav', FALSE, 'setUrl');
?>
																</span>
																<span id="asset_finder_redirect_asset" style="display:none">
																	<?php 
asset_finder('page_redirect_assetid', $_GET['assetid'], array('page_redirect' => 'I'), 'sq_wysiwyg_popup_sidenav', FALSE, 'setUrl');
?>
																	<script type="text/javascript">
																		// Add event listener for Asset Selector's clear button
																		var all_clr_btn = document.getElementById('sq_asset_finder_assetid_clear_btn');
																		var link_clr_btn = document.getElementById('sq_asset_finder_link_assetid_clear_btn');
																		var page_redirect_clr_btn = document.getElementById('sq_asset_finder_page_redirect_assetid_clear_btn');
																		if (all_clr_btn.addEventListener) {
																			all_clr_btn.addEventListener('click', reset_type_selector, false);
																			link_clr_btn.addEventListener('click', reset_type_selector, false);
																			page_redirect_clr_btn.addEventListener('click', reset_type_selector, false);
																		} else if (all_clr_btn.attachEvent) {
																			// IE browser
																			all_clr_btn.attachEvent('onclick', reset_type_selector);
																			link_clr_btn.attachEvent('onclick', reset_type_selector);
																			page_redirect_clr_btn.attachEvent('onclick', reset_type_selector);