var lusername	=location.search.split("=")[1];
if(!lusername){
	lusername="XXX";
}
else{
	lusername=unescape(lusername);
}
function check(obj){
if (obj.stra.value.length>8) {
alert('太长');
return false;
}
if (obj.stra.value.length==0) {
alert('还没填姓名呀');
return false;
}
var url	="http://"+location.host+location.pathname+"?stra="+escape(obj.stra.value);
window.clipboardData.setData("Text",url);
alert('网址已生成并替您复制好了，快发给您的朋友吧！');
window.location.replace(url);
return false;
}
