function objGet(x) {
	if (Boolean(document.getElementById)) return document.getElementById(x);
	else if (Boolean(document.all)) return eval('document.all.'+x);
	else if (Boolean(document.ids)) return eval('document.ids.'+x);
	else return null;
}

function showandhide(x){
	var display = objGet(x).style.display;
	if(display == ''){
		objGet(x).style.display = 'none';
	}else{
		objGet(x).style.display = '';
	}

}

