﻿// JScript 文件
HTTPRequest = function (){var xmlhttp=null;try {xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");}catch (_e) {try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");} catch (_E) { }}if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {try {xmlhttp = new XMLHttpRequest();} catch (e) {xmlhttp = false;}}return xmlhttp;}

//Submit GetLatestQiuGou
function submitGetLatestQiuGou(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}
//GetLatestQiuGou(最新求购)
function GetLatestQiuGou()
{
    submitGetLatestQiuGou("../tools/GetLatestQiuGou.aspx");
}


//Submit GetLatestGongYing
function submitGetLatestGongYing(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}
//GetLatestGongYing(最新供应)
function GetLatestGongYing()
{
    submitGetLatestGongYing("../tools/GetLatestGongYing.aspx");
}

//Submit GetLatestLogin
function submitGetLatestLogin(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}
//GetLatestGongYingSingle(最新供应，单列，带【供】)
function GetLatestGongYingSingle()
{
    submitGetLatestGongYingSingle("../tools/GetLatestGongYingSingle.aspx");
}

//Submit submitGetLatestGongYingSingle
function submitGetLatestGongYingSingle(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}
//GetLatestLogin(最新登录)
function GetLatestLogin()
{
    submitGetLatestLogin("../tools/GetLatestLogin.aspx");
}

//Submit GetLatestPrice
function submitGetLatestPrice(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}
//GetLatestPrice
function GetLatestPrice()
{
    submitGetLatestPrice("../tools/GetLatestPrice.aspx");
}

//GetGongYingBrand(供应品牌)
function GetProductBrand()
{
    submitGetProductBrand("../tools/GetProductBrand.aspx");
}

//Submit GetGongYingBrand
function submitGetProductBrand(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}

//GetHomeDing(首页置顶信息)
function GetHomeDing()
{
    submitGetHomeDing("../tools/GetHomeDing.aspx");
}

//Submit GetHomeDing
function submitGetHomeDing(url)
{
    var xhttp = new HTTPRequest();
	xhttp.open("GET", url ,false);
	xhttp.send(null);
	document.write(xhttp.responseText);
}