1 ) {
str = $.trim(sx[Math.floor(Math.random()*sx.length)]);
}
sx = str.split(/\s+/);
if ( sx.length != 3 ) {
str = "none";
} else {
key = $.trim(sx[0]);
order = $.trim(sx[1]);
//-- duration
var d = $.trim(sx[2]);
b_n = ( d.substr(0,1) == "n" );
if ( b_n ) {
d = d.substr(1);
}
dura = parseFloat(d);
}
}
//-- validate key
if (!( key in this.handlers )) {
key = "none";
}
//-- validate order
var order_list = [
"all-at-once",
"top-down",
"bottom-up",
"random",
"top-down-c",
"bottom-up-c",
"random-c"
];
if ( $.inArray(order,order_list) == -1 ) {
order = order_list[0];
}
//-- validate dura
if ( key == "none" ) {
dura = 0;
} else {
dura = ( isNaN(dura) ) ? 0 : dura;
if ( b_n ) {
var len = this.jqo_ctar.find(".apsmx-opt-abox");
dura = dura * len;
}
}
//-- setup order
if ( key != "none") {
this.setupOrder(order,dura);
}
//-- complete callback function
if ( this.oncomplete ) {
CPageTimer.timeout(this,function(){
this.b_running = false;
this.oncomplete.call(this.obj);
},( dura ? dura*1000 : 1 ));
}
//-- triggers
CPageCMS.trigger("opt-anim-begin");
CPageTimer.timeout(this,function(){
CPageCMS.trigger("opt-anim-end");
},dura*1000);
//-- execute
this.handlers[key].call(this,key);
},
abort : function() {
if ( this.b_running ) {
this.jqo_ctar.find(".apsmx-opt-abox").stop(true);
}
}
};
CPageCmp.register(COptAnim);
var COptHtml = {
self_type:"html",
init : function() {
return;
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setup);
});
},
getContent : function( px ) {
var content = "";
if ( px.content ) {
if ( px.content[0] == ">" ) {
var key = px.content.substr(1);
var rec = px.jqo.ctar.data("rec");
if ( rec[key] ) { content = rec[key]; }
} else {
content = px.content;
}
}
return content;
},
setup : function() {
COpt.insertCmp({
type:this.self_type,
caller:this,
setup:function( px ) {
var jqo_content = px.jqo.insert.find(".apsmx-content");
if ( jqo_content.length ) {
var content = this.getContent(px);
jqo_content.html(content);
}
}
});
}
};
CPageCmp.register(COptHtml);
var CCmark = {
self_type:"cmark",
init : function() {
CPageCMS.bind("page-bind",this,function(){
if ( !CFlag.isVotable() ) { return; }
CPageCMS.bind("opt-setup",this,this.optSetup);
CPageCMS.bind("opt-internal",this,this.optInternal);
});
},
optSetup : function() {
//-- preload image
var url = CReso.img("cmark.png");
CPageRefCnt.lock();
CPagePreloader.loadImgs([url],this,function(){
CPageRefCnt.unlock();
});
/*
COpt.insertCmp({
type:this.self_type,
caller:this,
setup:function( px ) {
px.jqo.insert
.find(".apsmx-cmark-imgbox")
.css({
background:"url("+CUtil.sq(url)+")",
"background-size":"100% 100%",
});
if ( CFlag.sanim() && px["s-animation"] ) {
px.jqo.insert.addClass(
"apsmx-cmark-"+px["s-animation"]);
}
}
});
*/
},
optInternal : function() {
COpt.jqo_ctar.find(".apsmx-cmark")
.css({
cursor:"pointer"
})
.click(function(e){
e.preventDefault();
e.stopPropagation();
var jqo_abox = $(this)
.parents(".apsmx-opt-abox").eq(0);
var rec = jqo_abox.data("rec");
CPageCMS.trigger("vcheck-click",{
loc:"cmark",
oid:rec.oid,
jqo:jqo_abox
});
})
.keydown(function(e){
var cc = e.which;
if (( cc == 13 ) || ( cc == 32 )) {
e.preventDefault();
$(this).click();
}
});
}
};
CPageCmp.register(CCmark);
var CVmark = {
self_type:"vmark",
init : function() {
if ( !CFlag.showResults() ) { return; }
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setupOpt);
});
},
setupOpt : function() {
//-- create list of voted options
var jqo_aboxes = COpt.jqo_ctar.find(".apsmx-opt-abox");
var jqos = $("#apsmx-does-not-exist");
jqo_aboxes.each(function(){
if ( $(this).data("rec").vmark ) {
jqos = jqos.add($(this));
}
});
//-- vmark image
var url = CReso.img("vmark.png");
CPageRefCnt.lock();
CPagePreloader.loadImgs([url],this,function(){
CPageRefCnt.unlock();
});
//-- insert
COpt.insertCmp({
type:this.self_type,
jqos:jqos,
caller:this,
setup:function( px ) {
px.jqo.insert
.find(".apsmx-vmark-imgbox")
.css({
background:"url("+CUtil.sq(url)+")",
"background-size":"100% 100%"
});
},
sanim:function( px ) {
if ( px["s-animation"] == "radiate" ) {
this.setupRadiate(px);
} else {
CAnim.sanim("opt",px);
}
}
});
//-- mark as "voted"
jqos.addClass("apsmx-ovs-voted");
},
setupRadiate : function( px ) {
this.radiation_delay = px["s-animation-delay"];
px["s-animation-delay"] = null;
var jqo_circle = px.jqo.insert.find(".apsmx-vmark-circle");
//-- radiation-strength, delay, and duration
var num_of_circle = CCfg.int(px,
"s-animation-radiation-strength",1,1,100);
var delay = CCfg.float(this,"radiation_delay",0);
var dura = CCfg.float(px,"s-animation-duration",1);
var gap = dura / num_of_circle;
for( var i=1; i<=num_of_circle; i++ ) {
var sec = (i-1)*gap+delay;
jqo_circle = $("")
.attr("class","apsmx-vmark-circle")
.addClass("apsmx-sa-opt-ready")
.addClass("apsmx-sa-opt-radiate")
.css("animation-delay",sec.toString()+"s")
.insertAfter(jqo_circle);
CAnim.applyParams("s",jqo_circle,px);
}
px["s-animation-delay"] = this.radiation_delay;
}
};
CPageCmp.register(CVmark);
var CVpercent = {
self_type:"vpercent",
init : function() {
if ( !CFlag.showResults() ) { return; }
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setupOpt);
});
},
setupOpt : function() {
COpt.insertCmp({
type:this.self_type,
caller:this,
setup:function( px ) {
var rec = px.jqo.ctar.data("rec");
var jqo_msg = px.jqo.insert.find(".apsmx-vpercent-msg");
var vpercent = rec.vper;
var decimal = ( px.decimal ) ? px.decimal : 0;
vpercent = vpercent.toFixed(decimal);
var content = px.content.replace(/%vpercent%/g,vpercent);
jqo_msg.html(content);
}
});
}
};
CPageCmp.register(CVpercent);
var CVcount = {
self_type:"vcount",
init : function() {
if ( !CFlag.showResults() ) { return; }
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setup);
});
},
setup : function() {
COpt.insertCmp({
type:this.self_type,
caller:this,
setup:function( px ) {
var rec = px.jqo.ctar.data("rec");
var jqo_msg = px.jqo.insert.find(".apsmx-vcount-msg");
var content = px.content.replace(/%vcount%/g,rec.vcnt);
jqo_msg.html(content);
}
});
}
};
CPageCmp.register(CVcount);
var CBgraph = {
self_type:"bgraph",
init : function() {
if ( !CFlag.showResults() ) { return; }
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setup);
});
},
setup : function() {
COpt.insertCmp({
type:this.self_type,
caller:this,
setup:function( px ) {
var rec = px.jqo.ctar.data("rec");
var jqo_bg = px.jqo.insert.find(".apsmx-bgraph-bg");
var jqo_box = jqo_bg.find(".apsmx-bgraph-box");
if (jqo_box.length) {
var vper;
var b_relative = CCfg.yn(px,"relative");
if ( b_relative ) {
var vhighest = COpt.vhighest;
vper = vhighest ? rec.vcnt*100/vhighest : 0;
} else {
vper = rec.vper;
}
if ( vper > 0 ) {
jqo_box.css({width:vper+"%"});
if (!(
CFlag.sanim() &&
CAnim.enabled(px,"s-animation") &&
CUtil.canCssAnim()
)) {
jqo_bg.find(".apsmx-bgraph-inner")
.css({width:"100%"});
}
} else {
jqo_box
.css({
visibility:"hidden",
width:0
})
}
}
},
sanim:function( px ) {
var cls = [];
switch( px["s-animation"] ) {
case "stretchbar":
cls = [".apsmx-bgraph-inner"];
break;
case "bouncebar":
cls = [".apsmx-bgraph-inner",
".apsmx-bgraph-box"];
break;
case "flashbar":
cls = [".apsmx-bgraph-inner",
".apsmx-bgraph-bg"];
break;
}
for( var i=0; i>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CDropOpt = {
init : function() {
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setup);
});
},
setup : function() {
this.total = COpt.len();
this.start();
},
start : function() {
var _this = this;
CPageCMS.bind("square-click",this,function(data){
this.remove(data);
});
},
remove : function( data ) {
var _this = this;
CPageCMS.trigger("opt-removed",data);
data.jqo.fadeOut(300,function(){
$(this).remove();
_this.doRemove();
});
},
doRemove : function() {
CPageCMS.trigger("opt-update",{
no_height_adjust:1,
align:"top"
});
if ( COpt.len() == 0 ) {
this.rebuild();
this.setup();
}
},
rebuild : function() {
CPageCMS.trigger("opt-abort");
CPageCMS.trigger("opt-rebuild");
}
};
CPageCmp.register(CDropOpt);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CGoResults = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
init:this.init_toolbtn,
click:this.click
};
CToolBtn.register("goresults",rec);
CPageCMS.bind("goresults",this,function(){
this.run();
});
});
},
init_toolbtn : function( cfg ) {
return ( CCfg.text(pollcfg.pagecfg,"ptype") != "r" ) &&
CFlag.isNavigable();
},
click : function( cfg ) {
CPageCMS.trigger("goresults");
},
run : function() {
CPageCMS.trigger("pause");
var requ = {
cmd:"goresults"
};
CPollCMS.trigger("wloader-open");
CPoll.callServer( requ, this, function(resp){
CPoll.run( resp );
});
}
};
CPageCmp.register(CGoResults);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CGoVoting = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
init:this.init_toolbtn,
click:this.click
};
CToolBtn.register("govoting",rec);
CPageCMS.bind("govoting",this,function(){
this.goVoting();
});
});
},
init_toolbtn : function( cfg ) {
return ( CCfg.text(pollcfg.pagecfg,"ptype") != "v" ) &&
CFlag.isNavigable();
},
click : function( cfg ) {
CPageCMS.trigger("govoting");
},
goVoting : function() {
CPageCMS.trigger("pause");
var requ = {
cmd:"govoting"
};
CPollCMS.trigger("wloader-open");
CPoll.callServer( requ, this, function(resp){
CPoll.run( resp );
});
}
};
CPageCmp.register(CGoVoting);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CLink = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
click_event:this.click_event,
ready:this.ready,
click:this.click
};
CToolBtn.register("link",rec);
});
},
click_event : function( px, e ) {
//-- do nothing
},
ready : function( px ) {
if ( px.href ) {
px.jqo.insert.attr("href",px.href);
}
if ( px.target ) {
px.jqo.insert.attr("target",px.target);
}
},
click : function( px ) {
//-- do nothing
}
};
CPageCmp.register(CLink);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var COptReAnim = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
click:this.click
};
CToolBtn.register("optreanim",rec);
});
},
click : function() {
pollcfg.pagecfg.opt["e-animation"] =
"fadein top-down 2,"+
"zoom-out random 2,"+
"sway top-down 3,"+
"rotate-x all-at-once 1,"+
"rotate-y top-down 2.5,"+
"rotate-z random-c 2,"+
"bounce-x all-at-once 2.5,"+
"bounce-y top-down 4,"+
"bounce-z all-at-once 2.5,"+
"scroll-up top-down-c 2,"+
"scroll-down bottom-up-c 2,"+
"scroll-left top-down 2,"+
"scroll-right bottom-up 2,"+
"spread all-at-once 1.5";
CPageCMS.trigger("opt-abort");
CPageCMS.trigger("opt-rebuild");
}
};
CPageCmp.register(COptReAnim);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CScript = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
click:this.click
};
CToolBtn.register("script",rec);
});
},
click : function( px ) {
if ( px.code ) { eval(px.code); }
}
};
CPageCmp.register(CScript);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CCircle = this.CCircle = {
self_type:"circle",
init : function() {
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,function(){
this.setup();
});
});
},
setup : function() {
COpt.insertCmp({
type:this.self_type,
html:[this.self_type,"shape"],
caller:this,
setup:function( px ) {
if ( px.content ) {
var jqo_content = px.jqo.insert.find(".apsmx-content");
if ( jqo_content.length ) {
jqo_content.html(px.content);
}
}
}
});
}
};
CPageCmp.register(CCircle);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CSquare = this.CSquare = {
self_type:"square",
init : function() {
CPageCMS.bind("page-bind",this,function(){
CPageCMS.bind("opt-setup",this,this.setup);
});
},
setup : function() {
COpt.insertCmp({
type:this.self_type,
html:[this.self_type,"shape"],
caller:this,
setup:function( px ) {
if ( px.content ) {
var jqo_content = px.jqo.insert.find(".apsmx-content");
if ( jqo_content.length ) {
jqo_content.html(px.content);
}
}
px.jqo.insert
.click(function(e){
e.preventDefault();
e.stopPropagation();
CPageCMS.trigger("tooltip-close-all");
var jqo_abox = $(this).parents(".apsmx-opt-abox");
var rec = jqo_abox.data("rec");
var data = {
oid:rec.oid,
jqo:jqo_abox
};
CPageCMS.trigger("square-click",data);
});
},
complete:function( px ) {
px.jqo.insert
.css({
cursor:"pointer"
});
}
});
}
};
CPageCmp.register(CSquare);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CSpace = {
init : function() {
CPageCMS.bind("page-resource",this,function(){
var rec = {
obj:this,
setup:this.setup
};
CToolBtn.register("space",rec);
});
},
setup : function( px ) {
var w = px.width ? px.width : 0;
px.jqo.insert
.html("")
.css({
visibility:"hidden",
cursor:"default",
"padding":0,
"margin":0,
"min-width":0,
"max-width":"none",
width:w+"px"
});
}
};
CPageCmp.register(CSpace);
/*js
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Ajax Poll Script v4.12
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : admin@phpkobo.com
// ID : APSMX-412
// URL : http://www.phpkobo.com/ajax_poll.php
//
// This software 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; version 2 of the
// License.
//
//==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<==<<<
*/
var CTest = {
init : function() {
CPageCMS.bind("page-bind",this,function(){
var rec = {
obj:this,
show:this.show,
click:this.click
};
CToolBtn.register("test",rec);
});
},
show : function( px ) {
px.jqo.insert.addClass("apsmx-test-blink");
},
click : function() {
CPageCMS.trigger("pause");
var requ = {
cmd:"test",
wid:pollcfg.wid,
pid:pollcfg.pid,
tid:pollcfg.tid,
ext:pollcfg.ext
};
CPollCMS.trigger("wloader-open");
CPoll.callServer( requ, this, function(resp){
CPollCMS.trigger("wloader-close");
CPollCMS.trigger("alert-open",{key:resp.alert});
});
}
};
CPageCmp.register(CTest);
var imports = {CUtil:CUtil,
CCfg:CCfg,
CCmp:CCmp,
CCMS:CCMS,
CRefCnt:CRefCnt,
CTimer:CTimer,
CPreloader:CPreloader,
CWinBind:CWinBind,
CBgSetter:CBgSetter,
CImg:CImg,
CGate:CGate,
CIRList:CIRList,
CAnim:CAnim,
CApp:CApp,
CHost:CHost,
CHostTool:CHostTool,
CPoll:CPoll,
CCfgLoader:CCfgLoader,
CFlag:CFlag,
CAlert:CAlert,
CWloader:CWloader,
CReso:CReso,
CExtFunc:CExtFunc,
CPollInfo:CPollInfo,
CResetBtn:CResetBtn,
CPage:CPage,
CADRes:CADRes,
CPosy:CPosy,
CSlimCol:CSlimCol,
CHtml:CHtml,
CVote:CVote,
CTooltip:CTooltip,
CToolBtn:CToolBtn,
CBgColor:CBgColor,
CBgImg:CBgImg,
CSelCnt:CSelCnt,
CStatus:CStatus,
CVtotal:CVtotal,
CVoteBtn:CVoteBtn,
COpt:COpt,
COptBgColor:COptBgColor,
COptBgImg:COptBgImg,
COptAnim:COptAnim,
COptHtml:COptHtml,
CCmark:CCmark,
CVmark:CVmark,
CVpercent:CVpercent,
CVcount:CVcount,
CBgraph:CBgraph,
CVoteBtn:CVoteBtn,
CAppCmp:CAppCmp,
CAppCMS:CAppCMS,
CHostCmp:CHostCmp,
CHostCMS:CHostCMS,
CPollCmp:CPollCmp,
CPollCMS:CPollCMS,
CPageCmp:CPageCmp,
CPageCMS:CPageCMS,
CPageRefCnt:CPageRefCnt,
CPageTimer:CPageTimer,
CPagePreloader:CPagePreloader,
CPageWinBind:CPageWinBind,
COptRefCnt:COptRefCnt};
CExtFunc.setup(this,imports);
};
};
};
$(document).ready(function(){
CApp.run();
});
};