	img1 = new Image();
	img1.src = "/images/nav_news_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_shows_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_merch_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_pics_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_hate_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_contact_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_links_on.jpg"
	img1 = new Image();
	img1.src = "/images/nav_cfs_on.jpg"



		
		function cookieSet1YR(cookieName,val){
			var today = new Date();
  			var expire = new Date(today.getTime() + 360 * 24 * 60 * 60 * 1000);
			document.cookie=(cookieName + '=' + val + '; expires=' + expire.toGMTString());
		}
		
		function getCookie(name) {
   			name += "=";
    		var i = 0;
    		cook = document.cookie;
    		while (i < cook.length) {
      		var offset = i + name.length;
      		if (cook.substring(i, offset) == name) {
        		var endstr = cook.indexOf(";", offset);
        		if (endstr == -1) endstr = cook.length;
        			return unescape(cook.substring(offset, endstr));
      			}
      			i = cook.indexOf(" ", i) + 1;
      			if (i == 0) break;
    		}
    		return null;
		}
		
		var pg = (getCookie('pg') == null ? 'News' : getCookie('pg'));
		
		
		function getAbsY(elt) { return (elt.y) ? elt.y : getAbsPos(elt,"Top"); }
		
		function getAbsX(elt) { return (elt.x) ? elt.x : getAbsPos(elt,"Left"); }

		function getAbsPos(elt,which) {
 			var iPos = 0;
			while (elt != null) {
  				iPos += elt["offset" + which];
  				elt = elt.offsetParent;
 			}
 		return iPos;
		}
	
		function getWinHeight()  {
			if (browser == 'ns4' || browser == 'ns7')  {
				return window.innerHeight;
			}else if (browser == 'ns6')  {
				if(window.innerHeight){
					return window.innerHeight;
				}else{
					return document.clientHeight;
				}
			}else if (browser == 'ie5' || browser == 'ie6' || browser == 'ie55')  {
				return parseInt(document.body.clientHeight);
		
			}else{
				return false;
			}
		}
		
		function getWinWidth()  {
			if (browser == 'ns4' || browser == 'ns7')  {
				return window.innerWidth;
			}else if (browser == 'ns6')  {
				if(window.innerWidth){
					return window.innerWidth;
				}else{
					return document.clientWidth;
				}
			}else if (browser == 'ie5' || browser == 'ie6' || browser == 'ie55')  {
				return parseInt(document.body.clientWidth);
		
			}else{
				return false;
			}
		}
	
	
		function browserDetect()  {
			var ns4 = (document.layers)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4) ? 'ns4' : false;
			var ie4 = (document.all)&&(navigator.appName.indexOf("Microsoft") > -1)&&(parseInt(navigator.appVersion)==4)&&(navigator.appVersion.indexOf('MSIE 6') <0) ? 'ie4' : false;
			var ie5 = (document.getElementById)&&(navigator.appName.indexOf("Microsoft") > -1)&&(navigator.appVersion.indexOf('MSIE 6') <0) ? 'ie5' : false;
			var ie6 = (document.getElementById)&&(navigator.appName.indexOf("Microsoft") > -1)&&(navigator.appVersion.indexOf('MSIE 6') >=0) ? 'ie6' : false;
			var ns6 = (document.getElementById)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>4 && parseInt(navigator.appVersion)<7) ? 'ns6' : false;
			var ns7 = (document.getElementById)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>6) ? 'ns7' : false;
		
			return (ns4 || ie5 || ie4 || ns6 || ie6 || ns7);
		}
		var browser = browserDetect();
		
		
		function getWidth(id){return parseInt(document.getElementById(id).offsetWidth);}
	
		function singleImgRoll(arg1, arg2, arg3){
			
			document.getElementById(arg2).src = "images/nav_" + (arg3 == 0 ? pg.toLowerCase() + "_on" : arg3.toLowerCase() + "_on") + ".jpg";
			
		}

        
		function viewImage(img){
		
			document.getElementById('picViewer').style.visibility = 'hidden';
			document.getElementById('picViewerInternal').innerHTML = '<img src="pics/' + img + '" alt="" hspace="2" vspace="2" border="0" onLoad="picViewAlign()">';
       		//document.getElementById('picViewer').style.visibility = 'visible';	
	 	}
        
        function picViewAlign(){
        	document.getElementById('picViewer').style.left = parseInt(getAbsX(document.getElementById('colB'))) + 20;
        	document.getElementById('picViewer').style.top = parseInt(getAbsY(document.getElementById('colB')));
			document.getElementById('picViewer').style.visibility = 'visible';
        }
        
        
        function hider(){
        	
        	document.getElementById('picViewer').style.visibility = 'hidden';
        }
        




	var loaded = false;
	var gLoaded = false;
	var repeat = false;
	var colAw;
	
	function init(){
		align();	
		localContentLoad(pg);
	}
	
	function align(){

		document.getElementById('gallery').style.margin = "0px 0px 0px 0px";
		document.getElementById('vidGallery').style.margin = "0px 0px 0px 0px";
		document.getElementById('container').style.width = getWinWidth();
		document.getElementById('footerBack').style.width = getWinWidth();
		document.getElementById('topNavContainer').style.width = getWinWidth();
		
		winH = getWinHeight();
		
		colAY = parseInt(getAbsY(document.getElementById('colA')));
		
		document.getElementById('colA').style.height = winH - 84 - colAY;
		document.getElementById('colB').style.height = winH - 84 - colAY;
		document.getElementById('picViewer').style.left = parseInt(getAbsX(document.getElementById('colB'))) + 20;
		
		colAw = getWidth('colA');
		galleryW = getWidth('gallery');
		galleryW1 = getWidth('vidGallery');
		galleryMargin = parseInt(((colAw - galleryW)/2) -10) ;
		
		galleryMargin1 = parseInt(((colAw - galleryW1)/2) -10) ;
		
		
		
		if(browser == 'ie5' || browser == 'ie6'){
			galleryMargin = parseInt(galleryMargin/2);
			galleryMargin1 = parseInt(galleryMargin1/2);
		}
		
		document.getElementById('gallery').style.margin = "0px 0px 0px " + (galleryMargin <0 ? 0:(galleryMargin >= 10 ? (galleryMargin + 10) : galleryMargin)) + "px";
		document.getElementById('vidGallery').style.margin = "0px 0px 0px " + (galleryMargin1 <0 ? 0:(galleryMargin1 >= 10 ? (galleryMargin1 + 10) : galleryMargin1)) + "px"; 
		singleImgRoll('topNavContainer', 'topnav', pg);
	}
	
	
	function galleryLoad(){
		//alert(loaded)
		if(loaded==false){
			setTimeout('galleryLoad()',500);
		}else{
			requestInit("thumbs.html");
			gLoaded=true;
			repeat=true;
			setTimeout('align()',500);
		}
	}
	
	
	function requestInit(url){
		if (xml_request != null){
			xml_request.abort();
			xml_request = null;
		}
	
		if (window.XMLHttpRequest) { // Mozilla, Safari, ...
    		xml_request = new XMLHttpRequest();
    		
		} else if (window.ActiveXObject) { // IE
			
   		 	xml_request = new ActiveXObject("Microsoft.XMLHTTP");
   		 	
		}
		
		if(url == "thumbs.html"){
			xml_request.overrideMimeType('text/xml');
		}
		
		xml_request.onreadystatechange = function(e) {xml_loaded(e, xml_request, url);}
	
	
	
		xml_request.open("GET", url);
	
		//xml_request.setRequestHeader("Cache-Control", "no-cache");
		
		xml_request.send(null);
	
	}
	
	
	
	var xml_request = null;
	function xml_loaded (e, request, url){
		
		if(request.readyState == 4){
			
			
			if(url != "thumbs.html"){
				document.getElementById('content').innerHTML = request.responseText;
				
				if(loaded==false){
					loaded = true;
					if(gLoaded==false){
						setTimeout('galleryLoad()',500);
					}
				}
				
			}else{
				
				thumbLoad(request);
			
				//document.getElementById('gallery').innerHTML = request.responseText;
			}
			
			
			
			
		}
		
	}		
	
	function generateRandom(max){
		return Math.floor(Math.random()*max);
	}
	
	function thumbLoad(request){
		divs = request.responseXML.getElementsByTagName('content')[0].getElementsByTagName('div');
			
		cont = request.responseText.split('</content>');
		cont2 = cont[0].split('<content>');	
		//divs = request.responseText.split('</div>');
		divs = cont2[1].split('</div>');
		
		
		divs.pop();
		
		divs2 = request.responseXML.getElementsByTagName('content')[1].getElementsByTagName('div');
		
		//divs2 = request.responseText.split('</div>');
		divs2 = cont[1].split('</div>');
		divs2.pop();
		
		randomDivs = new Array();
		
	
		
		while (randomDivs.length < divs.length){
			rand = generateRandom(divs.length);
			push = true;
			for(x=0; x<randomDivs.length; x++){
				if(randomDivs[x] == divs[rand]){
					push=false;
				}	
			}
			
			if(push == true){
				randomDivs.push(divs[rand]);	
			}
			
		}
		//alert(randomDivs.length)
		//str = randomDivs.toString();
		str="";
		for(x=0; x<divs.length; x++){
			str += randomDivs[x] + "</div>"
			
		}
		
		str2="";
		for(x=0; x<divs2.length; x++){
			str2 += divs2[x] + "</div>"
			
		}
		
		document.getElementById('gallery').innerHTML=str;
		
		document.getElementById('vidGallery').innerHTML=str2;
		
		align();

		
	}
	
	
	function hMailLoad(id){
		for(x=1; x<3; x++){
			document.getElementById('hmail'+x).getElementsByTagName('div')[0].style.display="none";
			document.getElementById('hmail'+x).getElementsByTagName('div')[1].style.display="none";
		}
		
		document.getElementById('hmail'+id).getElementsByTagName('div')[0].style.display="block";
		document.getElementById('colB').scrollTop=0;
		
	}
	
	
	function hMailReply(id){
		document.getElementById('hmail'+id).getElementsByTagName('div')[0].style.display="none";
		document.getElementById('hmail'+id).getElementsByTagName('div')[1].style.display="block";
		document.getElementById('colB').scrollTop=0;
	}
	
	
	
	
	
	function localContentLoad(sec){
		//alert(sec)
		cookieSet1YR('pg',sec);
		pg = sec;
		requestInit('new' + sec + '.html');
		document.getElementById('colB').scrollTop=0;
	}
	
	
	function popWin(theURL,winName,features) {var mywin = window.open(theURL,winName,features); mywin.focus();}
	
	function GrabQryVar(strvarname) {var arrquery; var arrvars01; var arrvars02; var strvarval = ""; arrquery = document.location.search.split("?"); if(arrquery != "") {arrvars01 = arrquery[1].split("&"); for(variable in arrvars01) { arrvars02 = arrvars01[variable].split("="); if (arrvars02[0] == strvarname) {strvarval = arrvars02[1]; break;}}} return strvarval;}

	function gallerySwitch(y){
		if(y=="photo"){
			/*document.getElementById('vidGallery').style.display='none';
			document.getElementById('gallery').style.display='block';*/
			document.getElementById('vidGallery').style.height="1px";
			document.getElementById('vidGallery').style.overflow="hidden";
			document.getElementById('vidGallery').style.visibility="hidden";
			document.getElementById('gallery').style.height="auto";
			document.getElementById('gallery').style.visibility="visible";
			document.getElementById('gallery').style.overflow="show";
		}else{
			/*document.getElementById('vidGallery').style.display='block';
			document.getElementById('gallery').style.display='none';*/
			document.getElementById('gallery').style.height="1px";
			document.getElementById('gallery').style.overflow="hidden";
			document.getElementById('gallery').style.visibility="hidden";
			document.getElementById('vidGallery').style.height="auto";
			document.getElementById('vidGallery').style.visibility="visible";
			document.getElementById('vidGallery').style.overflow="show";
		}
		
		
		
	}