var _$=document;

function drpdwnOpen(_39,_3a){
if(curBlock !='')
{
	hideBox(curBlock);
}	
curBlock =_3a;
var _3b=_39;
var _3c=_$.getElementById(_3a);
var _3d=obtainPostitionY(_3b);
var _3e=obtainPostitionX(_3b);
var _3f=_3b.offsetHeight;
_3c.style.left=_3e-1+"px";
_3c.style.top=(_3d+_3f-3)+"px";
_3c.style.display="block";
if((_3e+_$.getElementById(_3a).offsetWidth)>screen.width){
_3e=screen.width-_$.getElementById(_3a).offsetWidth-50;
}
_3c.style.zIndex=1500;
_3c.style.left=_3e-1+"px";
setTimeout("overlayHackLayerForIE(\""+_3a+"\", _$.getElementById(\""+_3a+"\"));",1);
}

function obtainPostitionX(_2e){
var x=0;
while(_2e){
x+=_2e.offsetLeft;
_2e=_2e.offsetParent;
}
return x;
}
function obtainPostitionY(_30){
var y=0;
while(_30){
y+=_30.offsetTop;
_30=_30.offsetParent;
}
return y;
}

function MM_showHideLayers(){
var i,p,v,obj,_4c=MM_showHideLayers.arguments;
for(i=0;i<(_4c.length-2);i+=3){
if((obj=MM_findObj(_4c[i]))!=null){
v=_4c[i+2];
if(obj.style){
obj=obj.style;
v=(v=="show")?"block":"none";
}
obj.display=v;
v=="block"&&_4c[0]!="drpDown"?overlayHackLayerForIE(_4c[0],_$.getElementById(_4c[0])):dissolveOverlayHackForIE();
}
}
}
function overlayHackLayerForIE(_4d,_4e){
overlayHackForIE(_4d,_4e);
}
function overlayHackForIE(_4f,_50){
var _51=_$.getElementById("iframe_div");
if(_51!=null){
var _52=_51.style;
if(_51.getAttribute("container")!=""&&_51.getAttribute("container")!=_4f&&_52.display!="none"){
dissolveOverlayHackForIE();
}
_51.setAttribute("container",_4f);
_51.container=_4f;
_52.display="block";
_52.width=_50.offsetWidth+"px";
_52.height=_50.offsetHeight+"px";
_52.top=obtainPostitionY(_50)+"px";
_52.left=obtainPostitionX(_50)+"px";
if(_$.getElementById(_4f).style.zIndex!=0||_$.getElementById(_4f).style.zIndex!=""){
_52.zIndex=parseInt(_$.getElementById(_4f).style.zIndex)-1;
}else{
_52.zIndex=1000;
}
}
}
function dissolveOverlayHackForIE(){
if(_$.getElementById("iframe_div")){
try{
if(_$.getElementById(_$.getElementById("iframe_div").getAttribute("container"))){
_$.getElementById(_$.getElementById("iframe_div").getAttribute("container")).style.display="none";
}
}
catch(e){
}
_$.getElementById("iframe_div").style.display="none";
}
} 
