<!--
	// change vid function
	function changeVid(targ,selObj,type){
	var fileLoc = selObj.options[selObj.selectedIndex].value
	if(fileLoc!=""){

	var fileType = fileLoc.substring(fileLoc.length,fileLoc.length-3);	
	
	var strFLV = '<embed width="415" height="310" flashvars="file=http://dl.groovygecko.net/anon.groovy/clients/virtualworld/'+fileLoc+'&autostart=true" wmode="opaque" allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#ffffff" name="bannerswf" id="bannerswf" style="" src="http://www.longtailvideo.com/jw/embed/player.swf" type="application/x-shockwave-flash"/>'
		
	var strMov = 	'<object id="vidPlayer" width="415" height="310" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject">'
		strMov += 	'<param name="FileName" value="asx.cfm?ml='+fileLoc+'" />'
		strMov += 	'<param name="autostart" value="1" />'
		strMov += 	'<param name="loop" value="1" />'
		strMov += 	'<param name="showcontrols" value="1" />'
		strMov += 	'<embed type="application/x-mplayer2" src="asx.cfm?ml='+fileLoc+'" width="415" height="310" autostart="1" showcontrols="1" loop="1"></embed>'
		strMov += 	'</object>'
		
	var strIpx = '<applet code="IpixViewer.class" codebase="java_plugin/files/" name="vidPlayer" width="415" height="310" align="bottom" archive="IpixViewer.jar" id="vidPlayer" style="width:415px; height:310px;">'
    	strIpx += '<param name="URL" value="'+fileLoc+'" />'
    	strIpx += '<PARAM NAME="toolbar" VALUE="on" />'
		strIpx += '<PARAM NAME="splash" VALUE="" />'
		strIpx += '<PARAM NAME="splashbg" VALUE="FFFFFF" />'
		strIpx += '<PARAM NAME="initfov" VALUE="105" />'
		strIpx += '<PARAM NAME="spinspeed" VALUE="5" />'
		strIpx += '<PARAM NAME="spinstyle" VALUE="flat" />'
	
	if(fileType=="wmv"){
		
		// its a movie now check the browser
			if(document.layers){
				//NN4+
      	 		document.layers["player"].innerHTML = strMov;
    		}else if(document.getElementById){
	  			//gecko(NN6) + IE 5+
        		document.getElementById("player").innerHTML = strMov;
    		}else if(document.all){
				// IE 4
        		document.all["player"].innerHTML = strMov;
    		}
		}else if(fileType=="flv"){
		
			if(document.layers){
				//NN4+
      	 		document.layers["player"].innerHTML = strFLV;
			}else if(document.getElementById){
				//gecko(NN6) + IE 5+
        		document.getElementById("player").innerHTML = strFLV;
    		}else if(document.all){
				// IE 4
        		document.all["player"].innerHTML = strFLV;
    		}
		
		}else if(fileType=="ipx"){
			if(document.layers){
				//NN4+
      	 		document.layers["player"].innerHTML = strIpx;
			}else if(document.getElementById){
				//gecko(NN6) + IE 5+
        		document.getElementById("player").innerHTML = strIpx;
    		}else if(document.all){
				// IE 4
        		document.all["player"].innerHTML = strIpx;
    		}
		}
		}
	}
	
	function changeText(page){
		//set the button state
		
		//what page do i need
		var strPage = page + '_txt.php';
		//run the ajax
	}
//-->