  DOMAIN = "http://"+window.location.host+"/";
  if(window.location.host=="localhost") DOMAIN = "http://localhost/Webseiten/mjc-baskektball/neu/";

  function show_login(){
   sHeight = $("#login_menue").css("height")=="0px" ? "30px" : "0px";     
   $("#login_menue").animate( { height:sHeight }, { queue:false, duration:"slow" } );
  }    
  function show(id){
    $("#"+id).css("display")=="none" ? $("#"+id).show() : $("#"+id).hide();
  }
	function mlogin(){
   load("inc/httpreq.php","#login_menue","#frm_login");
	}
	function mlogout(){
   load("inc/httpreq.php?logout=1","#login_menue");
	}
	function season(s){ load("set_season="+s,"#teams"); }
  function tab(i){    
    s = arguments[1] ? arguments[1] :"";
    load("tab"+s+"="+i,"#tabreturn"+s);
  }
  tabsjs_first = tabsjs_last = tabsjs_last_o ="";
  function tabjs(o,id){
    if(tabsjs_last) $("#"+tabsjs_last).hide();
    if(!tabsjs_first){ 
      tabsjs_first=tabsjs_last;
      if(tabsjs_first!=id)  $("#tabjs_first").removeClass("on");
    }  
    if(tabsjs_last_o) tabsjs_last_o.parentNode.className="";
    $("#"+id).show();
    o.parentNode.className="on";
    
    tabsjs_last_o = o;
    tabsjs_last = id;
  }  


	function load(sFile){
	 
	 // scriptCharset: "charset='ISO-8859-1'",
	 //contentType: "application/x-www-form-urlencoded; charset='ISO-8859-15'",
   sFile   = sFile.indexOf("/")==-1 ? DOMAIN+"inc/httpreq.php?"+sFile : DOMAIN+sFile; 
	 sReturn = arguments[1] ? arguments[1] : "";
   sForm   = arguments[2] ? arguments[2] : "";
   
	 if(!sReturn){
  	 if(sForm) $.ajax({ type: "POST", url: sFile, data: $(sForm).serialize()});   
     else $.ajax({ type: "GET", url: sFile});   
   }else {
  	 sDivWait="<div class='loading'>Die Daten werden geladen ...</div>";
  	 // $(sReturn).addClass("load");
     if(sForm){
       $.ajax({ type: "POST", url: sFile, data: $(sForm).serialize(),
         beforeSend: function(){ $(sReturn).html(sDivWait); },success: function(msg){ $(sReturn).html(msg);  }
         // ,error: function(){ } 
       });		
     }else {
       $.ajax({ type: "GET", url: sFile,beforeSend: function(){ $(sReturn).html(sDivWait); },
         success: function(msg){ $(sReturn).css("display","none"); $(sReturn).html(msg); $(sReturn).fadeIn("slow");} });
      }
    }
  }

// SUGGEST - Autovervollständigung  
  function suggest(e,obj){        	
    var iKey = getKeyCode(e);
      if(iKey==38 || iKey==40){
        	if(window.event){
            window.event.returnValue = false;
            window.event.keyCode = 0;
          } else e.preventDefault();
        // per Pfeiltasten im Ergebnis hoch und runter navigieren 
          if(iKey==40 && (iElmSel+1<oDivSug.getElementsByTagName("a").length)){ 
            iElmSel++;
          }else if(iKey==38 && iElmSel>0){
            iElmSel--;
          }
        // Hover-Effekt
          oDivSug.getElementsByTagName("a")[iElmSelLast].className=
          oDivSug.getElementsByTagName("a")[iElmSelLast].className.replace(" suggest_hover", "");
          oDivSug.getElementsByTagName("a")[iElmSel].className+=" suggest_hover";          
        iElmSelLast=iElmSel;
      }else if(iKey==13){ // Enter-Taste (13) fügt Auswahl ein
          //s = oDivSug.getElementsByTagName("a")[iElmSel].innerHTML;
          oDivSug.getElementsByTagName("a")[iElmSel].onclick();
          //suggestPaste(s,obj);
      }else{ // Eingabe übergeben und Ergebnisse anzeigen
          //httpRequest(DOMAIN+"include/httpresp.php?return="+oAktivInput.name+sVar,"suggest","POST");
          load("suggest=1&v="+obj.value+"&n="+obj.name+"&f="+obj.form.name,"#suggest");
          iElmSel = -1; // ausgewählte Ergebniszeile
          iElmSelLast = 0; // letzte ausgewählte Ergebniszeile
          aPos = getPos(oAktivInput); // Koordinaten des Textfeldes
          oDivSug.style.top=aPos[3]+"px";
          oDivSug.style.left=aPos[0]+"px";
      }
  }

  function suggestPaste(s,obj){
    oInput = obj ? obj : oAktivInput;
    bSugFocus=false;
    oInput.focus();
    oInput.value=s;
    suggestClose(s);
  }
  function suggestClose(){
    if(!bSugFocus || arguments[0]){ 
      oDivSug.innerHTML="";
      oDivSug.style.display="none";
    }
  }  

  
   function getKeyCode(e){
		var keynum;
		if(window.event) { // IE
			if (!e) e = window.event;
			keynum = e.keyCode;
		} else if(e.which) { // Netscape/Firefox/Opera
		  keynum = e.which;
		}else keynum = 0; 		    
		return keynum;
  }
 

	function l(sFile,sQuery){
		url=DOMAIN+sFile;
		if(sQuery) url+="?"+sQuery;
		url=url.replace("?&","?");
		if(arguments[2])location.replace(url);
		else location.href=url;
	}

	oDivOpen="";
	function down(oDiv){
		if(oDiv.className.match("on"))oDiv.className = oDiv.className.replace("on","");
		else oDiv.className = oDiv.className+"on";
	}
  /* Voting */
    aText= new Array("schlecht","nichts besonderes","ganz ok","gut","wahsinn");
    bStarVote=false;
    sStartText="";
    function vote_mov(o,id){
    	if(bStarVote) return false;
    	iStartLast=no=parseInt(o.id.substr(1,1));
    	for(i=1;i<no+1;i++){
    		document.getElementById("p"+i+"["+id+"]").src=DOMAIN+"Bilder/website/stern-blau.gif";
    	}
      if(!sStartText)sStartText=document.getElementById("votetext["+id+"]").innerHTML;
    	document.getElementById("votetext["+id+"]").innerHTML=aText[no-1];
    }	
    function vote_mou(o,id){
    	if(bStarVote) return false;
      /*
    	iStart = arguments[2];
    	for(i=1;i<iStart;i++){
    		document.getElementById("p"+i+"["+id+"]").src=DOMAIN+"Bilder/website/stern-blau.gif";
    	}
    	for(i=iStart;i<6;i++){
    		document.getElementById("p"+i+"["+id+"]").src=DOMAIN+"Bilder/website/stern-weiss.gif";
    	}      
      */
    	for(i=1;i<6;i++){
    		document.getElementById("p"+i+"["+id+"]").src=DOMAIN+"Bilder/website/stern-weiss.gif";
    	}
    	document.getElementById("votetext["+id+"]").innerHTML=sStartText;
    }
    function vote_onc(o,id){
    	typ = arguments[2] ? arguments[2] : "b";
    	bStarVote=true;
    	no=parseInt(o.id.substr(1,1));
    	$.ajax({ type: "GET", url: DOMAIN+"inc/httpreq.php?vote=1&typ="+typ+"&id="+id+"&stars="+no,
        success: function(msg){ $('#vote_'+typ+''+id).html(msg); } });
    }
    
  
  function bildlink(e){
    
  //url('"+DOMAIN+"img/link.gif')
    $('#bild').css("cursor", "crosshair");
    $('#bild').click(function(e){
      mp = mouse_pos(e);
      // op = get_pos (this);
      op = $('#bild').offset();
      $('body').append('<img id="imglnk" src="'+DOMAIN+'/img/link.gif" style="position:absolute; left:'+mp.left+'px; top:'+mp.top+'px; z-index:1000">');
      // $('#imglnk').css({ top:});      
      (mp.left-op.left);
      (mp.top-op.top);
    });
  }
    
	fbox_typ="";
	fbox_id=0;
	function fbox(sTyp,iId) {
		$(document.body).css({overflow: "hidden"});	
		$('body').append('<div id="jq-overlay"></div><div id="jq-fbox"><div id="jq-fbox-content"><div id="jq-fbox-head"><div id="jq-fbox-title"></div><div id="jq-fbox-close" onclick="fbox_close();"></div></div><div id="fbox_back"></div><div id="jq-fbox-body"><div class="loading">Daten werden geladen..</div></div><div id="fbox_forward"></div><div id="jq-fbox-foot"></div></div></div>');	
    $('#jq-overlay').css({ backgroundColor:	"#000",opacity: 0.8}).fadeIn();
    $('#jq-fbox').show();
    $("#fbox_back").click(function () { fbox_load(fbox_typ,iIdB);});
    $("#fbox_forward").click(function () { fbox_load(fbox_typ,iIdF);});
    $("#jq-fbox-title").html("");
    fbox_rezise();
		$(window).resize(function() { fbox_rezise(); });
		fbox_load(sTyp,iId);
		// $('#jq-overlay,#jq-fbox').click(function() { fbox_close(); });
	}
	function fbox_rezise(){
    var arrPageSizes = ___getPageSize();
    var arrPageScroll = ___getPageScroll();
    var s = arguments[0] ? arguments[0] : "" ;
    
    if(s.width){
      iWB = $('#fbox_back').width()+$('#fbox_forward').width();
      $('#jq-fbox-content').css({width: s.width});
      $('#jq-fbox-body').css({width: (s.width-iWB-20)});
    } 
    
    iHB = $('#jq-fbox-head').height()+$('#jq-fbox-foot').height();
    iHeight = s.height ? s.height : $('#fbox_tmp_content').height();
    iHeight = (iHeight+iHB);
    iHeight = (iHeight+100)>arrPageSizes[3] ? (arrPageSizes[3]-(iHB+100)) : iHeight;
    // iHeight = (arrPageSizes[3]-(iHB+100));
    $('#jq-fbox-body').css({height: iHeight});
    $('#jq-overlay').css({width: arrPageSizes[0],height:		arrPageSizes[1]});
    $('#jq-fbox').css({ top:	(arrPageScroll[1]+20),left:	arrPageScroll[0], height: arrPageSizes[3]});

    $('#fbox_forward').css({ height: iHeight});
    $('#fbox_back').css({ height: iHeight});
    
    // if(document.getElementById('newsyaf')) alert(document.getElementById('newsyaf').offsetHeight)
	}
	function fbox_close() {
    $(document.body).css({overflow: "auto"});
		$('#jq-fbox').remove();
    $('#jq-overlay').fadeOut(function() { $('#jq-overlay').remove(); });
		$('embed, object, select').css({ 'visibility' : 'visible' });
		
		$('#banner_right').show();
	}			
	function fbox_page(){
	 if(arguments[0]=='none'){
      $("#fbox_back").html("");
      $("#fbox_forward").html("");
   }else{
      iIdOn = iIdN = iIdB = iIdF = 0;
      
      for(i in aFboxIds){
        if(iIdOn){ iIdF = aFboxIds[i]; break;}
        else if(fbox_id==aFboxIds[i]) iIdOn = aFboxIds[i];
        else iIdB = aFboxIds[i];
      }
      $("#fbox_back").html((iIdB ? "<img style='margin-left:-140px; ' id='goback' src='"+DOMAIN+"img/back.png'>" : "")).attr("title","Zurück"); //.attr("title",$("a[ref='#n"+iIdF+"']").text())
      $("#fbox_forward").html((iIdF ? "<img style='margin-right:-140px;' id='goforward' src='"+DOMAIN+"img/forward.png'>" : "")).attr("title","Weiter"); //.attr("title",$('#n'+iIdB).text());
      $("#fbox_back").mouseover(function () { $("#goback").attr("src",DOMAIN+"img/back-on.png"); });
      $("#fbox_back").mouseout(function () { $("#goback").attr("src",DOMAIN+"img/back.png"); });
      $("#fbox_forward").mouseover(function () { $("#goforward").attr("src",DOMAIN+"img/forward-on.png"); });
      $("#fbox_forward").mouseout(function () { $("#goforward").attr("src",DOMAIN+"img/forward.png"); }); 
    }
  }  
  function fbox_links(typ){
    aFboxIds = [];
    for (var i = 0; i < document.links.length; ++i){
      oLink = document.links[i];
      if(oLink.rel.substr(0,1)=="n" || oLink.rel.substr(0,1)=="b"){
        iId = oLink.rel.substr(1,oLink.rel.length);
        aFboxIds.push(iId);
        if(typ=="news"){  
          $("#"+oLink.rel).click(function () {
            iId = this.id.substr(1,this.id.length);
            fbox("news",iId); 
          }); 
        }else if(typ=="bild" || typ=="video"){
          oLink.onclick = function () {
            iId = this.rel.substr(1,this.rel.length);
            fbox(typ,iId); 
          };        
        }
        
        $("#"+oLink.rel).css({cursor: "pointer"});
        oLink.href="javascript:void(0)";
      }
    }  
  }
  function fbox_load(sTyp,iId){
  	fbox_id=iId;
  	fbox_typ=sTyp;
  	fbox_foot();
  	fbox_rezise({height:80});
    $('#jq-fbox-body').html("<div class='loading'>Daten werden geladen...</div>");

    switch(fbox_typ){
      case "news": 
        // if(msg=$('#'+sTyp+iId).html()){ $('#jq-fbox-body').html(msg); fbox_rezise(); fbox_page(sTyp,iId); fbox_foot()} else {} fbox_cache(sTyp,iId,msg) 
         $.ajax({ type: "GET", url: DOMAIN+"inc/httpreq.php?newsid="+iId,
          success: function(msg){ $('#jq-fbox-body').html(msg); fbox_rezise(); fbox_page(); fbox_foot(); } });     
        break;
      case "news_blog":
      case "bild_blog":
      case "video_blog":
         a=fbox_typ.split("_");
         $.ajax({ type: "GET", url: DOMAIN+"inc/httpreq.php?comment="+a[0]+"&id="+iId,
          success: function(msg){ $('#jq-fbox-body').html(msg); fbox_rezise(); fbox_page('none'); fbox_foot(); } });     
        break;
      case "bild": 
         $.ajax({ type: "GET", url: DOMAIN+"inc/httpreq.php?blogid="+iId,
          success: function(msg){ $('#jq-fbox-body').html(msg); fbox_rezise(); fbox_page(); fbox_foot(); } });     
        break;        

      case "video": 
         $.ajax({ type: "GET", url: DOMAIN+"inc/httpreq.php?videoid="+iId,
          success: function(msg){ $('#jq-fbox-body').html(msg); fbox_rezise({width:810, height:500}); fbox_foot(); fbox_page(); } });     
        break; 

    }
    $('#banner_right').hide();
  }
	function fbox_foot(){
    $("#jq-fbox-foot").html($("#jq-fbox-foot-tmp").html());
    $("#jq-fbox-foot-tmp").html('&nbsp;'); 
  } 	
  /*function fbox_cache(typ,id,msg){
    $('body').append("<div id='"+typ+id+"' style='display:none'>"+msg+"</div>");
  }*/
  
   /**
	 / THIRD FUNCTION
	 * getPageSize() by quirksmode.com
	 *
	 * @return Array Return an array with page width, height and window width, height
	 */
	function ___getPageSize() {
		var xScroll, yScroll;
		if (window.innerHeight && window.scrollMaxY) {	
			xScroll = window.innerWidth + window.scrollMaxX;
			yScroll = window.innerHeight + window.scrollMaxY;
		} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
			xScroll = document.body.scrollWidth;
			yScroll = document.body.scrollHeight;
		} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
			xScroll = document.body.offsetWidth;
			yScroll = document.body.offsetHeight;
		}
		var windowWidth, windowHeight;
		if (self.innerHeight) {	// all except Explorer
			if(document.documentElement.clientWidth){
				windowWidth = document.documentElement.clientWidth; 
			} else {
				windowWidth = self.innerWidth;
			}
			windowHeight = self.innerHeight;
		} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
			windowWidth = document.documentElement.clientWidth;
			windowHeight = document.documentElement.clientHeight;
		} else if (document.body) { // other Explorers
			windowWidth = document.body.clientWidth;
			windowHeight = document.body.clientHeight;
		}	
		// for small pages with total height less then height of the viewport
		if(yScroll < windowHeight){
			pageHeight = windowHeight;
		} else { 
			pageHeight = yScroll;
		}
		// for small pages with total width less then width of the viewport
		if(xScroll < windowWidth){	
			pageWidth = xScroll;		
		} else {
			pageWidth = windowWidth;
		}
		arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight);
		return arrayPageSize;
	};
	/**
	 / THIRD FUNCTION
	 * getPageScroll() by quirksmode.com
	 *
	 * @return Array Return an array with x,y page scroll values.
	 */
	function ___getPageScroll() {
		var xScroll, yScroll;
		if (self.pageYOffset) {
			yScroll = self.pageYOffset;
			xScroll = self.pageXOffset;
		} else if (document.documentElement && document.documentElement.scrollTop) {	 // Explorer 6 Strict
			yScroll = document.documentElement.scrollTop;
			xScroll = document.documentElement.scrollLeft;
		} else if (document.body) {// all other Explorers
			yScroll = document.body.scrollTop;
			xScroll = document.body.scrollLeft;	
		}
		arrayPageScroll = new Array(xScroll,yScroll);
		return arrayPageScroll;
	};		
	
	
function mouse_pos(evt){
    if(!evt) evt = window.event;
    var pos = {left: evt.clientX, top: evt.clientY};
    var body = (window.document.compatMode && window.document.compatMode == "CSS1Compat") ?
    window.document.documentElement : window.document.body || null;
    if (body)
    {
        pos.left += body.scrollLeft;
        pos.top += body.scrollTop;
    }
    return pos;
}

function addFormObj(sForm,sName,sValue){
	oInput=document.createElement("input");
	oInput.type="hidden";
	oInput.name=sName;	
	oInput.value=sValue;
	document[sForm].appendChild(oInput);		
} 

	function getHTML(id){
		return document.getElementById(id).innerHTML;
	}	
	
	
	var ol_textfont = "'Trebuchet MS', 'Bitstream Vera Sans', Verdana, Arial, 'Lucida Sans', 'Lucida Sans Unicode', Helvetica, sans-serif";
	var ol_fgcolor="#FFFFFF";
	var ol_bgcolor="#0B3F86";
	var ol_textcolor="#000000";
	var ol_close="x";
	var ol_closecolor="#FFFFFF";
	var ol_closeclick=1;
	var ol_textsize="11px";

		function tblfrm_hdn_date(oForm,sName,sType){
			sValue="";
			if(sType!="time"){
				oForm[sName+"J"].value+"-"+oForm[sName+"M"].value+"-"+oForm[sName+"T"].value;
				sJahr  = oForm[sName+"J"].value*1<10 ? "0"+oForm[sName+"J"].value*1 : oForm[sName+"J"].value*1;
				sMonat = oForm[sName+"M"].value*1<10 ? "0"+oForm[sName+"M"].value*1 : oForm[sName+"M"].value*1;
				sTag   = oForm[sName+"T"].value*1<10 ? "0"+oForm[sName+"T"].value*1 : oForm[sName+"T"].value*1;
				if(sJahr!=0 || sMonat!=0 || sTag!=0)	sValue+=sJahr+"-"+sMonat+"-"+sTag;
			}
			if(sType=="datetime" && sValue)sValue+=" ";
			if(sType!="date"){
				oForm[sName+"S"].value+"-"+oForm[sName+"Mi"].value;
				sStd = oForm[sName+"S"].value*1<10 ? "0"+oForm[sName+"S"].value*1 : oForm[sName+"S"].value*1;
				sMin   = oForm[sName+"Mi"].value*1<10 ? "0"+oForm[sName+"Mi"].value*1 : oForm[sName+"Mi"].value*1;
				if(sStd!=0 || sMin!=0) sValue+=sStd+":"+sMin+":00";
			}
			oForm[sName].value=sValue;
		}
		
		function tblfrm_hide(iTableId){
			oTable=document.getElementById(iTableId);
			oTable.style.display = oTable.style.display=="none" ? "" : "none";
		}
		

		function tblfrm_double(oInput,iFloat){
			if(oInput.value.indexOf(",")>-1){
				aValue=oInput.value.split(",");
				if(aValue[1].length>iFloat){
					oInput.value=aValue[0]+","+aValue[1].substr(0,iFloat);
				}
			}
			
		}	

		function tblfrm_key_range(e,oInput,iFloat){
			var keynum;

			if(window.event) { // IE
				keynum = e.keyCode;
			} else if(e.which) { // Netscape/Firefox/Opera
			  keynum = e.which;
			}		
	
			// Pfeiltasten, Entf usw. zulassen
				if((keynum>31 && keynum<47) ||keynum==8 || keynum==9 || keynum==46) return true;
	
			// Nur Zahlen	
				if(e.shiftKey) return false;
				if((keynum<48 || (keynum>57 && keynum<96) || keynum>105)){
				// optinal ein Komma zulassen
					if(iFloat && (keynum == 188 || keynum == 110) && oInput.value.indexOf(",")==-1)
					{	
						return true;
					} else {
						return false;
					}				
				}				
		}
		
function smilie(oTxa,sSmile) {
	oTxa.value += ' ' + sSmile + ' ';
	oTxa.focus();
}		

		function member(sDo,iId){
			switch(sDo){
				case "delverb": 
					l("loginbereich/admin/mitglied-delverb.php","&mid="+iId);					
					break;
				case "edit": 
					l("loginbereich/admin/mitglied-edit.php","&mid="+iId);
					break; 
			}
		}
		
		
  function getPos(oElement){
    var iTop = iLeft = 0;
    oElmTmp = oElement;
    while( oElmTmp != null ) {
      iTop += oElmTmp.offsetTop;
      iLeft += oElmTmp.offsetLeft;
      oElmTmp = oElmTmp.offsetParent;
    }
    iRight = iLeft+oElement.offsetWidth;
    iBottom = iTop+oElement.offsetHeight;  
    return new Array(iLeft,iTop,iRight,iBottom);
  }
				
  function suggestInit(oFrm){ // Funktionen den Textfeldern hinzufügen
    // Suggest-DIV 
      var div1 = document.createElement("div");
      div1.style.position = "absolute";
      div1.style.display = "none";
      div1.id= "suggest";
      document.body.appendChild(div1);
    // Hint-DIV    
      var div2 = div1.cloneNode(true);
      div1.id = "hint";    
      document.body.appendChild(div2);
        
    aSuggest = new Array("txtWohnort","txtStrasse");

    oDivSug = elm("suggest");
    bSugFocus=false;
    oDivSug.onmouseover = function (){ bSugFocus=true; }
    oDivSug.onmouseout = function (){ bSugFocus=false; }

    return;                 
  }				
  
  function elm(element) {
    if (typeof element == "string"){
      element = document.getElementById(element);
    }
    return element;
  }  
  
function flashplayer(typ,id){
	switch(typ){
		case "video":
		/*
			var FO = {	movie:"<?=DOMAIN?>include/flash_player/flvplayer.swf",width:"380",height:"230",majorversion:"7",build:"0",bgcolor:"#FFFFFF",allowfullscreen:"true",
			flashvars:"file=<?=DOMAIN?>include/videos/"+id+".flv&image=<?=DOMAIN?>Bilder/Videos/"+id+"p.jpg&lightcolor=0x78B0FC&backcolor=0x0B3F86&frontcolor=0xF3F3F3" };
			//	flashvars:"file=<?=DOMAIN?>include/loadvid.php?id="+id+".flv&image=<?=DOMAIN?>Bilder/Videos/"+id+"p.jpg&lightcolor=0x78B0FC&backcolor=0x0B3F86&frontcolor=0xF3F3F3" };
			break;
			*/
		case "videogross":
			var FO = {	movie:DOMAIN+"include/flash_player/flvplayer.swf",width:"720",height:"400",majorversion:"7",build:"0",bgcolor:"#FFFFFF",allowfullscreen:"true",
			flashvars:"file="+DOMAIN+"include/videos/"+id+".flv&image="+DOMAIN+"Bilder/Videos/"+id+"p.jpg&lightcolor=0x78B0FC&backcolor=0x0B3F86&frontcolor=0xF3F3F3" };
			break;
		case "playlist":
			var FO = { 	movie:DOMAIN+"include/flash_player/flvplayer.swf",width:"380",height:"280",majorversion:"7",build:"0",bgcolor:"#FFFFFF",allowfullscreen:"true",
			flashvars:"file="+DOMAIN+""+id+"&displayheight=200&lightcolor=0x78B0FC&backcolor=0x0B3F86&frontcolor=0xF3F3F3" };
		break;
	}
	UFO.create(	FO, "vid"+id);

}
