function showContent (targ) { 
	thetarg = document.getElementById("block"+targ).style["display"];
	if (thetarg == "block"){
		
		$("#blockAnchor"+targ).css("backgroundImage", 'url(_img/arrow.gif)');
		
		$("#block"+targ).slideUp("fast");
		activeDiv = "";
		activeAnchor = "";
		
	} else {
		
		if (activeDiv){
			$(activeDiv).slideUp("fast");
			$(activeAnchor).css("backgroundImage", 'url(_img/arrow.gif)');
		}
		
		$("#block"+targ).slideDown("fast");
		$("#blockAnchor"+targ).css("backgroundImage", 'url(_img/arrow_down.gif)');
		
		activeDiv = "#block"+targ;
		activeAnchor ="#blockAnchor"+targ;
	}
}

window.onload = function(){
       if (document.getElementsByTagName) {
               var a = document.getElementsByTagName('a');
               for (var i = 0; i < a.length;  i++) {
                       a[i].onfocus = function(){this.blur()};
               }
       }
}

function changeBg (targ, newval) {
	thetarg = document.getElementById(targ);
	thetarg.style["backgroundPosition"] = "0px "+newval+"px";
}

function slideBg (position) {
	$('#howToRight/div').animate({top:position},'normal');
}

try {
	document.execCommand('BackgroundImageCache', false, true);
	} catch(e) {
	
}



