
function quickquote(postUsername,postPostid)
{newQuickQuote=(document.all)?document.selection.createRange().text:document.getSelection();if(fetch_object('vB_Editor_QR_textarea').value!='')
{var newlines='\n\n';}
else
{var newlines='';}
if(newQuickQuote!='')
{fetch_object('vB_Editor_QR_textarea').value+=newlines+'[quote='+postUsername+';'+postPostid+']'+newQuickQuote+'[/quote]';}
return true;}
if(!document.all)
{document.captureEvents(Event.MOUSEUP);}