﻿function CheckLogin(Url)
{
	/*
	此js的作用为两个dropdownlist的互动；
	Url为要调用的文件的路径；
	obj为在当前对象；
	sObj为目标对象；
	fmsg错误显示信息；
	*/
	if(Url !='')
	{
		var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 
		
		xmlhttp.Open("post",Url, false); 
		xmlhttp.Send();
		var sValue=xmlhttp.responseText;

		if ( sValue != '') {
			return sValue;
		}else{
			return "未知";
		}
	}   
}

function GetCheckCode(Url)
{
	if(Url !='')
	{
		var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 
		
		xmlhttp.Open("post",Url, false); 
		xmlhttp.Send();
		return xmlhttp.responseText;
	}  
}

