<!-- BASIC DISPLAY -->
function show(name){
	document.getElementById(name).style.visibility="visible";
	if(name == 'blarg'){blargshowing = name;}
	if(name == 'videos'){vidshowing = name;}	
}
function showinstro(name){
	show(name);
	instroshowing=name;	
}
function hideinstro(){
	if(instroshowing != ''){
		hide(instroshowing);
		instroshowing="";	
}	}
function showlyrics(name){
	lyricshowing = name;	
	document.getElementById(name).style.pixelWidth = width-130;
	document.getElementById(name).style.pixelHeight = height-(90+85);
	show(name);
	if(name != 'contact' && name != 'youtube'){
		show('closeh');
}	}
function hidelyrics(){
	if(lyricshowing != ''){
		hide(lyricshowing);
		hide('closeh');
		lyricshowing = "";	
}	}
function hide(name){
	document.getElementById(name).style.visibility="hidden";
	if(name == 'blarg'){blargshowing = "";}	
	if(name == 'videos'){vidshowing = "";}
}
<!-- NOH MOSHING RAMPAGE -->
var jp = 25;
var jpinc = 2;
var wp = 70;
var btp = 95;
var bbp = 20;
var lp = 20;
var bp = 80;
var xp;
var tp;
var nextpos;
var action;
var level = 1;
var nm = 1;
var width,height;
var instroshowing = '';
var lyricshowing = '';
var blargshowing = '';
var vidshowing = '';
function getsize(){
	<!-- Cover the various incompatible page dimension properties -->
	if(self.innerWidth){
		width=self.innerWidth;
		height=self.innerHeight;
	}else if(document.documentElement && document.documentElement.clientHeight){
		width=document.documentElement.clientWidth;
		height=document.documentElement.clientHeight;
	}else if(document.body){
		width=document.body.clientWidth;
		height=document.body.clientHeight;
	}
	<!-- IE6 workaround for div boxes -->
	document.getElementById('header').style.pixelWidth = width-36;
	document.getElementById('footer').style.pixelWidth = width-36;
	document.getElementById('sidebar').style.pixelHeight = height-107;
	document.getElementById('rightbar').style.pixelHeight = height-107;
}
function rampage(){
	hide('nohtalk');
	action = window.setInterval("animate()",2);	
}
function animate(){
	document.getElementById('noh').style.pixelBottom=jp;
	jp += jpinc;
	if (jp > 40){jpinc = (-1) * jpinc;}
    if (jp < 25){
    	jpinc = (-1) * jpinc;
    	if (parent.moveBy) {
			for (i = 10; i > 0; i--) {
				parent.moveBy(0,i);
				parent.moveBy(i,0);
				parent.moveBy(0,-i);
				parent.moveBy(-i,0);		
 	}	}	}
  	
	if(nm == 1){movenohmoshingleft(width-440);}
	if(nm == 2){stomp('motto');}
	if(nm == 3){movenohmoshingleft(width-195);}
	if(nm == 4){stomp('sg');}
	if(nm == 5){movenohmoshingleft(width-65);}
	if(nm == 6){stomp('binky');}
	if(nm == 7){smash('sidebar');}
	if(nm == 8){movenohmoshingright(width/2);}
	if(nm == 9){stomp('footer');}
	if(nm ==10){movenohmoshingright(70);}
		
	if(level == 1){movelameoidleft(350);}
	if(level == 2){fire(330,120,'xp1');}
	if(level == 3){if(vidshowing != ''){shootdown('videos');}else{level++;}}
	if(level == 4){if(blargshowing != ''){shootdown('blarg');}else{level++;}}
	if(level == 5){if(lyricshowing != ''){shootdown(lyricshowing);}else{level++;}}
	if(level == 6){movelameoidright(100);}
	if(level == 7){fire(330,120,'xp2');}
	if(level == 8){if(instroshowing != ''){shootdown(instroshowing);}else{level++}}
	if(level == 9){movelameoidleft(255);}
	if(level ==10){fire(330,120,'xp3');}
	if(level ==11){shootdown('billboard');}
	if(level ==12){fire(101,16,'xp1');}
	if(level ==13){shootdown('gheads');}
	if(level ==14){movelameoidright(190);}
	if(level ==15){fire(101,16,'xp1');}
	if(level ==16){shootdown('dave');}	
	if(level ==17){movelameoidright(145);}
	if(level ==18){fire(101,16,'xp1');}
	if(level ==19){shootdown('bernie');}	
	if(level ==20){movelameoidright(100);}
	if(level ==21){fire(101,16,'xp1');}
	if(level ==22){shootdown('acg');}	
	if(level ==23){movelameoidright(60);}
	if(level ==24){fire(101,16,'xp1');}
	if(level ==25){shootdown('cow');}
	if(level ==26){movelameoidright(20);}
	if(level ==27){fire(101,16,'xp1');}
	if(level ==28){shootdown('ca');}
	if(level ==29){movelameoidleft(width-195);}
	if(level ==30){fire(65,60,'xp1');}
	if(level ==31){shootdown('tagline');}
	if(level ==32){fire(80,30,'xp1');}
	if(level ==33){shootdown('logo');}
	if(level ==34){fire(97,12,'xp1');}
	if(level ==35){movelameoidright(width/2);}
	if(level ==36){fire(97,12,'xp2');}
	if(level ==37){movelameoidright(width/3);}
	if(level ==38){fire(97,12,'xp3');}
	if(level ==39){shootdown('header');}
	if(level ==40){movelameoidright(20);}
	if(level ==41){fire(97,12,'xp1');}
	if(level ==42){shootdown('rightbar');}
	if(level ==43){movelameoidleft(width/3);}
	if(level ==44){fire(97,12,'xp1');}
	if(level ==45){movelameoidleft(width/2);}
	if(level ==46){fire(97,12,'xp2');}
	if(level ==47){movelameoidleft(width-(width/3));}
	if(level ==48){fire(97,12,'xp3');}
	if(level ==49){movelameoidright(width/2);}
	if(level ==50){fire(97,12,'xp1');}
	if(level ==51){movelameoidright(width/3);}
	if(level ==52){fire(97,12,'xp2');}
	if(level ==53){movelameoidright(20);}
	
	if(nm ==11 && level==54){polkapalace();}
	if(nm ==12){window.location="nm.htm";}
}
function polkapalace(){
	bp+=20;xp-=20;
	if(bp>=height){bp=height;nm++;hide('xp1');hide('xp2');hide('xp3');window.clearInterval(action);}
	document.getElementById('nbody').style.pixelHeight=bp;
	document.getElementById('xp1').style.pixelBottom=xp;
	document.getElementById('xp2').style.pixelBottom=xp;
	document.getElementById('xp3').style.pixelBottom=xp;
}
function fire(tb,tt,explosion){
	document.getElementById('lb1').style.pixelBottom=bp;
	show('lb1');
	bp += 10;
	if(bp > (height-tb)){
		hide('lb1');
		xp=height-tb;
		document.getElementById(explosion).style.pixelBottom=xp;
		document.getElementById(explosion).style.pixelRight=lp+11;
		show(explosion);
		tp=tt;
		bp=80;
		level++;
}	}
function shootdown(thing){
	tp += 20;xp -= 20;
	document.getElementById(thing).style.pixelTop=tp;
	document.getElementById('xp1').style.pixelBottom=xp;
	document.getElementById('xp2').style.pixelBottom=xp;
	document.getElementById('xp3').style.pixelBottom=xp;
	if(tp > height){
		hide(thing);hide('xp1');hide('xp2');hide('xp3');
		level++;
}	}
function movelameoidleft(nextpos){
	document.getElementById('l1').style.pixelRight=lp;
	document.getElementById('lb1').style.pixelRight=lp+11;
	lp += 5;
	if(lp>nextpos){
		lp = nextpos; 
		level++;
}	}
function movelameoidright(nextpos){
	document.getElementById('l1').style.pixelRight=lp;
	document.getElementById('lb1').style.pixelRight=lp+11;
	lp -= 5;
	if(lp<nextpos){
		lp = nextpos;
		level ++;
}	}
function movenohmoshingleft(nextpos){
   	document.getElementById('noh').style.pixelRight=wp;
   	wp ++;
   	if(wp>nextpos){wp=nextpos;nm++;}
}
function movenohmoshingright(nextpos){
	document.getElementById('noh').style.pixelRight=wp;
	wp --;
	if(wp<nextpos){wp=nextpos;nm++;}	
}
function stomp(thing){
	document.getElementById(thing).style.pixelBottom=bbp;
	bbp -= 10;
	if(bbp < (0-height)){
		hide(thing);
		nm++;
		bbp=20;
}	}
function smash(thing){
	document.getElementById(thing).style.pixelTop=btp;
	btp += 10;
	if(btp>height){
		hide(thing);
		nm++;
		btp=95;
}	}

