
function pausecomp(millis)
{
	var date = new Date();
	var curDate = null;

	do { curDate = new Date(); }
	while(curDate-date < millis);
} 



function showhide(layer_ref,state) {

	if (document.all) { //IS IE 
		eval( "document.all." + layer_ref + ".style.visibility = state");
	}

	if (document.layers) { //IS NETSCAPE 4 or below
		document.layers[layer_ref].visibility = state;
	}
	
	if (document.getElementById && !document.all) {
		maxwell_smart = document.getElementById(layer_ref);
		maxwell_smart.style.visibility = state;
	}

}



function fv(box){
if (screen.width > '1024') {
	pausecomp(600);
	showhide(box,'visible');
}
}



function fh(box){
   pausecomp(600);
	showhide(box,'hidden');
}