/* --------------------------------------------------------------------------*/
/* Quickpress Wordpress Plugin written by Marc Thouvenin                     */
/* Version 0.9                                                               */
/*                                                                           */
/* Based on QuickTime Posting WordPress Plugin							     */   
/* Written by Shawn Van Every <vanevery@walking-productions.com>             */
/*                                                                           */
/* Copyright (c) 2007 Shawn Van Every <vanevery@walking-productions.com>     */
/*                                                                           */
/* This program is free software; you can redistribute it and/or             */
/* modify it under the terms of the GNU General Public License               */
/* as published by the Free Software Foundation; either version 2            */
/* of the License, or (at your option) any later version.                    */
/*                                                                           */
/* See file LICENSE for further informations on licensing terms.             */
/*                                                                           */
/* This program is distributed in the hope that it will be useful,           */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of            */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
/* GNU General Public License for more details.                              */
/*                                                                           */
/* You should have received a copy of the GNU General Public License         */
/* along with this program; if not, write to the Free Software Foundation,   */
/* Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           */
/*                                                                           */
/* --------------------------------------------------------------------------*/

function ShowQT(ourTags, qp_id)
{	document.getElementById("qt_mov_"+qp_id).innerHTML = ourTags[qp_id];
	document.getElementById("qp_img_"+qp_id).style.display = "none";
	document.getElementById("qp_hide_"+qp_id).style.display = "inline";
}

function HideQT(ourTags, qp_id)
{	document.getElementById("qt_mov_"+qp_id).innerHTML = "";
	document.getElementById("qp_img_"+qp_id).style.display = "inline";
	document.getElementById("qp_hide_"+qp_id).style.display = "none";
}

function ShowQT_HideImg(ourTags, qp_id)
{	document.getElementById("qp_img_"+qp_id).style.display = "none";
    document.getElementById("qt_mov_"+qp_id).innerHTML = ourTags[qp_id];
}

function writeTags(theTags)
{
    document.write(theTags);
}