ns6 = false;

if (document.getElementById) ns6 = true;

function divOn(id){
    if (ns6) {
    document.getElementById(id).style.display = 'block';
    } else {
    id.style.display = 'block';
    }
}

function divOff(id){

   		if (ns6) {
			document.getElementById(id).style.display = 'none';
		} else {
			id.style.display = 'none';
		}
}

function gotoWallpaper() {
	var featurenum1=Math.floor(Math.random()*5)
		//alert("here");
	showWall('wall' + featurenum1);
	//currFeatureNum = featurenum;
     //clearTimeout(RotTimer);
    // RotTimer = setInterval("nextFeature()", rotDelay);
}

function showWall(val) {
divOff('wall0');
divOff('wall1');
divOff('wall2');
divOff('wall3');
divOff('wall4');
divOn(val);
}
