function openImage(id,flag,obj){ if(obj.match('_off')) return ; for(var i=0;i<3;i++){ try{ document.getElementById('img'+i+'_'+id).style.display = 'none'; }catch(e){} } document.getElementById('img'+flag+'_'+id).style.display = 'block'; } function openPopupImage(obj){ for(var i = 0;i',{nodrag:0,bg:bg}); }; img.src = obj.childNodes[i].src.replace('small_',''); } } } var incFlash = 0; function openBAImage(url,w,h){ var bg = window.bg_global(); //w = 1000; //if(h < 800) h = 800; incFlash++; var tmp = ''; tmp += ''; tmp += ''; tmp += ''; tmp += ''; tmp += ''; tmp += ''; tmp += ''; tmp += ''; specialAlert(tmp,{nodrag:1,bg:bg}); } function openFlashImage(obj,w,h){ var col = obj.getElementsByTagName('div'); if(!w) w = 640; if(!h) h = 520; if(col.length > 1){ var body = col.item(1).innerHTML; body = body.replace(/width="?(320|450)"?/gi,'width='+w); body = body.replace(/height="?(260|340)"?/gi,'height='+h); specialAlert(body,{nodrag:1}); } } function sayHello(arr){ var flash = null; if(navigator.appName.indexOf("Microsoft") != -1) { flash = document.getElementById('my_'+incFlash); }else { flash = window.document['my_'+incFlash] } if(flash){ flash.width = arr[0]; flash.height = arr[1]; } }