
function history_record_show1( pos,name,split_in,split_out,flag )
{ 
	var t = pos;
	var arg = name;
	var s_in = split_in;
	var s_out = split_out;
	var s_flag = flag;
	try
	{
		var history=GetCookie( arg );
		history=unescape(history);
		var content='您上次浏览过：';
		if( history!="null" && history.indexOf("&")==-1 )
		{
			history_arg=history.split( s_out );
			i=0;
			linknum=0;
			len= history_arg.length;
			for(i=0;i<len;i++)
			{ 
				var wlink=history_arg[i].split( s_in );
				if(history_arg[i]!="null" && content.indexOf(wlink[0])==-1 && linknum<8  && wlink[1].indexOf( s_flag ) !=-1 ){
					content+="<a href=\""+wlink[1]+"\" target=\"_blank\"  title=\""+wlink[0]+"\">"+wlink[0]+"</a>";
					linknum+=1;
				}
			}
			document.getElementById( t ).innerHTML=content; 
		}else{
			document.getElementById( t ).innerHTML="您目前还没有浏览记录。";
		}
	}
	catch(e){}
}
 
 
 /*
function history_record_show( pos='',arg_name='',spl_in_str='+',spl_out_str='_honghesoft_' )
{
	var pos = pos;
	var arg_name = arg_name;
	var spl_in_str = spl_in_str;
	var spl_out_str = spl_out_str;
	try
	{
		var history=GetCookie( arg_name );
		history=unescape(history);
		var content='您上次浏览过：';
		if( history!="null" && history.indexOf("&")==-1 )
		{
			history_arg=history.split( spl_out_str );
			i=0;
			linknum=0;
			len= history_arg.length;
			for(i=0;i<len;i++)
			{ 
				var wlink=history_arg[i].split( spl_in_str );
				if(history_arg[i]!="null" && content.indexOf(wlink[0])==-1 && linknum<8){
					content+="<a href=\""+wlink[1]+"\" target=\"_blank\"  title=\""+wlink[0]+"\">"+wlink[0]+"</a>";
					linknum+=1;
				}
			}
			document.getElementById( pos ).innerHTML=content; 
		}else{
			document.getElementById( pos ).innerHTML="您目前还没有浏览记录。";
		}
	}
	catch(e){}
}
*/





