
页面加载中,请稍候......
';
function ChanageCity(CityCode)
{
location.href = '?City='+CityCode;
}
function showlogin()
{
divbg.style.display='';
divlogin.style.display='';
}
function hiddenlogin()
{
divbg.style.display='none';
divlogin.style.display='none';
}
var objXWin = new Array();
var e_cw,e_ch;
function ShowPublish()
{
if (document.getElementById('xMsgPublish')==null)
objXWin[1] = new xWin('Publish',280,415,parseInt(e_cw-390),170,'发布预告','','objXWin[1]');
else
{
objXWin[1].reMove();
objXWin[1] = new xWin('Publish',280,415,parseInt(e_cw-390),170,'发布预告','','objXWin[1]');
}
}
function ShowMyforeshow()
{
if (document.getElementById('xMsgMyforeshow')==null)
objXWin[2] = new xWin('Myforeshow',280,300,parseInt(e_cw-380),170,'我的预告','','objXWin[2]');
else
{
document.getElementById('ifrMyforeshow').src = document.getElementById('ifrMyforeshow').src
objXWin[2].reMove();
objXWin[2] = new xWin('Myforeshow',280,300,parseInt(e_cw-380),170,'我的预告','','objXWin[2]');
}
}
function DeleteEvent(url)
{
CreateDomScript(url,'DelEvent');
removePop('IconName');
removePop('EventInfo');
ReFurbish();
}
function ReFurbish()
{
if($('ifrMyforeshow')!=null)
$('ifrMyforeshow').src=$('ifrMyforeshow').src+'&t='+Math.random();
if($('ifrEventType')!=null)
$('ifrEventType').src=$('ifrEventType').src+'&t='+Math.random();
if($('index_')!=null)
$('index_').src=$('index_').src+'&t='+Math.random();
}
function ShowEventType(obj,me_id)
{
if (document.getElementById('xMsgEventLable')!=null)
objXWin[4].reMove();//关闭标签
if (document.getElementById('xMsgEventType')==null)
{
objXWin[3] = new xWin('EventType',280,350,parseInt(e_cw-370),172,obj.innerText,'','objXWin[3]');
ShowTypePop(CityCode,me_id);
}
else
{
objXWin[3].reMove();
objXWin[3] = new xWin('EventType',280,350,parseInt(e_cw-370),172,obj.innerText,'','objXWin[3]');
ShowTypePop(CityCode,me_id);
}
}
function ShowEventLable(obj)
{
if (document.getElementById('xMsgEventType')!=null)
objXWin[3].reMove();//关闭事件类别
removeAllPop();
if (document.getElementById('xMsgEventLable')==null)
objXWin[4] = new xWin('EventLable',295,280,parseInt(e_cw-360),174,obj.innerText,'','objXWin[4]');
else
objXWin[4].Show(objXWin[4].id);
}
function ShowSearchEvent(searchContent)
{
if (document.getElementById('xMsgSearchEvent')==null)
objXWin[5] = new xWin('SearchEvent',280,350,parseInt(e_cw-350),176,'搜索结果','','objXWin[5]');
else
{
objXWin[5].reMove();
objXWin[5] = new xWin('SearchEvent',280,350,parseInt(e_cw-350),176,'搜索结果','','objXWin[5]');
}
}
function ShowEditPublish(me_id)
{
if (document.getElementById('xMsgEditPublish')==null)
objXWin[6] = new xWin('EditPublish',280,415,parseInt(e_cw-340),178,'修改预告','','objXWin[6]');
else
{
objXWin[6].reMove();
objXWin[6] = new xWin('EditPublish',280,415,parseInt(e_cw-340),178,'修改预告','','objXWin[6]');
document.getElementById('ifrEditPublish').src='ifrPublishEvent.aspx?citycode='+CityCode+'&action=edit&me_id='+me_id;
}
}
function ShowIndex()
{
if (document.getElementById('xMsgindex')==null)
objXWin[0] = new xWin('index',295,310,parseInt(e_cw-330),180,'','','objXWin[0]');
else
{
objXWin[0].reMove();
objXWin[0] = new xWin('index',295,310,parseInt(e_cw-330),180,'','','objXWin[0]');
}
}
window.onload = function()
{
window.moveTo(0,0);
window.resizeTo(window.screen.width,window.screen.height-25);
waitMaps();
StartPop();
e_cw = document.body.clientWidth;
e_ch = document.body.clientHeight;
mapResize();
ShowIndex();
PageLoad();
}
function PageLoad()
{
$('loading').style.display = 'none';
$('s_City').style.display = '';
}
window.onresize = function()
{
for(i=0;i
创 造 美 的 新 世 界