try{
	var getClientUrl = location.href.toLowerCase( );
	var OldClientUrl = "fashion.net";
	var NewClientUrl = "fashion.com";
	//alert(getClientUrl);

	if (getClientUrl.indexOf(OldClientUrl) > 1)
	{
		location.href=getClientUrl.replace(OldClientUrl,NewClientUrl);
	}
}
catch(er)
{
	//alert(er);
}

function dis_go()
{
	var info_uid,info_more;
	try
	{
	//<iframe src=""fashion_main_re_command.asp"" name=""ScrollIframe"" width=778 height=211 scrolling=no align=""center"" border=""0"" frameborder=""0""></iframe>
	info_uid=	"<IMG SRC=\"images/Recommand_1.gif\" WIDTH=21 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(1);\" style=\"cursor:hand\" alt=\"推荐产品[1]\">"	+
				"<IMG SRC=\"images/Recommand_2.gif\" WIDTH=22 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(2);\" style=\"cursor:hand\" alt=\"推荐产品[2]\">"	+
				"<IMG SRC=\"images/Recommand_3.gif\" WIDTH=22 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(3);\" style=\"cursor:hand\" alt=\"推荐产品[3]\">"	+
				"<IMG SRC=\"images/Recommand_4.gif\" WIDTH=22 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(4);\" style=\"cursor:hand\" alt=\"推荐产品[4]\">"	+
				"<IMG SRC=\"images/Recommand_5.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(5);\" style=\"cursor:hand\" alt=\"推荐产品[5]\">"	+
				"<IMG SRC=\"images/Recommand_6.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(6);\" style=\"cursor:hand\" alt=\"推荐产品[6]\">"	+
				"<IMG SRC=\"images/Recommand_7.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(7);\" style=\"cursor:hand\" alt=\"推荐产品[7]\">"	+
				"<IMG SRC=\"images/Recommand_8.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(8);\" style=\"cursor:hand\" alt=\"推荐产品[8]\">"	+
				"<IMG SRC=\"images/Recommand_9.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(9);\" style=\"cursor:hand\" alt=\"推荐产品[9]\">"	+
				"<IMG SRC=\"images/Recommand_10.gif\" WIDTH=23 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(10);\" style=\"cursor:hand\" alt=\"推荐产品[10]\">" +
				"<IMG SRC=\"images/Fashion_main_19.gif\" WIDTH=14 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(RCLIDADD(-1));\" style=\"cursor:hand\" alt=\"上一个推荐产品\"><IMG SRC=\"images/Fashion_main_20.gif\" WIDTH=14 HEIGHT=26 onclick=\"RecommandCurrtomLoadStr(RCLIDADD(1));\" style=\"cursor:hand\" alt=\"下一个推荐产品\"><input type=\"hidden\" id=\"RCLID\" value=\"1\">";
	/*for(var i=1;i<=10;i++)
	{
		info_uid += "<IMG SRC=\"images/Recommand_"+i+".gif\" HEIGHT=26 onclick=\"RecommandCurrtomLoadStr('"+i+"');\" style=\"cursor:hand\">"
	}*/

	document.write (info_uid);
	}
	catch(er)
	{
		alert(er);
	}
}

function RCLIDADD(addi)
{
	$('RCLID').value = parseInt($('RCLID').value) + addi;
	return parseInt($('RCLID').value);
}

function reSend(url,pars,showResponseFunctionName)
{
	try	{
		var myAjax = new Ajax.Request(url,{method: 'get', parameters: pars, onComplete: showResponseFunctionName});
	}
	catch(er){
		alert('您的网络链接有问题,请稍候再试!')
	}
}

function reSendPost(url,pars,showResponseFunctionName)
{
	try	{
		var myAjax = new Ajax.Request(url,{method: 'post', parameters: pars, onComplete: showResponseFunctionName});
	}
	catch(er){
		alert('您的网络链接有问题,请稍候再试!')
	}
}


function showResponse(originalRequest)
{
	$('result').innerHTML = originalRequest.responseText;
}

function showRanProduct(httpRequest)
{
	$('CallProductCatalog').innerHTML = httpRequest.responseText;
}

function GetUserExplorerLog()
{
	reSend("../../?action=returnexplorerlog","",ShowExplorerLog);
}

function ShowExplorerLog(httpRequest)
{
	$('user_explorer_log').innerHTML = httpRequest.responseText;
}

function gocatalogbody(strs)
{
	location.href=strs;
	return false;
	$('catelogbody').innerHTML = '<table width="500" height="300" align="center"><tr><td align="center"><img src="images/loading.gif" border="0" align="absmiddle">&nbsp;&nbsp; <B>数据正在载入之中 ...</B> </td></tr></table>';
	strs = strs.replace('?action=catalog','?action=getcatalog')
	strs = strs.replace('?action=product','?action=getcatalog')
	strs = strs.replace('?action=pattern_order','?action=getpatternorder')
	reSend(strs,"",CatalogBodyToIDLog);
}

function CatalogBodyToIDLog(httpRequest)
{
	$('catelogbody').innerHTML = httpRequest.responseText;
}

function systemErrAlert(httpRequest)
{
	$('systemAlerters').innerHTML = httpRequest.responseText;
}

function goinfobody(strs)
{
	$('catelogbody').innerHTML = '<table width="500" height="300" align="center"><tr><td align="center"><img src="images/loading.gif" border="0" align="absmiddle">&nbsp;&nbsp; <B>数据正在载入之中 ...</B> </td></tr></table>';
	strs = strs + "&do=js";
	reSend(strs,"",CatalogBodyToIDLog);
}

function CurrtomLoadStr(toids,widths,heights)
{
	$(toids).innerHTML = '<table width="'+widths+'" height="'+heights+'" align="center"><tr><td align="center"><img src="images/loading.gif" border="0" align="absmiddle">&nbsp;&nbsp; <B>数据正在载入之中 ...</B> </td></tr></table>';
}

function DisplayLoadingString(toid)
{
	CurrtomLoadStr(toid,500,300);
}

function RecommandCurrtomLoadStr(loadid)
{
	if (loadid.length == 0)
	{
			loadid = 1;
	}
	CurrtomLoadStr("ScrollIframe",788,211);
	if (loadid >10)
	{
		loadid = 10;
	}
	else if (loadid<1)
	{
		loadid = 1;
	}
	$("RCLID").value=loadid
	reSend("fashion_main_re_command.asp?getid="+loadid,"",ReturnScrollIframe);
}

function ReturnScrollIframe(httpRequest)
{
	$('ScrollIframe').innerHTML = httpRequest.responseText;
}

//fashion_main_re_command.asp?getid=