function determineObject(targetOBJ) {
	var element = null;
	if(document.all) {
		element = document.all[targetOBJ];
	}
	if (document.getElementById) {
		element = document.getElementById(targetOBJ);
	}
	return element;
}

function pickArticle() {
	var query = window.location.search;
	var article = (query.search('&')>=0)?query.substring(1,query.search('&')):query.substring(1);
	if(article!='')showPanel(article,'');
}

function showPanel(targetOBJ, targetBTN) {
	var target = determineObject(targetOBJ);
	var nlink = determineObject(targetBTN);
	
    
    
	var nlink1 = determineObject('b03262010');
    var nlink2 = determineObject('b09222009');
	var nlink3 = determineObject('b08172009');
	var nlink4 = determineObject('b06152009');
	var nlink5 = determineObject('b06102009');
	var nlink6 = determineObject('b05222009');
	var nlink7 = determineObject('b05072009');
	var nlink8 = determineObject('b04212009');
	var nlink9 = determineObject('b04082009');
	var nlink10 = determineObject('b04062009');
	var nlink11 = determineObject('b03252009');
	var nlink12 = determineObject('b02172009');
	var nlink13 = determineObject('b01202009');
	var nlink14 = determineObject('b06172008');
	var nlink15 = determineObject('b04222008');
	var nlink16 = determineObject('b04082008');
	var nlink17 = determineObject('b042008');
	
	
    var content1 = determineObject('c03262010');
    var content2 = determineObject('c09222009');
	var content3 = determineObject('c08172009');
	var content4 = determineObject('c06152009');
	var content5 = determineObject('c06102009');
	var content6 = determineObject('c05222009');
	var content7 = determineObject('c05072009');
	var content8 = determineObject('c04212009');
	var content9 = determineObject('c04082009');
	var content10 = determineObject('c04062009');
	var content11 = determineObject('c03252009');
	var content12 = determineObject('c02172009');
	var content13 = determineObject('c01202009');
	var content14 = determineObject('c06172008');
	var content15 = determineObject('c04222008');
	var content16= determineObject('c04082008');
	var content17 = determineObject('c042008');
	
	nlink1.setAttribute("class", "newsmenuoff");
	nlink1.setAttribute("className", "newsmenuoff");
	nlink2.setAttribute("class", "newsmenuoff");
	nlink2.setAttribute("className", "newsmenuoff");
	nlink3.setAttribute("class", "newsmenuoff");
	nlink3.setAttribute("className", "newsmenuoff");
	nlink4.setAttribute("class", "newsmenuoff");
	nlink4.setAttribute("className", "newsmenuoff");
	nlink5.setAttribute("class", "newsmenuoff");
	nlink5.setAttribute("className", "newsmenuoff");
	nlink6.setAttribute("class", "newsmenuoff");
	nlink6.setAttribute("className", "newsmenuoff");
	nlink7.setAttribute("class", "newsmenuoff");
	nlink7.setAttribute("className", "newsmenuoff");
	nlink8.setAttribute("class", "newsmenuoff");
	nlink8.setAttribute("className", "newsmenuoff");
	nlink9.setAttribute("class", "newsmenuoff");
	nlink9.setAttribute("className", "newsmenuoff");
	nlink10.setAttribute("class", "newsmenuoff");
	nlink10.setAttribute("className", "newsmenuoff");
	nlink11.setAttribute("class", "newsmenuoff");
	nlink11.setAttribute("className", "newsmenuoff");
	nlink12.setAttribute("class", "newsmenuoff");
	nlink12.setAttribute("className", "newsmenuoff");
	nlink13.setAttribute("class", "newsmenuoff");
	nlink13.setAttribute("className", "newsmenuoff");
	nlink14.setAttribute("class", "newsmenuoff");
	nlink14.setAttribute("className", "newsmenuoff");
	nlink15.setAttribute("class", "newsmenuoff");
	nlink15.setAttribute("className", "newsmenuoff");
	nlink16.setAttribute("class", "newsmenuoff");
	nlink16.setAttribute("className", "newsmenuoff");
    nlink17.setAttribute("class", "newsmenuoff");
	nlink17.setAttribute("className", "newsmenuoff");
	
	content1.setAttribute("class", "invisible");
	content1.setAttribute("className", "invisible");
	content2.setAttribute("class", "invisible");
	content2.setAttribute("className", "invisible");
	content3.setAttribute("class", "invisible");
	content3.setAttribute("className", "invisible");
	content4.setAttribute("class", "invisible");
	content4.setAttribute("className", "invisible");
	content5.setAttribute("class", "invisible");
	content5.setAttribute("className", "invisible");
	content6.setAttribute("class", "invisible");
	content6.setAttribute("className", "invisible");
	content7.setAttribute("class", "invisible");
	content7.setAttribute("className", "invisible");
	content8.setAttribute("class", "invisible");
	content8.setAttribute("className", "invisible");
	content9.setAttribute("class", "invisible");
	content9.setAttribute("className", "invisible");
	content10.setAttribute("class", "invisible");
	content10.setAttribute("className", "invisible");
	content11.setAttribute("class", "invisible");
	content11.setAttribute("className", "invisible");
	content12.setAttribute("class", "invisible");
	content12.setAttribute("className", "invisible");
	content13.setAttribute("class", "invisible");
	content13.setAttribute("className", "invisible");
	content14.setAttribute("class", "invisible");
	content14.setAttribute("className", "invisible");
	content15.setAttribute("class", "invisible");
	content15.setAttribute("className", "invisible");
	content16.setAttribute("class", "invisible");
	content16.setAttribute("className", "invisible");
    content17.setAttribute("class", "invisible");
	content17.setAttribute("className", "invisible");
	
	target.setAttribute("class", "visible");
	target.setAttribute("className", "visible");
	nlink.setAttribute("class", "newsmenuon");
	nlink.setAttribute("className", "newsmenon");
	return true;
}