function toggleTag(id){
    
    if($(id).style.display == 'none'){
        $(id).blindDown();
        // blind all other Up
        $$('.taglist').each(function(div){
            if(div.id != id)
                div.blindUp();    
        })
    }else{
        $(id).blindUp();        
    }
}

function repImg(filename,id,width,height){
  if(filename){
    swfobject.embedSWF("uploads/media/"+filename, id, width, height, "9.0.0");
  }
}
