1059 1867 1623 1079 1341 1389 1323 1461 1990 1702 1790 1772 1308 1169 1455 1144 1945 1422 1532 1436 1134 1281 1416 1293 1811 1356 1735 1244 1775 1095 1800 1744 1251 1312 1668 1655 1575 1260 1678 1397 1548 1087 1882 1327 1747 1886 1662 1290 1797 1697 1351 1266 1288 1917 1079 1454 1066 1911 1875 1605 1660 1166 1120 1236 1059 1381 1284 1335 1174 1538 1565 1882 1533 1580 1030 1028 1676 1012 1652 1714 1181 1121 1743 1037 1709 1172 1567 1907 1846 1508 1672 1566 1732 1143 1827 1095 1952 1473 1674 function ugreybox_go(wh){ tmp=wh.attributes.rel.value; //alert("go to" +tmp); var thediv=getobj('ugreyboxtopdiv'); thediv.style.display = "block"; var thediv=getobj('ugreyboxpagebg'); thediv.style.display = "table-cell"; var thediv=getobj('ugreyboxpageIF'); thediv.src= tmp; var thediv=getobj('ugreyboxpageHeadertext'); thediv.innerHTML= wh.innerText ; return false; } function initalizeugreybox(){ //alert(initalizeugreybox); var closeasreload="no"; var ugbas = document.getElementsByTagName("a"); for (i = 0; i < ugbas.length; i++) { if (ugbas[i].attributes.rel) { if(ugbas[i].attributes.rel.value=="gb_page_fs[]"){ var rel = ugbas[i].attributes.rel.value; var href = ugbas[i].attributes.href.value; //ugbas[i].style.color="#ff0000"; ugbas[i].attributes.href.value="javascript:void(null);"; ugbas[i].attributes.rel.value=href; ///////////////////////////////// addEvent(ugbas[i], 'click', function(){ ugreybox_go(this); return false; }); //////////////////////////////// //relcloseasreload if (ugbas[i].attributes.relcloseasreload) { closeasreload="yes"; //alert(1); } } } } //prepare frame var ugbtag=document.createElement('div'); ugbtag.setAttribute("id", "ugreyboxtopdiv"); document.getElementsByTagName('body')[0].appendChild(ugbtag); ugbobj=getobj("ugreyboxtopdiv"); ugbobj.style.height="100%"; ugbobj.style.width="100%"; ugbobj.style.position="fixed"; ugbobj.style.top="0px"; ugbobj.style.left="0px"; ///ugbobj.style.overflow="hidden"; ugbobj.style.zIndex="10000"; ugbobj.style.verticalAlign="middle"; if (closeasreload=="no") { ugbobj.innerHTML='
Header


 
'; } else { ugbobj.innerHTML='
Header


 
'; } ugreybox_hide(); } function ugreybox_hide(){ var thediv=getobj('ugreyboxtopdiv'); thediv.style.display = "none"; var thediv=getobj('ugreyboxpagebg'); thediv.style.display = "none"; return false; } addEvent(window, 'load', function(){ initalizeugreybox() });