<!--#include virtual="/NR/System/WBC/Internals/Main/WBCApp.inc"-->
<!-- #include virtual="/NR/System/WBC/Customizable/WBCFuncPagesConfig/UIStringConstants//HyperlinkDlgUIStrings.inc" -->

<%
' ********************************************************************
' Copyright (C) 2001 Microsoft Corporation. All rights reserved.
'
'	IMPORTANT.  Please read the legal.txt file, located in the
'	"<CMS Install Directory>\Server\httpexec\WBC\Internals"
'	directory, governing the use of this internal file."
' ********************************************************************
'
' ********************************************************************
' File:		/NR/System/WBC/Internals/WBCFuncPages/IE-Specific/HLink/HLink.asp
' Author:	Microsoft Corporation.
' Purpose:	Implements the Hyperlink dialog for IE4/5 running under Windows
' ********************************************************************

' make sure page not cached
Response.ExpiresAbsolute = #Jan 01, 1980 00:00:00#
Response.AddHeader "cache-control", "private"
Response.AddHeader "pragma", "no-cache"

%>

<html>

<head>
<title>Insert Hyperlink</title>

<% Call EmbedWBCHeadSection %>

<script language="Javascript" src="./hlink.js"></script>

<style>
	.SecHeading {
		font-size:12px;
		font-weight:bold;
		font-family:verdana,arial,helvetica
	}

	.AttribLbl {
		font-size:11px;
		font-family:verdana,arial,helvetica
	}

	.AttribValue {
		font-size:11px
	}

</style>
</head>

<!-- This dialog is currently 400px by 200px -->

<body bgcolor="#c0c0c0" scroll="no" onload="onBodyLoad()">

<form name="HLink_Form">

<!-- Define As Hyperlink -->
<div style="position:relative; left:10; top:20; height=15; width=420">
	<table width="100%" border=0 cellpadding=0 cellspacing=0>
		<tr bgcolor="#808080">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
		<tr bgcolor="#ffffff">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
	</table>
</div>
<span class="SecHeading" style="position:relative; text-align:left; left:20; top:0; height=15; width=150; background-color:#c0c0c0">
	&nbsp;&nbsp;<%= IDS_DEFINE_AS_HLINK%>
</span>

<br>

<!-- The Hyperlink Address input field line -->
<%
	' The InternalLinks.asp dialog does not work under IE4, so we
	' need to mask out the "Browse..." button here which is the
	' entry point to that dialog

	If ( isMSIE() And Left(GetBrowserVerFull(),3) = "4.0" ) Then
%>
	<span class="AttribLbl" title="<%= IDS_HLINK_ADDRESS_HELPTEXT%>"
			style="position:relative; left:30; top:5; height=20; width=140">
		<%= IDS_HLINK_ADDRESS %>:
	</span>
	<span>
		<input class="AttribValue" style="position:relative; left:0; top:0; height=22; width=280"
			type="text" name="HRef" value="">
	</span>
<% Else %>
	<span class="AttribLbl" title="<%= IDS_HLINK_ADDRESS_HELPTEXT%>"
			style="position:relative; left:30; top:5; height=20; width=140">
		<%= IDS_HLINK_ADDRESS %>:
	</span>
	<span>
		<input class="AttribValue" style="position:relative; left:0; top:0; height=22; width=210"
			type="text" name="HRef" value="">
	</span>
	<span style="position:relative; left:5; top:5" title="<%= IDS_BROWSE_HELPTEXT%>">
		<a href="#" onclick="onClickBrowse();return false"><img src="Images/Browse.gif" border="0"></a>
	</span>
<% End If %>

<br>

<!-- The Tooltip field --->
<span class="AttribLbl" title="<%= IDS_TOOLTIP_HELPTEXT%>"
		style="position:relative; left:40; top:5; height=15; width=140">
	<%= IDS_TOOLTIP%>:
</span>
<span>
	<input class="AttribValue" style="position:relative; left:0; top:5; height=22; width=280"
		type="text" name="Title" value="">
</span>

<br>

<!-- The Target field --->
<span class="AttribLbl" title="<%= IDS_TARGET_HELPTEXT%>"
		style="position:relative; left:40; top:10; height=15; width=140">
	<%= IDS_TARGET%>:
</span>
<span>
	<select class="AttribLbl"  style="position:relative; left:0; top:10; height=20; width=195"
			name="TargetSel" onchange="onClickTargetSel()">
		<option value="">Default Window or Frame
		<option value="_self">Same Window or Frame
		<option value="_parent">Parent Window or Frame
		<option value="_top">Full Browser Window
		<option value="_blank">New Unnamed Window
		<option value="Custom">Custom Named Window
	</select>
</span>
<span>
	<input class="AttribValue" style="position:relative; left:5; top:10; height=22; width=75"
			type="text" name="Target" value="" readonly>
</span>

<br>

<!-- Define As Internal Anchor Point -->
<div style="position:relative; left:10; top:25; height=15; width=420">
	<table width="100%" border=0 cellpadding=0 cellspacing=0>
		<tr bgcolor="#808080">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
		<tr bgcolor="#ffffff">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
	</table>
</div>
<span class="SecHeading" style="position:relative; text-align:left; left:20; top:5; height=15; width=225; background-color:#c0c0c0">
	&nbsp;&nbsp;<%= IDS_DEFINE_AS_ANCHOR%>
</span>

<br>

<!-- The Name field --->
<span class="AttribLbl" title="<%= IDS_NAME_HELPTEXT%>"
		style="position:relative; left:30; top:15; height=15; width=140">
	<%= IDS_NAME%>:
</span>
<span>
	<input class="AttribValue" style="position:relative; left:0; top:15; height=22; width=280"
		type="text" name="Name" value="">
</span>

<br>

<!-- OK and Cancel buttons -->
<div style="position:relative; left:10; top:25; height=15; width=420">
	<table width="100%" border=0 cellpadding=0 cellspacing=0>
		<tr bgcolor="#808080">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
		<tr bgcolor="#ffffff">
			<td><img src="<%=IDS_TRANSPARENT_GIF%>" width="1" height="1" border="0"></td>
		</tr>
	</table>
</div>

<br>

<span style="position:relative; left:280; top:0; height=15; width=90"><a href="#" onclick="onClickOkay();return false"><img src="Images/Okay.gif" border="0"></a></span>
<span style="position:relative; left:270; top:0; height=15; width=90"><a href="#" onclick="onClickCancel();return false"><img src="Images/Cancel.gif" border="0"></a></span>

</form>

</body>

</html>
