<!--
	// 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="322" height="240" 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="322" height="240" 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="322" height="240" autostart="1" showcontrols="1" loop="1"></embed>'
		strMov += 	'</object>'
		
	var strIpx = '<applet code="IpixViewer.class" codebase="java_plugin/files/" name="vidPlayer" width="322" height="240" align="bottom" archive="IpixViewer.jar" id="vidPlayer">'
    	strIpx += '<param name="URL" value="'+fileLoc+'" />'
    	strIpx += '<param name="Warp" value="1" />'
    	strIpx += '<param name="Toolbar" value="yes" />'
    	strIpx += '<param name="SpinSpeed" value="-5" />'
    	strIpx += '<param name="SpinStyle" value="flat" />'
    	strIpx += '<param name="BackgroundColor" value="#3D3F3E" />'
    	strIpx += '<param name="HelpURL" value="help/viewalways_java3_2/index.html" /></applet>'
	
	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
	}
//-->