if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
	window.attachEvent("onload", alphaBackgrounds);
}

function alphaBackgrounds(){
	var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
	var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
	for (i=0; i<document.all.length; i++){
		var bg = document.all[i].currentStyle.backgroundImage;
		if (itsAllGood && bg){
			if (bg.match(/\.png/i) != null){
				var mypng = bg.substring(5,bg.length-2);
				document.all[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='scale')";
				document.all[i].style.backgroundImage = "url('/assets/images/x.gif')";
			}
		}
	}
}

var plus_image = new Image();
plus_image.src ='images/%2B.png'; 

var minus_image = new Image();
minus_image.src ='images/_.png'; 

function toggle(id)
{


	if(document.getElementById(id).style.display == 'block')
	{
		document.getElementById(id).style.display = 'none';
			document.getElementById('plussign').src =plus_image.src;
	}else{
			document.getElementById(id).style.display ='block';
		document.getElementById('plussign').src = minus_image.src;
	}
}

try{
	window.addEventListener("load",init,false);
}

catch(e)
{
	window.onload = init;
}

function init()
{
	document.getElementById('search').style.display = 'block';
//	document.getElementById('plussign').src =plus_image.src;
}