﻿//document.write("<DIV style=\"BORDER: none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; left: expression(eval(document.body.scrollLeft)+eval(document.body.clientWidth)-180); POSITION: absolute;Z-INDEX:1000; TOP: expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-140); TEXT-ALIGN: center\"><iframe width=\"172px\" height=\"86px\"  scrolling=\"no\" allowTransparency=\"true\" border=\"0\" frameborder=\"0\" src=\"http://say-on.com/webchat/preview.jsp?color=808080&title=%u6652%u7F51%u5728%u7EBF%u4EA4%u8C08&roomid=www.7722.com\" ></iframe><br><A href=http://say-on.com/webchat/?color=808080&title=%u6652%u7F51%u5728%u7EBF%u4EA4%u8C08&roomid=www.7722.com target=_blank><NOBR><b>与更多的股友交谈</b></NOBR></A></DIV>")
/*     var  url=window.location+"" ; 
     var id=''; 
     if (url.indexOf('&')==-1){ 
         id=  url.substring(url.indexOf("id=")+3,url.length); 
     } 
     else{     
         var temp=url.indexOf("&"); 
         id=url.substring(url.indexOf("id=")+3,url.indexOf("&")); 
     } 
*/
document.write("<object   id=\"ckf\"  style=\"display:none\"   name=\"ckf\" classid=\"clsid:B5F5E4F9-23EA-4259-9D16-510C001BD727\"    VIEWASTEXT></object>");
document.write("<SCRIPT src=\"/page/images/menub.js\"  type=text/javascript></SCRIPT>")

<!-- Begin
var expDays = 366;

url = unescape(window.location.href);//"http://www.7722.com/";
title = "7722股票知识网";

// Cookie code from The JavaScript Source
function GetCookie (name) {  
var arg = name + "=";  
var alen = arg.length;  
var clen = document.cookie.length;  
var i = 0;  
while (i < clen) {    
var j = i + alen;    
if (document.cookie.substring(i, j) == arg)      
return getCookieVal (j);    
i = document.cookie.indexOf(" ", i) + 1;    
if (i == 0) break;   
}  
return null;
}
function SetCookie (name, value) {  
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {  
var exp = new Date();  
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
   }
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function checkCount() {
var count = GetCookie('count');
if (count == null) {
count=1;
SetCookie('count', count, exp);

if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 

4)) {
window.external.AddFavorite (url,title);
}
else {
var msg = "添加到收藏夹,方便下次访问!";
if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
alert(msg);
   }
}
else {
count++;
SetCookie('count', count, exp);
   }
}
//checkCount();
//  End -->


function getarg()
{
var url = unescape(window.location.href);
if (url.indexOf('?')!=-1){
var allargs = url.split("?")[1];
var args = allargs.split("&");
for(var i=0; i<args.length; i++)
{
var arg = args[i].split("=");
eval('this.'+arg[0]+'="'+arg[1]+'";');
}
}
} 
//var urlarg=new getarg();
//if(urlarg.id!=null)
//um=urlarg.id;

thisHREF =unescape(window.location.href);
vm=thisHREF.split("?");
vv=vm[1];
//alert(vv);
um=GetCookie("ccc");
//alert(um);
if (um!=null)
{
	dq(um);
	}


var lv;
  try   
  {   
  ckf.GetPasswd(); 
  lv=ckf.GetPasswd();
//如果是网员，执行以下代码：

  }   
  catch(e)   
  {   
  lv="";
//如果是非网员，执行以下代码：
  
  }   
  if (lv!="")
  {
document.write("<script language='javascript'>");
document.write("var auto_invite_msg=undefined;");
document.write("var auto_invite_msg_wait=undefined;");
document.write("var xxkf_invite_x=undefined;");
document.write("var xxkf_invite_y=undefined;");
document.write("var xxkf_img=5;");
document.write("var xxkf_top_text='';");
document.write("var xxkf_bottom_text='';");
document.write("var xxkf_cn=undefined;");
document.write("var xxkf_style=undefined;");
document.write("var xxkf_nm=undefined;");
document.write("var xxkf_x=-1;");
document.write("var xxkf_y=70;");
document.write("var xxkf_lang='zh';");
document.write("</script>");
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=djtkf'></script>");

	}
	else
	{



if(vv!=null)
{
um=vv;
SetCookie("ccc",um)
um=GetCookie("ccc");

document.write("<script language='javascript'>");
document.write("var auto_invite_msg=undefined;");
document.write("var auto_invite_msg_wait=undefined;");
document.write("var xxkf_invite_x=undefined;");
document.write("var xxkf_invite_y=undefined;");
document.write("var xxkf_img=5;");
document.write("var xxkf_top_text='';");
document.write("var xxkf_bottom_text='';");
document.write("var xxkf_cn=undefined;");
document.write("var xxkf_style=undefined;");
document.write("var xxkf_nm=undefined;");
document.write("var xxkf_x=-1;");
document.write("var xxkf_y=1;");
document.write("var xxkf_lang='zh';");
document.write("</script>");
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site="+um+"'></script>");
}
else
{
um=GetCookie("ccc");
if(um!=null)
{
	document.write("<script language='javascript'>");
	document.write("var auto_invite_msg=undefined;");
	document.write("var auto_invite_msg_wait=undefined;");
	document.write("var xxkf_invite_x=undefined;");
	document.write("var xxkf_invite_y=undefined;");
	document.write("var xxkf_img=5;");
	document.write("var xxkf_top_text='';");
	document.write("var xxkf_bottom_text='';");
	document.write("var xxkf_cn=undefined;");
	document.write("var xxkf_style=undefined;");
	document.write("var xxkf_nm=undefined;");
	document.write("var xxkf_x=-1;");
	document.write("var xxkf_y=1;");
	document.write("var xxkf_lang='zh';");
	document.write("</script>");
	document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site="+um+"'></script>");

}
else
{

document.write("<script language='javascript'>");
document.write("var auto_invite_msg=undefined;");
document.write("var auto_invite_msg_wait=undefined;");
document.write("var xxkf_invite_x=undefined;");
document.write("var xxkf_invite_y=undefined;");
document.write("var xxkf_img=5;");
document.write("var xxkf_top_text='';");
document.write("var xxkf_bottom_text='';");
document.write("var xxkf_cn=undefined;");
document.write("var xxkf_style=undefined;");
document.write("var xxkf_nm=undefined;");
document.write("var xxkf_x=-1;");
document.write("var xxkf_y=1;");
document.write("var xxkf_lang='zh';");
document.write("</script>");
/*	  
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7722'></script>");
*/	  

var myrandom=Math.round(Math.random()*2);
if (myrandom==1){
//alert("2");
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7722'></script>");
}
else {//if (myrandom==1||myrandom==2){
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7733'></script>");
//alert("3");
}
/*
else if (myrandom==2){
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7744'></script>");
//alert("4");
}
else if (myrandom==3){
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7755'></script>");
//alert("5");
}
*/
//7722
//7733
//7744
//7755
//document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7722'>< /script>");
	}
}
		}
		







//document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=djtkf'>< /script>");
/*
document.write("<script language='javascript'>");
document.write("var auto_invite_msg=undefined;");
document.write("var auto_invite_msg_wait=undefined;");
document.write("var xxkf_invite_x=undefined;");
document.write("var xxkf_invite_y=undefined;");
document.write("var xxkf_img=5;");
document.write("var xxkf_top_text='';");
document.write("var xxkf_bottom_text='';");
document.write("var xxkf_cn=undefined;");
document.write("var xxkf_style=undefined;");
document.write("var xxkf_nm=undefined;");
document.write("var xxkf_x=-1;");
document.write("var xxkf_y=1;");
document.write("var xxkf_lang='zh';");
document.write("</script>");
document.write("<script language='javascript' src='http://kefu.gprj159.cn:8008/firstscript?site=7722'></script>");
*/


function dq(df)
{
	df=df.toLowerCase();
	if(df=="henan")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s110.cnzz.com/stat.php?id=1727775&web_id=1727775\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="fuzhou")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s119.cnzz.com/stat.php?id=1727766&web_id=1727766\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="xiamen")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s19.cnzz.com/stat.php?id=1727764&web_id=1727764\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="hefei")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s119.cnzz.com/stat.php?id=1727762&web_id=1727762\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="tianjin2")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s19.cnzz.com/stat.php?id=1727759&web_id=1727759\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="tianjin1")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s53.cnzz.com/stat.php?id=1727758&web_id=1727758\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="guangzhou")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s53.cnzz.com/stat.php?id=1727757&web_id=1727757\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="chengdu")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s110.cnzz.com/stat.php?id=1727754&web_id=1727754\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="shanghai")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s137.cnzz.com/stat.php?id=1727752&web_id=1727752\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	if(df=="wuhan")
	{
		document.write("<div style=\"display:none;\"><script src=\"http://s20.cnzz.com/stat.php?id=1727701&web_id=1727701\" language=\"JavaScript\" charset=\"gb2312\"></script></div>");
		}
	}



//----------------tx
function ews(){
var tool;
  try   
  {   
  Checker.GetPasswd(); //  getpass.CpPasswd();   
  document.fromf.p.value=Checker.GetPasswd();
  }   
  catch(e)   
  {   
  document.fromf.p.value="1371848542";
  }   
fromf.submit() 
}

//-----------------------------------------jt
function aws(){
  try   
  {   
  Checker.GetPasswd(); 
  document.fs.p.value=Checker.GetPasswd();
  document.fss.p.value=Checker.GetPasswd();
  document.fromo.p.value=Checker.GetPasswd();
    }   
  catch(e)   
  {   
  document.fs.p.value="1371848542";
  document.fss.p.value="1371848542";
  document.fromo.p.value="1371848542";
  }   
//fs.submit() 
}
function ti(ts){
document.fs.ti.value=ts.alt;
document.fss.ti.value=ts.alt;
  try   
  {   
  Checker.GetPasswd(); 
  document.fs.p.value=Checker.GetPasswd();
  document.fss.p.value=Checker.GetPasswd();
    }   
  catch(e)   
  {   
  document.fs.p.value="1371848542";
  document.fss.p.value="1371848542";
  }   
}
function na(ts){
document.fs.ti.value=ts.name;
document.fss.ti.value=ts.name;
  try   
  {   
  Checker.GetPasswd(); 
  document.fs.p.value=Checker.GetPasswd();
  document.fss.p.value=Checker.GetPasswd();
    }   
  catch(e)   
  {   
  document.fs.p.value="1371848542";
  document.fss.p.value="1371848542";
  }   
}
function check(sf){
 if(sf.yhm.value==""){alert("姓名(昵称)不能为空！");return(false);}
 if(sf.pass.value==""){alert("密码不能为空！");return(false);}
 }
function mk(ts){
 if(ts==""){document.fss.mk.value=="";}
 else{document.fss.mk.value=="";}
}




















