﻿function GetQueryStringParam(name)
{
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if(results == null)
	{
		return "";
	}
	else
	{
    		return results[1];
	}
}

function saveBody()
{
	$(".ReplyText").val($("#Editor").val());
	return true;
}

function ShowArticleImage(idF,w,h,t)
{
	var wa = window.open("/ShowFullThumbNail.aspx?id_file=" + idF, "OFCNFullImage", "scrollbars=no,status=yes")
	void(0);
	return false;
}
