var LastID="0";
var downFile="";
function setColor(sID)
{
	if(LastID!=0)
	document.getElementById(LastID).className="right1";
	document.getElementById(sID).className="right1_select";
	LastID=sID;
}

function GetLocationParam(param)
{
    var request = { 
        QueryString : function(val) { 
        var uri = window.location.search; 
        var re = new RegExp("" +val+ "=([^&?]*)", "ig"); 
        return ((uri.match(re))?(uri.match(re)[0].substr(val.length+1)):null); 
        } 
    }
   return  request.QueryString(param); 
}

function getdownFile()
{
	downFile=GetLocationParam("downFile");
	if (downFile!=null)
	{
		setColor(downFile);
	}
}

function getupFile()
{
	upFile=GetLocationParam("upFile");
	if (upFile!=null)
	{
		setColor(upFile);
	}
}


