
BodyJsExist='YES';
BodyH = getBodyH();
var cP ='';
var string  = self.location.href.split( "/" );
for ( var i =3; i < ( string.length-1 ); i++ )  cP=cP+'../'; 
function getBodyH() {
   if (parseInt(navigator.appVersion)>3) {
     if (navigator.appName=="Netscape") {  return window.innerHeight;}
     if (navigator.appName.indexOf("Microsoft")!=-1) { return document.body.offsetHeight;  }
   } else return 600;
}

//document.body.background-color: #15499C;

function setBodyImg() {
   if (document.body.background=='') {
   //document.body.backgroundColor = "#1549C";
document.body.background = 'http://'+self.location.hostname+'/images/bgLeft3.jpg';             //normal background
   //document.body.bgProperties = "fixed";
   //document.body.style.backgroundRepeat = "no-repeat"
   //document.body.style.backgroundRepeat = "repeat-y"
   //document.body.style.backgroundRepeat = "repeat-x"
document.body.style.backgroundRepeat = "repeat"
   }
}

/*
function setBodyBg() {
   if (document.body.background=='') {
       //document.body.background = BodyImg;
 document.body.backgroundcolor = "#1549C";
 //document.body.background = cP+'images/bgLeft.jpg';
      //document.body.bgProperties = "fixed";
//document.body.style.backgroundRepeat = "no-repeat"
}
*/

//   var eLeft = getRef('leftImg');   
//   if (eLeft) { eLeft.style.height =document.body.scrollHeight; }

function showLeft() {
   document.write('<div id="leftImg" name="leftImg" style="top:0; left:0; z-index:0; background-color:navy; ">');
//   document.write('<div id="leftImg" name="leftImg" style="position:fixed; top:0; left:0; width:140; height:100%; background-image:url('+cP+'images/left.jpg); opacity: 0.5; z-index:0;">');
   document.write('</DIV>');
   //if (document.all||document.getElementById)
   //document.body.leftImg.background="url('images/left.jpg') #D8F0FF right no-repeat fixed"     
}
showLeft();
setBodyImg();
//setBodyBg()  