//상품 정보 미리보기
function FuncAjaxModPluginLayout_ObjectInfo_ObjectView(idx,type){
   $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").hide();

   var string = "ACT_NAME=OBJECT_INFO";
   string += "&SkinPath="+AjaxModPluginLayout_ObjectInfo_SkinPath;
   string += "&TYPE="+type;
   string += "&IDX="+idx;

   FuncDftAjaxProcessWaitingTag(1);       //Ajax 실행중 출력문
   //jqeury -> Ajax 실행
   $.ajax({
      type:"POST",
      url:""+AjaxModPluginLayout_ObjectInfo_SkinPath+"act/action.php",
      data:string,
      success:function(html){
         FuncDftAjaxProcessWaitingTag(2);       //Ajax 실행중 출력문
         var width = 640;
         var height = 400;
         $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").html(html);
         $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"width":width});

         var NowW = (document.body.clientWidth/2) - (width/2);
         var NowH = (document.body.clientHeight/2) - (height/2);
         $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"left":NowW});
         if(SETT_ICARUSX_brower == "Ie"){
            if(AjaxModPluginLayout_ObjectInfo_SpaceTop>0){
               $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"pixelTop":""+(document.body.scrollTop+NowH)-AjaxModPluginLayout_ObjectInfo_SpaceTop+""});
            }else{
               $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"pixelTop":""+(document.body.scrollTop+NowH)+""});
            }
         }else{
            if(AjaxModPluginLayout_ObjectInfo_SpaceTop>0){
               $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"top":""+(document.body.scrollTop+NowH)-AjaxModPluginLayout_ObjectInfo_SpaceTop+""});
            }else{
               $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").css({"top":""+(document.body.scrollTop+NowH)+""});
            }
         }
         $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").fadeIn(300);
         $("select").hide();
         $("select[jQueryObjectInfoForm=Y]").show();
      }
   });
}

//상품정보닫기
function FuncAjaxModPluginLayout_ObjectInfo_ObjectViewClose(){
   $("#DivAjaxModPluginLayout_ObjectInfo_ObjectInfo").effect("clip","",300,"");     //drop,puff,clip 옵션중 이용
   $("select").show();
}

//상품 통계정보
function FuncAjaxModPluginLayout_ObjectInfo_ObjectStatic(idx){

   var string = "ACT_NAME=OBJECT_STATIC";
   string += "&SkinPath="+AjaxModPluginLayout_ObjectInfo_SkinPath;
   string += "&OBJ_NO="+idx;
   string += "&stSearchStaYear="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchStaYear] option:selected").eq(0).val();
   string += "&stSearchStaMonth="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchStaMonth] option:selected").eq(0).val();
   string += "&stSearchStaDay="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchStaDay] option:selected").eq(0).val();
   string += "&stSearchEndYear="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchEndYear] option:selected").eq(0).val();
   string += "&stSearchEndMonth="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchEndMonth] option:selected").eq(0).val();
   string += "&stSearchEndDay="+$("select[name=TxtAjaxModPluginLayout_ObjectInfo_SearchEndDay] option:selected").eq(0).val();

   FuncDftAjaxProcessWaitingTag(1);       //Ajax 실행중 출력문
   //jqeury -> Ajax 실행
   $.ajax({
      type:"POST",
      url:""+AjaxModPluginLayout_ObjectInfo_SkinPath+"act/action.php",
      data:string,
      success:function(html){
         FuncDftAjaxProcessWaitingTag(2);       //Ajax 실행중 출력문
         $("#DivAjaxModPluginLayout_ObjectInfo_ObjectStatic").html(html);
         $("#TblAjaxModPluginLayout_ObjectInfo_ObjectStatic").hide().fadeIn(300);
      }
   });
}


