/************************************************|
| Show.kit 2 variables |
| Copyright 2003 Eltima Software |
|************************************************/
var color_schemes_num = 3;
// frame_color, bg_color, header_bg, main_text_bg, second_text_bg, lower_color_1, lower_color_2
color_scheme_0 = new Array('CC0000', 'FFFFFF', 'E3E3E3', 'FFFFFF', 'F1F1F1', 'CC0000', '666666');
color_scheme_1 = new Array('000000', 'FFFFFF', '666666', '660000', 'E2E2E2', '000000', 'CCCCCC');
color_scheme_2 = new Array('FF6600', 'FFFFFF', 'CCCCCC', '003366', '000033', 'FF6600', '000033');
color_schemes = new Array();
for (i = 0; i < color_schemes_num; i++)
{
eval('color_schemes['+i+'] = color_scheme_'+i+';');
}
var css = '';
document.write(css);
/************************************************|
| KLayers 2.97 |
| DHTML Library for Internet Explorer 4.* - 6.*, |
| Netscape 4.* - 7.*, Mozilla, Opera 5.* - 7.* |
| Copyright by Kruglov S. A. (kruglov.ru) 2003 |
|************************************************/
function initKLayers(){
isDOM=document.getElementById?true:false
isOpera=isOpera5=window.opera && isDOM
isOpera6=isOpera && window.print
isOpera7=isOpera && document.readyState
isMSIE=isIE=document.all && document.all.item && !isOpera
isStrict=document.compatMode=='CSS1Compat'
isNN=isNC=navigator.appName=="Netscape"
isNN4=isNC4=isNN && !isDOM
isMozilla=isNN6=isNN && isDOM
if(!isDOM && !isNC && !isMSIE && !isOpera){
KLayers=false
return false
}
pageLeft=0
pageTop=0
KL_imgCount=0
KL_imgArray=new Array()
KL_imageRef="document.images[\""
KL_imagePostfix="\"]"
KL_styleSwitch=".style"
KL_layerPostfix="\"]"
if(isNN4){
KL_layerRef="document.layers[\""
KL_styleSwitch=""
}
if(isMSIE){
KL_layerRef="document.all[\""
}
if(isDOM){
KL_layerRef="document.getElementById(\""
KL_layerPostfix="\")"
}
KLayers=true
return true
}
initKLayers()
// document and window functions:
function KL_getBody(w){
if(!w) w=window
if(isStrict){
return w.document.documentElement
}else{
return w.document.body
}
}
function getWindowLeft(w){
if(!w) w=window
if(isMSIE || isOpera7) return w.screenLeft
if(isNN || isOpera) return w.screenX
}
function getWindowTop(w){
if(!w) w=window
if(isMSIE || isOpera7) return w.screenTop
if(isNN || isOpera) return w.screenY
}
function getWindowWidth(w){
if(!w) w=window
if(isMSIE) return KL_getBody(w).clientWidth
if(isNN || isOpera) return w.innerWidth
}
function getWindowHeight(w){
if(!w) w=window
if(isMSIE) return KL_getBody(w).clientHeight
if(isNN || isOpera) return w.innerHeight
}
function getDocumentWidth(w){
if(!w) w=window
if(isMSIE || isOpera7) return KL_getBody(w).scrollWidth
if(isNN) return w.document.width
if(isOpera) return w.document.body.style.pixelWidth
}
function getDocumentHeight(w){
if(!w) w=window
if(isMSIE || isOpera7) return KL_getBody(w).scrollHeight
if(isNN) return w.document.height
if(isOpera) return w.document.body.style.pixelHeight
}
function getScrollX(w){
if(!w) w=window
if(isMSIE || isOpera7) return KL_getBody(w).scrollLeft
if(isNN || isOpera) return w.pageXOffset
}
function getScrollY(w){
if(!w) w=window
if(isMSIE || isOpera7) return KL_getBody(w).scrollTop
if(isNN || isOpera) return w.pageYOffset
}
function preloadImage(imageFile){
KL_imgArray[KL_imgCount]=new Image()
KL_imgArray[KL_imgCount++].src=imageFile
}
var KL_LAYER=0
var KL_IMAGE=1
function KL_findObject(what,where,type){
var i,j,l,s
var len=eval(where+".length")
for(j=0;jthis.getWidth()-windowWidth) scrollX=this.getWidth()-windowWidth
if(scrollY>this.getHeight()-windowHeight) scrollY=this.getHeight()-windowHeight
if(scrollX<0)scrollX=0
if(scrollY<0)scrollY=0
var top=0
var right=windowWidth
var bottom=windowHeight
var left=0
left=left+scrollX
right=right+scrollX
top=top+scrollY
bottom=bottom+scrollY
this.moveTo(windowLeft-scrollX,windowTop-scrollY)
this.setClip(top,right,bottom,left)
}
KLP.scrollBy=KLP.scrollByOffset=function(windowLeft,windowTop,windowWidth,windowHeight,scrollX,scrollY){
var X=-parseInt(this.css.left)+windowLeft+scrollX
var Y=-parseInt(this.css.top)+windowTop+scrollY
this.scroll(windowLeft,windowTop,windowWidth,windowHeight,X,Y)
}
KLP.scrollByPercentage=function(windowLeft,windowTop,windowWidth,windowHeight,scrollX,scrollY){
var X=(this.getWidth()-windowWidth)*scrollX/100
var Y=(this.getHeight()-windowHeight)*scrollY/100
this.scroll(windowLeft,windowTop,windowWidth,windowHeight,X,Y)
}
KLP.write=function(str){
var o=this.object
if(isNN4){
var d=o.document
d.open()
d.write(str)
d.close()
}else{
o.innerHTML=str
}
}
KLP.add=function(str){
var o=this.object
if(isNN4){
o.document.write(str)
}else{
o.innerHTML+=str
}
}
// class "KImage":
KIP=KImage.prototype
function KImage(name){
this.path=KL_getObjectPath(name,false,KL_IMAGE)
this.object=eval(this.path)
}
KIP.isExist=KIP.exists=function(){
return (this.object)?true:false
}
KIP.getSrc=KIP.src=function(){
return this.object.src
}
KIP.setSrc=KIP.load=function(url){
this.object.src=url
}