<!--#include file="../../../inc/cms_class.asp" -->
<%
call cmsInit()
function cmsInit()
	dim fileExts
	if ifstrin(fileExt,".") then fileExts=fileExt else fileExts="."&replace(fileExt,",",",.")
	fileExts=endstr(replace(fileExts,"..","."),",")
	%>
	var sitepath = "<%=sitepath%>";
    var adminpath = "<%=adminpath%>";
    var imageExt= "<%=imageExt%>";
    var imageMaxSize= "<%=ParseSizeLimit(imageMaxSize)%>";
    var imageFormat= "<%=imageFormat%>";
    var compresswidth= "<%=compresswidth%>";
    var compressheight= "<%=compressheight%>";
    var compressquality= "<%=compressquality%>";
    var fileExt= "<%=fileExts%>";
    var fileMaxSize= "<%=ParseSizeLimit(fileMaxSize)%>";
    var fileFormat= "<%=fileFormat%>";    
    var videoExt= "<%=videoExt%>";
    var videoMaxSize= "<%=ParseSizeLimit(videoMaxSize)%>";
    var videoFormat= "<%=videoFormat%>";
<%
end function
%>