hreSet=false;
var skipPage = true; bAgent = window.navigator.userAgent; bAppName = window.navigator.appName; bMozIdx = bAgent.indexOf("Mozilla/");
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/2") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 4") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 5") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 6") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bMozIdx >= 0) &&
    (parseInt(bAgent.substring(bMozIdx+8, bMozIdx+10)) >= 7)) skipPage = false;

var g="";

function drop(dest)	{
	//alert(skipPage);
	if(!skipPage)	{
		//alert('hello');
		//if(!hreSet)	{
			//alert("-" + window.frames[0].document.links.length);
			for(var i=0;i<window.frames[0].document.links.length;i++)	{
				hre=window.frames[0].document.links[i].href;
				//alert(hre);
				if(hre.length>10)	{
					if(hre.indexOf("luecli")>=0)	{
						hreSet=true;
						break;
					}
				}
			}
		//}
		g=hre
		//alert(g);
		window.frames[1].location.href=dest + "?alg=43275";
	}
}

function proc_alg(alg_num)	{
	//alert("test-g");
	if(g.length>0 )	{
		t=g;
		g=""
		window.frames[1].location.href=t;
		window.frames[2].location.href="mcs.asp"
	}
}
