if (document.getElementById){
	document.write('<style type="text/css">\n')
	document.write('.dropcontent{display:none;}\n')
	document.write('</style>\n')
}

function contractall(){
	if (document.getElementById){
		var inc=0
		while (document.getElementById("dropmsg"+inc)){
			document.getElementById("dropmsg"+inc).style.display="none"
			inc++
		}
	}
}

function expandone(selectedItem){
	
	if (document.getElementById){
		contractall()
		try
		  {
		  document.getElementById("dropmsg"+selectedItem).style.display="block"
		  }
		catch(err)
		  {
		  document.getElementById("dropmsg"+0).style.display="block"
		  }
		
	}
}

//-- bottom site 
function contractallBottom(){
	if (document.getElementById){
		var inc=0
		while (document.getElementById("dropmsgBottom"+inc)){
			document.getElementById("dropmsgBottom"+inc).style.display="none"
			inc++
		}
	}
}

function expandoneBottom(selectedItem){
	
	if (document.getElementById){
		contractallBottom()
		try
		  {
		  document.getElementById("dropmsgBottom"+selectedItem).style.display="block"
		  }
		catch(err)
		  {
		  document.getElementById("dropmsgBottom"+0).style.display="block"
		  }
		
	}
}

if (window.addEventListener)
	window.addEventListener("load", expandone, false)
else if (window.attachEvent)
	window.attachEvent("onload", expandone)

