function dload2 (tf) {
	ck=document.cookie.indexOf("user3");
//	alert(ck);
	pn=location.pathname;
	if (ck>=0) {
		location.href="/auth3/dl.php?tf="+tf+"&pn="+pn;
	} else {
    	void(window.open("/auth3/auth.html?tf="+tf+"&pn="+pn, "", "top=150,left=200,width=440,height=270"));
	}
}

function dload_direct2() {
    location.href='dl.php';
}

function login_pop2 (tf) {
	ck=document.cookie.indexOf("user3");
//	alert(ck);
	pn=location.pathname;
	if (ck>=0) {
		location.href=tf;
	} else {
    	void(window.open("/auth3/auth2.html?tf="+tf+"&pn="+pn, "", "top=150,left=200,width=440,height=270"));
	}
}