var mY,mX;
var xNN4,xOp7,xOp5or6,xIE4Up,xIE4,xIE5,xMac,xUA=navigator.userAgent.toLowerCase();
if (this.opera){
  xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
  if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
}
else if (document.all && xUA.indexOf('msie')!=-1) {
  xIE4Up=parseInt(navigator.appVersion)>=4;
  xIE4=xUA.indexOf('msie 4')!=-1;
  xIE5=xUA.indexOf('msie 5')!=-1;
}
else if (document.layers) {xNN4=true;}
xMac=xUA.indexOf('mac')!=-1;

function Window_Open(windowName, URL, targetName, windowWidth, windowHeight, windowFeatures)	{
str = 'width=' + windowWidth + ',height=' + windowHeight;
str = str + ",";
str = str + "left=" + (screen.width / 2 - windowWidth / 2) + ",top=" + (screen.height / 2 - windowHeight / 2 - 40);
if (windowFeatures != null)
	str = str + ",";
windowFeatures = str + windowFeatures;
eval(windowName + "=window.open('" + URL + "','" + targetName + "','" + windowFeatures + "')");
}

    var isNav4, isNav6, isIE4;

	function setBrowser()
  {
    if (navigator.appVersion.charAt(0) == "4")
    {
        if (navigator.appName.indexOf("Explorer") >= 0)
        {
            isIE4 = true;
        }
        else
        {
            isNav4 = true;
        }
    }
    else if (navigator.appVersion.charAt(0) > "4")
    {
        isNav6 = true;
    }
}

setBrowser();

function setIdProperty( id, property, value )
{
    if (isNav6)
    {
   
        var styleObject = document.getElementById( id );
        if (styleObject != null)
        {
            styleObject = styleObject.style;
            
            styleObject[ property ] = value;
        }
    }
    else if (isNav4)
    {
        document[id][property] = value;
    }
    else if (isIE4)
    {
         document.all[id].style[property] = value;
    }
}

for (i=1;i<13;i++){
this["b"+i]=false; 
}
function show ( sm ) {
		if(this["b"+sm]){
	     		setIdProperty( "info"+sm , "display", "none" );
			this["b"+sm]=false;
		}
		else{	
			this["b"+sm]=true;                             
			setIdProperty ( "info"+sm , "display", "block" );
		}	
};

isNav4, isNav6, isIE4;

function xGetElementById(e) {
  if(typeof(e)!='string') return e;
  if(document.getElementById) e=document.getElementById(e);
  else if(document.all) e=document.all[e];
  else e=null;
  return e;
}

this.onload = function() { 
}
		 