<!--#include file="Include/Const.asp" -->
<!--#include file="Include/ConnSiteData.asp" -->
<!--#include file="Include/NoHackSql.Asp" -->
<%
Call SiteInfo
if Trim(request("BigMap"))="" Then
Response.write "<div>不好意思,地图无法显示</div>"
response.Write("3秒钟自动返回<a href=""index.asp"">如未返回请点击这里</a></font><script>setTimeout(function(){window.location.href='index.asp'},3000);</script>")
Response.End 
Else 
%>
<style type="text/css">
<!--
.STYLE1 {
	font-family: "宋体";
	font-size: 16px;
}
-->
</style>
<body style="margin:0">
<style>
A.white  	{COLOR: #FFFFFF; TEXT-DECORATION: none}
A.white:link	{COLOR: #FFFFFF; TEXT-DECORATION: none}
A.white:visited{COLOR: #FFFFFF; TEXT-DECORATION: none}
A.white:hover	{COLOR: yellow; TEXT-DECORATION: none}
A.white:active	{TEXT-DECORATION: none}
body,td{font-size:12px}
</style>

<script language="javascript" src=" http://api.51ditu.com/js/maps.js "></script>
<script language="javascript" src="http://api.51ditu.com/js/ezmarker.js"></script>
<body>
<div style='position:absolute;bottom:0px;padding:2px;text-align:center;height:18px;width:160px;background-color: #006699;z-index:1000;font-size:12px; overflow: hidden'><font color=#FFFFFF><span class="STYLE1"></span>公司地图导航</font></div><div id="myMap" style="width:100%; height:100%;"></div>
<script language="javascript">
var maps = new LTMaps( "myMap" );
var icon = new LTIcon();

var point = new LTPoint(<%=request("BigMap")%>)
maps.centerAndZoom (point ,3);

var marker1 = new LTMarker( new LTPoint(<%=request("BigMap")%>) , icon );
maps.addOverLay( marker1 );

var text = new LTMapText( point );
text.setLabel( "<div style='padding:6px'>我们公司的位置</div>" ); 
maps.addOverLay( text ); 
maps.handleKeyboard(); //键盘操作支持
maps.handleMouseScroll();//鼠标滚轮支持
var control1 = new LTSmallMapControl();//标准缩放控件
maps.addControl( control1 );
</script>
</body>
<%End If %>