var L =""; sL=""; strad=""; z=""; type="";
var GL = new Array(20); LOAD = new Array(); ADV = new Array();
var links = new Array(); banners = new Array(); P="";
var sPath="<script language='javascript' src='"; ePath="'></script>"; DL="RU"; mod="mainpage";
function getParam(sParamName){
var Params = location.search.substring(1).split("&");
var variable = "";
for (var i = 0; i < Params.length; i++){
if (Params[i].split("=")[0] == sParamName){
if (Params[i].split("=").length > 1) variable = Params[i].split("=")[1];
return variable;
}
}
return "";
}
if(getParam("mod")!= '') { mod=getParam("mod");}
L = getCookie("lang");
if (L){L=L} else {L=DL};
document.write(sPath+"config/"+L+"/config.txt"+ePath);
document.write("<small><div align=\"center\"><a href=\"http://cms.wen.su\">Powered by wenCMS</a><br/></div><small>");