﻿


 $(document).ready(function(){

  $(".imgMypage").livequery("mouseover",function(){
           
            $(this).css("cursor","hand");
          
  });
  
   $(".imgLogin").livequery("mouseover",function(){
           
            $(this).css("cursor","hand");
          
  });
  
  
    $(".imgMypage").livequery("click", function () {
      
    if(getCookie("loginid") != "" && getCookie("loginid") != "undefined" && getCookie("loginid") != null){
       
       if($(this).attr("src") == "img/mypage_intro.jpg"){
        
        document.cookie = "page=member";
        document.location = "main.aspx";
        
       
       }else{
         $(".contentsBody").empty();
         $(".contentsBody").append("<iframe src='member.aspx' frameborder='0' width='500' height='620' scrolling=no></iframe>");
       }
       
       
      }else{
            alert("로그인 하신후 클릭하세요");
      }
  
     });
     
     //$("img[src='img/mypage_intro.jpg']").
  
  
  
 
           
 });

