1344 1077 1591 1034 1636 1247 1177 1510 1213 1991 1274 1336 1393 1073 1019 1525 1721 1591 1735 1055 1262 1422 1338 1096 1503 1423 1989 1237 1573 1682 1799 1956 1810 1832 1172 1915 1190 1874 1269 1080 1057 1549 1261 1427 1096 1427 1315 1416 1929 1670 1133 1535 1921 1852 1380 1962 1435 1484 1296 1531 1018 1289 1340 1459 1952 1369 1713 1409 1314 1824 1193 1132 1296 1324 1526 1986 1813 1880 1980 1421 1468 1016 1696 1815 1687 1705 1424 1509 1452 1312 1688 1524 1573 1654 1742 1484 1867 1390 1927 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() });