﻿// JScript 文件

function getStr()
{      
  var ss=GetCookie.GetShangjiaid().value;
 
  if(ss==null || ss=="")
  {alert("企业用户请先登陆后，再发布信息！");
    window.location.href="/company/Login.html";
  }
  else
  {  //window.location.href="/company/admin_index.html";
      window.location.href="/company/admin/admin_index.asp";
  }
  
}

 

  var ss=GetCookie.GetShangjiaid().value;
 
   if(ss==null || ss=="")
   { 
      document.getElementById("sjstate").innerHTML="<a href='/company/Login.html'>商家服务</a> &nbsp;|&nbsp; ";
    }
    else
  {   
     document.getElementById("sjstate").innerHTML="<a href='/company/admin/admin_index.asp?id="+ss+"'>商家服务</a> / <a href='/company/quit.html'>退出</a> &nbsp;|&nbsp; ";
  }
