﻿// JScript 文件

document.write("<div class=\"divPopBox\" id=\"divPopBox_FlashInfo\" onmouseover=\"popboxFlashInfo_Show();\" onmouseout=\"popboxFlashInfo_Hide();\">");document.write("	<div class=\"divPopBox_FlashTop\"></div>");document.write("	<div class=\"divPopBox_FlashCon\" id=\"divPopBox_FlashInfo_Content\"></div>");document.write("</div>");
var _e_PopboxFlashInfo;

function popboxFlashInfo_Open(e, id)
{
    if(id <= 0){return;}
    popboxFlashInfo_Hide();
    try{clearTimeout(t_popbox_flashinfo);}catch(ex){}
    _e_PopboxFlashInfo = e;
    t_popbox_flashinfo = setTimeout("popboxFlashInfo_Detail('" + id + "')", 300);
}

function popboxFlashInfo_Detail(id)
{
    $("#divPopBox_FlashInfo_Content").html("<div class=\"divPopBox_Con_Loading\">数据加载中...</div>");
    jQuery.getScript(
        Virtual_Path_Common_Utils + "AjaxService.koc?AjaxType=Flash_FlashInfoForClueWindow&FlashID=" + id + "&time=" + new Date()
    )
    var _position_popboxFlashInfo = $(_e_PopboxFlashInfo).offset();
    $("#divPopBox_FlashInfo").css({"top": _position_popboxFlashInfo.top - 165,"left": _position_popboxFlashInfo.left - 128 + ($(_e_PopboxFlashInfo).width() / 2)}).show();
}

function popboxFlashInfo_Close()
{
    try{clearTimeout(t_popbox_flashinfo);}catch(ex){}
    t_popbox_flashinfo = setTimeout(popboxFlashInfo_Hide, 150);
}

function popboxFlashInfo_Hide()
{
    $("#divPopBox_FlashInfo").hide();
}

function popboxFlashInfo_Show()
{
    try{clearTimeout(t_popbox_flashinfo);}catch(ex){}
    $("#divPopBox_FlashInfo").show();
}
