			var timeron;
			function doTheThing(){
				for (i=0;i<thingArray.length;i++){
					seleccion = "slidethingmenu1";
					
					if(thingArray[i][3]==1)seleccion = "slidethingmenu";
					//alert(seleccion);
					document.write("<a href=\""+thingArray[i][1]+"\" onclick=\"uncheckall();this.className='slidethingmenu';updateObjectIframe(this,"+thingArray[i][2]+"); return false;\" class=\""+seleccion+"\" id=\"m_"+i+"\">"+thingArray[i][0]+"</a> ");
				}
				document.write("<br>");
			}
			function uncheckall(){
				for (i=0;i<thingArray.length;i++)
					document.getElementById('m_'+i).className='slidethingmenu1';
			}
			function slideStop(){
				clearTimeout(timeron);
			}
			function slideThing(direction){
				
				mainContainer_ = document.getElementById('slidethingSubContainer');
				
				subContainerW = mainContainer_.offsetWidth - document.getElementById('slidethingMainContainer').offsetWidth;
				x = (parseInt(mainContainer_.style.left) + (10 * direction));
				if(x < subContainerW * -1){
					mainContainer_.style.left = (subContainerW * -1)+"px";
					slideStop();
				}else{
					if(x > 0){
						mainContainer_.style.left = "0px";
						slideStop();
					}else{
						mainContainer_.style.left = (parseInt(mainContainer_.style.left) + (10 * direction))+"px";
						timeron = setTimeout("slideThing("+direction+")",10);
					}
				}
			}
			function updateObjectIframe(which,divWidth){
				document.getElementById('slidethingSubContainer').style.left = "0px";
				document.getElementById('slidethingSubContainer').style.width = ((divWidth * 1)+5)+"px";
				document.getElementById('slidethingSubContainer').innerHTML = '<'+'iframe id="slidethingfoo" name="slidethingfoo" frameborder="0" src="'+which.href+'"><\/iframe>';
			}
