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

function getElementbyClass(classname){
	ccollect=new Array()
	var inc=0
	var alltags=document.all? document.all : document.getElementsByTagName("*")
	for (i=0; i<alltags.length; i++){
		if (alltags[i].className==classname)
		ccollect[inc++]=alltags[i]
	}
}

function expandcontent(cid){
	if (typeof ccollect!="undefined"){
		document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
		document.getElementById(cid+"c").style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
	}
}

function do_onload(){
	uniqueidn=window.location.pathname+"firsttimeload"
	getElementbyClass("switchcontent")
}


if (window.addEventListener){
	window.addEventListener("load", do_onload, false)
} else if (window.attachEvent){
	window.attachEvent("onload", do_onload)
} else if (document.getElementById){
	window.onload=do_onload
}


