';
if(text!=null)_l +=text;
_l += '<\/div><\/body><\/html>';
return _l;
}
function __BanerWindow(src,width,height){
if(src=='')return 0;
this.banerWindow=null;
this.banerWindow=null;
this.banerWidth=width;
this.banerHeight=height;
var _mf = __addFlash(src,width,height,'white');
this.baner= __addLayer(width, height, 0, 0, 'visible','absolute',96, 'dic12323re',_mf,'transparent');
this.initWindow = function(){
var left=(screen.width/2)-(this.banerWidth/2);
var top =(screen.height/3)- this.banerHeight;
if(top<=0)top=40;
var conf="menubar=no, toolbar=no, location=no, scrollbars=no, resizable=no, status=no,width="+this.banerWidth+",height="+this.banerHeight+",left="+left+",top="+top;
this.banerWindow=window.open("","_blank",conf);
if (typeof this.banerWindow.blur !="undefined" ) {
this.banerWindow.blur()
}
}
this.showWindow = function (){
this.banerWindow.document.write(this.baner);
this.banerWindow.document.close();
}
this.initWindow();
this.showWindow();
}
function setCookie() {
var date = new Date();
date.setTime(date.getTime()+(4*60*60*1000));
var curCookie = "visit=1; expires=" + date.toGMTString() + "; path=/";
document.cookie = curCookie;
}
function readCookie() {
if (cookieEnabled == false)
return null;
var nameEQ = "visit=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function correctDate() {
var today = new Date();
var todayString = today.getFullYear()+'.';
dm = new String(today.getMonth()+1);
if (dm.length == 1) dm = '0' + dm;
dt = new String(today.getDate());
if (dt.length == 1) dt = '0' + dt;
todayString = todayString + dm + '.' + dt;
var dates = new Array();
dates[0] = "2006.09.10-2006.12.31";
dates[1] = "2006.10.20";
dates[2] = "2006.08.23";
for (var i=0;i