<?php 
	require_once 'admin/include/config.php';
	define("THIS_PAGE","contact");
	if(!$hm_arr = get_seo(4)){
		$hm_title = $hm_key = $hm_des = hmcss_default_config(1);
	}
	else{
		$hm_title = $hm_arr[0][2];
		$hm_key = $hm_arr[0][3];
		$hm_des = $hm_arr[0][4];
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $hm_title; ?></title>
<meta name="description" content="<?php echo $hm_des; ?>" />
<meta name="keywords" content="<?php echo $hm_key; ?>" />
<script src="http://api.map.baidu.com/api?v=1.1&services=false" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
#out{width:1000px; overflow:hidden; min-height:600px; height:auto; background-image:url(pics/bg/left_bg.gif); background-repeat:repeat-y;}
#right{width:800px; height:auto!important; height:auto; float:left; text-indent:2em; padding:10px 0px; line-height:20px;}
#contact_div{width:780px; height:550px; background:url(pics/contact.gif) center no-repeat; text-indent:0px; line-height:30px;}
a{color:#666; text-decoration:none;}
a:hover{color:#F33; text-decoration:underline;}
</style>
</head>

<body>
<?php require_once("top.php"); ?>
<div class="now_position"><span class="position_str">当前位置：<a href="index.php">首页</a>-><a href="contact_us.php">联系我们</a>->我的位置</span><span class="im_notice">
<marquee direction="left" scrolldelay="100" onmouseout="this.start()" onmouseover="this.stop()" style="width:400px;">
<?php hmcss_notice(); ?>
</marquee></span></div>
<div id="out">
<div id="left">
	<div class="left_menu">
    	<span class="left_arr_normal"></span><span class="left_menu_con"><a href="contact_us.php">联系方式</a></span>
    </div>
    <div class="left_menu">
    	<span class="left_arr_over"></span><span class="left_menu_con"><a href="contact_map.php">我的位置</a></span>
    </div>
</div>
<div id="right">
	<div style="width: 798px; height: 500px; border: 1px solid gray" id="container">
    <script type="text/javascript">
 var map = new BMap.Map('container', {zoomLevelMin: 5, zoomLevelMax: 17});
 //var map = new BMap.Map("container"); //实例地图
 var point = new BMap.Point(119.484637, 32.213771); //初始坐标
 var marker = new BMap.Marker(point); //创建坐标标注实例
 var navigationControl = new BMap.NavigationControl();
 navigationControl.setType(BMAP_NAVIGATION_CONTROL_LARGE); //设置平移缩放控件的类型

 var opts = {
  width : 300, // 信息窗口宽度
  height : 120, // 信息窗口高度
  title : "<span style=\"font-size:12px;\">河马工作室<br>QQ：79796070(河马爱上网)<br>网址：<a href=\"http://www.morewen.com\" target=\"_blank\">http://www.morewen.com/</a><br>网站建设,网站设计,WEB项目,B/S架构管理软件开发</span>" // 信息窗口标题
 }

 map.centerAndZoom(point, 10); //初始化  16为级别
 map.addOverlay(marker); //将覆盖物添加到地图中，一个地图只允许添加一次
 map.enableScrollWheelZoom(1); //启用滚轮放大
 map.addControl(navigationControl);//将空间添加到地图

 var infoWindow = new BMap.InfoWindow("<span style=\"font-size:12px;\">江苏省镇江市京口区</span>", opts); // 创建信息窗口对象

 marker.addEventListener("click", function() { //click左键单击地图时触发此事件。                                      
    this.openInfoWindow(infoWindow);
    // this.closeInfoWindow();//关闭地图窗口      
  });
</script>
</div>
</div>
<div id="foot"><?php unset($hm_arr,$filter,$hm_arr_news,$config_arr); hmcss_foot(); ?></div>
</body>
</html>