// 判断是否安装了客户端
function ValidCheck(s, u, c)
{
	if(!u){
			u = 'heima';
	}
	if(!c){
			c = '0';
	}
	//var url_down = "http://download.uusee.com/pop/UUSEE_"+u+"_Setup_"+c+".exe";
	var url_down = 'http://download.uusee.com/pop1/'+u+'/UUSEE_'+u+'_Setup_'+c+'.exe';
	var sDownloadLink = url_down;

	if ( !ocxstatus() )
	{
		window.open(sDownloadLink);
		return false;
	}else
	{
		try
		{
			window.open(s, '_self');
		}
		catch(e)
		{
			window.open(sDownloadLink);
			return false;
		}
	}
	return true;
}

function ocxstatus()
{
	var UUPObj;
	try
	{
		UUPObj = new ActiveXObject("UUPLAYEROCX.UUPlayerOCXCtrl.1");
		if ( typeof UUPObj != 'undefined' )
		{
			return true;
		}
	}
	catch(e)
	{
		return false;
	}
}