var i=0; function loadAX(link,layer) { var req = mint.Request(); bs = link.split('?'); if(bs[1]) { bc = bs[1].split('&'); for(i=0;i'; if(type=='img') { if(t.width) { img.width=t.width; img.height=t.height; } html=html+''; document.getElementById("lDiv").style.marginLeft=((winWidth-img.width)/2)+'px'; document.getElementById("lDiv").style.marginTop=((winHeight-img.height)/2)+'px'; } else if(type=='swf') { html=html+'
'; document.getElementById("lDiv").style.marginLeft=((winWidth-t.width)/2)+'px'; document.getElementById("lDiv").style.marginTop=((winHeight-t.height)/2)+'px'; var fo = new FlashObject(t.src, "menu", t.width, t.height, "8.0.0", "#ffffff"); fo.addParam("wmode", "transparent"); fo.addParam("menu", "false"); fo.write("lDivSwf"); } else if(type=='iframe') { document.getElementById("lDiv").style.width=t.width+'px'; document.getElementById("lDiv").style.height=t.height+'px'; if(!t.open) { html=html+'
'; } html=html+'
'; document.getElementById("lDiv").style.marginLeft=((winWidth-t.width)/2)+'px'; document.getElementById("lDiv").style.marginTop=((winHeight-t.height)/2)+'px'; } else if(type=='text') { document.getElementById("lDiv").style.width=t.width+'px'; document.getElementById("lDiv").style.height=t.height+'px'; if(!t.open) { html=html+'
'; } html=html+'
'+t.text+'
'; document.getElementById("lDiv").style.marginLeft=((winWidth-t.width)/2)+'px'; document.getElementById("lDiv").style.marginTop=((winHeight-t.height)/2)+'px'; } html=html+''; document.getElementById("lDiv").innerHTML=html; if(type=='iframe') { get_ax(t.src,'lDivIframe'); } return false; } function boxClose() { document.getElementById("lBoxMax").style.display='none'; document.getElementById("lDiv").style.display='none'; var d = document.getElementById("lBoxMaxA"); var d_lDiv = document.getElementById("lDiv"); var throwawayNode = d.removeChild(d_lDiv); }