pHover(".messages tr","trHover");
var nowItemId = null;
jQuery("i[itemId]").click(function(){
nowItemId = new Number(jQuery(this).attr("itemId"));
PCDialog.open("挑錯贏大獎!","iframe:http:///pdlib/guest/cavilItem4Guest.jsp?pid=279924&iid="+nowItemId,"500","280");
return false;
});
function loginCallBack(){
jQuery("i[itemId="+nowItemId+"]").click();
}
function doOpen(){
if(PCDialog.isOpen()){
window.setTimeout("doOpen()",50);
return;
}
PCDialog.open("用戶登錄","iframe:http:///pdlib/guest/pop_login.jsp?callback=loginCallBack","350","260");
}
//只是給糾錯彈出層用
function openPopLogin(){
//關(guān)閉糾錯的彈出層
PCDialog.close();
//關(guān)閉效果還沒完成
window.setTimeout("doOpen()",50);
return false;
}
/*09-10-19 Nvidia 廣告*/
$(document).ready(function(){
$('.ivyNvidiaIcon').hover(
function(){
var y = $(this).offset().top;
var x = $(this).offset().left;
$('body').append("
");
$('.ivyNvidiaBig').css({"top":y+"px","left":(x+50)+"px"})},
function(){$('.ivyNvidiaBig').remove();}
)
});
$(document).ready(function(){
$('.ivyNvidia').hover(
function(){
var y = $(this).offset().top;
var x = $(this).offset().left;
$('body').append("
");
$('.ivyNvidiaBig').css({"top":y+"px","left":(x+110)+"px"})},
function(){$('.ivyNvidiaBig').remove();}
)
});