// JScript File

	var theWidth = getBrowserWidth();
	var nBS = 0;
	if (theWidth < 800)
		nBs = 1;  // 1
	else if(theWidth < 1040)
		nBs = 4;  // 4
	else if(theWidth <= 1280)
		nBs = 8;
	else
		nBs = 9;
    window.location.replace("Index.aspx?Bs="+nBs);
    

function getBrowserWidth()
{
	if (window.innerWidth)
		return window.innerWidth;
	else if (document.documentElement && document.documentElement.clientWidth != 0)
		return document.documentElement.clientWidth;
	else if (document.body)
		return document.body.clientWidth;
	return 0;
}
